1
0
forked from aniani/vim

updated for version 7.0222

This commit is contained in:
Bram Moolenaar
2006-03-12 22:10:07 +00:00
parent b9a02fc557
commit 1c8f93ff02
2 changed files with 42 additions and 13 deletions

View File

@@ -288,7 +288,7 @@ save_re_pat(idx, pat, magic)
#ifdef FEAT_SEARCH_EXTRA
/* If 'hlsearch' set and search pat changed: need redraw. */
if (p_hls)
redraw_all_later(NOT_VALID);
redraw_all_later(SOME_VALID);
no_hlsearch = FALSE;
#endif
}
@@ -450,7 +450,7 @@ set_last_search_pat(s, idx, magic, setlast)
# ifdef FEAT_SEARCH_EXTRA
/* If 'hlsearch' set and search pat changed: need redraw. */
if (p_hls && idx == last_idx && !no_hlsearch)
redraw_all_later(NOT_VALID);
redraw_all_later(SOME_VALID);
# endif
}
#endif
@@ -1032,7 +1032,7 @@ do_search(oap, dirc, pat, count, options)
*/
if (no_hlsearch && !(options & SEARCH_KEEP))
{
redraw_all_later(NOT_VALID);
redraw_all_later(SOME_VALID);
no_hlsearch = FALSE;
}
#endif