vim-patch: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.

https://code.google.com/p/vim/source/detail?r=v7-4-405
This commit is contained in:
Marco Hinz
2014-09-23 16:46:36 +02:00
parent 21f1802b8a
commit 366f358a62
4 changed files with 26 additions and 3 deletions

View File

@@ -2948,7 +2948,7 @@ win_line (
&& v >= (long)shl->startcol
&& v < (long)shl->endcol) {
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);