diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-06-12 18:18:34 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-06-15 15:51:43 +0200 |
| commit | b8238266e4c6961fbdcc635a86809b5687db99da (patch) | |
| tree | 8157d64e4e47ad4ea1a1407654861c19b8233b32 | |
| parent | d721c953a5e4ff1e456d35c82e5a65d511955561 (diff) | |
| download | vis-b8238266e4c6961fbdcc635a86809b5687db99da.tar.gz vis-b8238266e4c6961fbdcc635a86809b5687db99da.tar.xz | |
view: rename view_cursors_selection_swap
| -rw-r--r-- | main.c | 2 | ||||
| -rw-r--r-- | view.c | 2 | ||||
| -rw-r--r-- | view.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -1661,7 +1661,7 @@ static const char *textobj(Vis *vis, const char *keys, const Arg *arg) { static const char *selection_end(Vis *vis, const char *keys, const Arg *arg) { for (Cursor *c = view_cursors(vis_view(vis)); c; c = view_cursors_next(c)) - view_cursors_selection_swap(c); + view_selections_flip(c); return keys; } @@ -1171,7 +1171,7 @@ void view_selection_clear(Cursor *c) { c->view->need_update = true; } -void view_cursors_selection_swap(Cursor *s) { +void view_selections_flip(Cursor *s) { Mark temp = s->anchor; s->anchor = s->cursor; s->cursor = temp; @@ -203,7 +203,7 @@ void view_selections_clear_all(View*); * .. note:: Has no effect on singleton selections. * @endrst */ -void view_cursors_selection_swap(Cursor*); +void view_selections_flip(Cursor*); /** * @} * @defgroup view_anchor |
