From: Bram Moolenaar Date: Sat, 15 Jun 2013 21:00:30 +0000 (+0200) Subject: updated for version 7.3.1203 X-Git-Tag: v7.3.1203 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ce239b0b167cbbce1fbbaeced2133bcd69ee90e;p=vim updated for version 7.3.1203 Problem: Matches from matchadd() might be highlighted incorrectly when they are at a fixed position and inserting lines. (John Szakmeister) Solution: Redraw all lines below a change if there are highlighted matches. (idea by Christian Brabandt) --- diff --git a/src/screen.c b/src/screen.c index ca1370997..b33a000d7 100644 --- a/src/screen.c +++ b/src/screen.c @@ -1637,6 +1637,10 @@ win_update(wp) && hasAnyFolding(wp)) || # endif syntax_check_changed(lnum))) +#endif +#ifdef FEAT_SEARCH_EXTRA + /* match in fixed position might need redraw */ + || wp->w_match_head != NULL #endif ))))) { diff --git a/src/version.c b/src/version.c index 3f46c2329..d0380a4f1 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1203, /**/ 1202, /**/