forked from aniani/vim
patch 7.4.847
Problem: "vi)d" may leave a character behind. Solution: Skip over multi-byte character. (Christian Brabandt)
This commit is contained in:
@@ -3799,7 +3799,7 @@ current_block(oap, count, include, what, other)
|
||||
if (VIsual_active)
|
||||
{
|
||||
if (*p_sel == 'e')
|
||||
++curwin->w_cursor.col;
|
||||
inc(&curwin->w_cursor);
|
||||
if (sol && gchar_cursor() != NUL)
|
||||
inc(&curwin->w_cursor); /* include the line break */
|
||||
VIsual = start_pos;
|
||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
847,
|
||||
/**/
|
||||
846,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user