diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-11-06 11:09:28 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-11-06 11:30:53 +0100 |
| commit | 08ab694b4b8c7a0b6de5033801e3bf53c693a47a (patch) | |
| tree | 8272ceb391e87e83e5dc988ce8f1805267208030 /vis-cmds.c | |
| parent | 7690c6cccc97d2df30d96c7e822bbfcf5118385b (diff) | |
| download | vis-08ab694b4b8c7a0b6de5033801e3bf53c693a47a.tar.gz vis-08ab694b4b8c7a0b6de5033801e3bf53c693a47a.tar.xz | |
vis: fix operators to correctly handle multiple selections
Operators must not switch modes, they might be called multiple
times (once for every cursor/selection).
Closes #91. The concrete problem was that op_change for the
first cursor switched to insert mode, which cleared all the
remaining selections. Hence the other cursors had nothing to
operate on.
Reverts parts of d395687b.
Diffstat (limited to 'vis-cmds.c')
0 files changed, 0 insertions, 0 deletions
