1
0
forked from aniani/vim

updated for version 7.4.547

Problem:    Using "vit" does not select a multi-byte character at the end
            correctly.
Solution:   Advance the cursor over the multi-byte character. (Christian
            Brabandt)
This commit is contained in:
Bram Moolenaar
2014-12-13 20:11:33 +01:00
parent 2f1e51a43c
commit 8340dd9b29
2 changed files with 3 additions and 1 deletions

View File

@@ -3932,7 +3932,7 @@ again:
if (lt(end_pos, start_pos))
curwin->w_cursor = start_pos;
else if (*p_sel == 'e')
++curwin->w_cursor.col;
inc_cursor();
VIsual = start_pos;
VIsual_mode = 'v';
redraw_curbuf_later(INVERTED); /* update the inversion */