mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.4.405
Problem: Screen updating is slow when using matches. Solution: Do not use the ">=" as in patch 7.4.362, check the lnum.
This commit is contained in:
@@ -3858,7 +3858,7 @@ win_line(wp, lnum, startrow, endrow, nochange)
|
||||
{
|
||||
shl->attr_cur = shl->attr;
|
||||
}
|
||||
else if (v >= (long)shl->endcol)
|
||||
else if (v >= (long)shl->endcol && shl->lnum == lnum)
|
||||
{
|
||||
shl->attr_cur = 0;
|
||||
next_search_hl(wp, shl, lnum, (colnr_T)v, cur);
|
||||
|
Reference in New Issue
Block a user