0
0
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:
Bram Moolenaar
2005-08-16 23:01:50 +00:00
parent ae5bce1c12
commit 5b8d8fdb52
66 changed files with 1764 additions and 589 deletions

View File

@@ -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 */