]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.547 v7.4.547
authorBram Moolenaar <Bram@vim.org>
Sat, 13 Dec 2014 19:11:33 +0000 (20:11 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 13 Dec 2014 19:11:33 +0000 (20:11 +0100)
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)

src/search.c
src/version.c

index b64b8f6ce7931ff7a2c2828e11402f438367e95a..e22109817d8da7aff398d130c971c9e7a0d489aa 100644 (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 */
index 94ba992cb5a79176c0d9bd5d47049fd01f2398fb..7abbfb5915fc43cbe6894f86dfa91baeaea5c278 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    547,
 /**/
     546,
 /**/