mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -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)) ||
|
&& hasAnyFolding(wp)) ||
|
||||||
# endif
|
# endif
|
||||||
syntax_check_changed(lnum)))
|
syntax_check_changed(lnum)))
|
||||||
|
#endif
|
||||||
|
#ifdef FEAT_SEARCH_EXTRA
|
||||||
|
/* match in fixed position might need redraw */
|
||||||
|
|| wp->w_match_head != NULL
|
||||||
#endif
|
#endif
|
||||||
)))))
|
)))))
|
||||||
{
|
{
|
||||||
|
@ -728,6 +728,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1203,
|
||||||
/**/
|
/**/
|
||||||
1202,
|
1202,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user