aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-07-31 13:34:27 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-07-31 15:39:12 +0200
commitf38cdb2d38357f8f01a766ea21cb30661a0d99e8 (patch)
treefef5d07b8c47ad3a7c7f9d18e957226cafc53833 /view.h
parent45994302f232fc4b13fde1b85f512f9238d36613 (diff)
downloadvis-f38cdb2d38357f8f01a766ea21cb30661a0d99e8.tar.gz
vis-f38cdb2d38357f8f01a766ea21cb30661a0d99e8.tar.xz
vis: cleanup handling of charwise/linewise motions
Also text objects in visual mode should now work better.
Diffstat (limited to 'view.h')
-rw-r--r--view.h2
1 files changed, 2 insertions, 0 deletions
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*);