1
0
forked from aniani/vim

patch 8.1.1741: cleared/added match highlighting not updated in other window

Problem:    Cleared/added match highlighting not updated in other window.
            (Andi Massimino)
Solution:   Mark the right window for refresh.
This commit is contained in:
Bram Moolenaar
2019-07-24 15:28:18 +02:00
parent d08b8c4c04
commit 4ef18dcc2e
5 changed files with 65 additions and 10 deletions

View File

@@ -3850,7 +3850,7 @@ match_add(
prev->next = m;
m->next = cur;
redraw_later(rtype);
redraw_win_later(wp, rtype);
return id;
fail:
@@ -3932,7 +3932,7 @@ clear_matches(win_T *wp)
vim_free(wp->w_match_head);
wp->w_match_head = m;
}
redraw_later(SOME_VALID);
redraw_win_later(wp, SOME_VALID);
}
/*