mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.0131
This commit is contained in:
@@ -4590,6 +4590,7 @@ gui_do_findrepl(flags, find_text, repl_text, down)
|
||||
int type = (flags & FRD_TYPE_MASK);
|
||||
char_u *p;
|
||||
regmatch_T regmatch;
|
||||
int save_did_emsg = did_emsg;
|
||||
|
||||
ga_init2(&ga, 1, 100);
|
||||
if (type == FRD_REPLACEALL)
|
||||
@@ -4666,6 +4667,10 @@ gui_do_findrepl(flags, find_text, repl_text, down)
|
||||
msg_scroll = i; /* don't let an error message set msg_scroll */
|
||||
}
|
||||
|
||||
/* Don't want to pass did_emsg to other code, it may cause disabling
|
||||
* syntax HL if we were busy redrawing. */
|
||||
did_emsg = save_did_emsg;
|
||||
|
||||
if (State & (NORMAL | INSERT))
|
||||
{
|
||||
gui_update_screen(); /* update the screen */
|
||||
|
Reference in New Issue
Block a user