mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0023
This commit is contained in:
@@ -3599,12 +3599,7 @@ do_sub(eap)
|
||||
}
|
||||
if (cmd[0] == '\\' && cmd[1] != 0) /* skip escaped characters */
|
||||
++cmd;
|
||||
#ifdef FEAT_MBYTE
|
||||
if (has_mbyte)
|
||||
cmd += (*mb_ptr2len_check)(cmd);
|
||||
else
|
||||
#endif
|
||||
++cmd;
|
||||
mb_ptr_adv(cmd);
|
||||
}
|
||||
|
||||
if (!eap->skip)
|
||||
@@ -4498,6 +4493,10 @@ global_exe(cmd)
|
||||
else
|
||||
check_cursor(); /* cursor may be beyond the end of the line */
|
||||
|
||||
/* the cursor may not have moved in the text but a change in a previous
|
||||
* line may move it on the screen */
|
||||
changed_line_abv_curs();
|
||||
|
||||
/* If it looks like no message was written, allow overwriting the
|
||||
* command with the report for number of changes. */
|
||||
if (msg_col == 0 && msg_scrolled == 0)
|
||||
|
Reference in New Issue
Block a user