0
0
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:
Bram Moolenaar
2014-08-16 16:28:36 +02:00
parent 9b8f021d93
commit 5307de0746
4 changed files with 27 additions and 2 deletions

View File

@@ -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);