From f38cdb2d38357f8f01a766ea21cb30661a0d99e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 31 Jul 2015 13:34:27 +0200 Subject: vis: cleanup handling of charwise/linewise motions Also text objects in visual mode should now work better. --- view.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view.h') diff --git a/view.h b/view.h index d0e7070..dd28ed9 100644 --- a/view.h +++ b/view.h @@ -148,6 +148,8 @@ void view_cursors_selection_stop(Cursor*); void view_cursors_selection_clear(Cursor*); /* move cursor position from one end of the selection to the other */ void view_cursors_selection_swap(Cursor*); +/* move cursor to the end/boundary of the associated selection */ +void view_cursors_selection_sync(Cursor*); /* get/set the selected region associated with this cursor */ Filerange view_cursors_selection_get(Cursor*); void view_cursors_selection_set(Cursor*, Filerange*); -- cgit v1.2.3