0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.3.1203

Problem:    Matches from matchadd() might be highlighted incorrectly when they
            are at a fixed position and inserting lines. (John Szakmeister)
Solution:   Redraw all lines below a change if there are highlighted matches.
            (idea by Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2013-06-15 23:00:30 +02:00
parent 3351679948
commit 4ce239b0b1
2 changed files with 6 additions and 0 deletions

View File

@@ -1637,6 +1637,10 @@ win_update(wp)
&& hasAnyFolding(wp)) ||
# endif
syntax_check_changed(lnum)))
#endif
#ifdef FEAT_SEARCH_EXTRA
/* match in fixed position might need redraw */
|| wp->w_match_head != NULL
#endif
)))))
{