Updates the caret location and selection if mouse button 1 is pressed during the mouse move.
See Implementation
Updates the caret location and selection if mouse button 1 is pressed during the mouse move.