EditLine - update caret position using mouse