Flipped "expand-to-line" cursor position

The cursor used to be placed at the start of the selection block. The code was updated to mimic SublimeText's style, where the cursor position is placed at the start of the line after the last line in the selection block.