mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -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:
parent
3351679948
commit
4ce239b0b1
@ -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
|
||||
)))))
|
||||
{
|
||||
|
@ -728,6 +728,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1203,
|
||||
/**/
|
||||
1202,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user