Add text selection support to vertical cursor movement.