0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.1.0726: redrawing specifically for conceal feature

Problem:    Redrawing specifically for conceal feature.
Solution:   Use generic redrawing methods.
This commit is contained in:
Bram Moolenaar
2019-01-11 20:45:36 +01:00
parent 465e8b5985
commit 535d5b653a
8 changed files with 36 additions and 82 deletions

View File

@@ -4177,9 +4177,9 @@ win_goto(win_T *wp)
win_enter(wp, TRUE);
#ifdef FEAT_CONCEAL
/* Conceal cursor line in previous window, unconceal in current window. */
// Conceal cursor line in previous window, unconceal in current window.
if (win_valid(owp) && owp->w_p_cole > 0 && !msg_scrolled)
update_single_line(owp, owp->w_cursor.lnum);
redrawWinline(owp, owp->w_cursor.lnum);
if (curwin->w_p_cole > 0 && !msg_scrolled)
need_cursor_line_redraw = TRUE;
#endif