diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-12-13 20:11:33 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-12-13 20:11:33 +0100 |
commit | 8340dd9b2919299bd5802227fcdf2df706592d41 (patch) | |
tree | 34222e4cabf9d3ee1ab6bb78de02dc0cab9e08ac /src/search.c | |
parent | 2f1e51a43c5e0b7560396898bdb7384550f05481 (diff) | |
download | vim-git-8340dd9b2919299bd5802227fcdf2df706592d41.tar.gz |
updated for version 7.4.547v7.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)
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c index b64b8f6ce..e22109817 100644 --- a/src/search.c +++ b/src/search.c @@ -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 */ |