diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-08-16 16:28:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-08-16 16:28:36 +0200 |
commit | 5307de0746359098d63053b5fb58dbfb924ce0fd (patch) | |
tree | 87258f7f0ce02ddc43003835aa818bfe944d75bc /src/screen.c | |
parent | 9b8f021d93de3a2a2905d0e46b9f0b6dbb3e12f9 (diff) | |
download | vim-5307de0746359098d63053b5fb58dbfb924ce0fd.zip |
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.
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c index 3ab53d9e2..4c134f0e6 100644 --- a/src/screen.c +++ b/src/screen.c @@ -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); |