commit | 5307de0746359098d63053b5fb58dbfb924ce0fd | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Aug 16 16:28:36 2014 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Aug 16 16:28:36 2014 +0200 |
tree | 87258f7f0ce02ddc43003835aa818bfe944d75bc | |
parent | 9b8f021d93de3a2a2905d0e46b9f0b6dbb3e12f9 [diff] [blame] |
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.
diff --git a/src/screen.c b/src/screen.c index 3ab53d9..4c134f0 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -3858,7 +3858,7 @@ { 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);