aboutsummaryrefslogtreecommitdiff
path: root/vis-modes.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-06-12 18:19:14 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-06-15 15:51:43 +0200
commit2b472cece9f60b6f3e610ea8a7fc36173557fe0c (patch)
tree155cc2f02428a2a44c1aa909591b43a5bc95fa18 /vis-modes.c
parentb8238266e4c6961fbdcc635a86809b5687db99da (diff)
downloadvis-2b472cece9f60b6f3e610ea8a7fc36173557fe0c.tar.gz
vis-2b472cece9f60b6f3e610ea8a7fc36173557fe0c.tar.xz
view: rename view_cursors_selection_start
Diffstat (limited to 'vis-modes.c')
-rw-r--r--vis-modes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vis-modes.c b/vis-modes.c
index 470c155..87a61a7 100644
--- a/vis-modes.c
+++ b/vis-modes.c
@@ -186,14 +186,14 @@ static void vis_mode_operator_input(Vis *vis, const char *str, size_t len) {
static void vis_mode_visual_enter(Vis *vis, Mode *old) {
if (!old->visual) {
for (Cursor *c = view_cursors(vis->win->view); c; c = view_cursors_next(c))
- view_cursors_selection_start(c);
+ view_selections_anchor(c);
}
}
static void vis_mode_visual_line_enter(Vis *vis, Mode *old) {
if (!old->visual) {
for (Cursor *c = view_cursors(vis->win->view); c; c = view_cursors_next(c))
- view_cursors_selection_start(c);
+ view_selections_anchor(c);
}
if (!vis->action.op)
vis_motion(vis, VIS_MOVE_NOP);