comparison src/window.c @ 15436:29f3d59bb6f0 v8.1.0726

patch 8.1.0726: redrawing specifically for conceal feature commit https://github.com/vim/vim/commit/535d5b653a1eddf49ee11dc9639c5355ef023301 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 11 20:45:36 2019 +0100 patch 8.1.0726: redrawing specifically for conceal feature Problem: Redrawing specifically for conceal feature. Solution: Use generic redrawing methods.
author Bram Moolenaar <Bram@vim.org>
date Fri, 11 Jan 2019 21:00:06 +0100
parents f62d6bd18a49
children 55ccc2d353bd
comparison
equal deleted inserted replaced
15435:739e0917d0b6 15436:29f3d59bb6f0
4175 need_mouse_correct = TRUE; 4175 need_mouse_correct = TRUE;
4176 #endif 4176 #endif
4177 win_enter(wp, TRUE); 4177 win_enter(wp, TRUE);
4178 4178
4179 #ifdef FEAT_CONCEAL 4179 #ifdef FEAT_CONCEAL
4180 /* Conceal cursor line in previous window, unconceal in current window. */ 4180 // Conceal cursor line in previous window, unconceal in current window.
4181 if (win_valid(owp) && owp->w_p_cole > 0 && !msg_scrolled) 4181 if (win_valid(owp) && owp->w_p_cole > 0 && !msg_scrolled)
4182 update_single_line(owp, owp->w_cursor.lnum); 4182 redrawWinline(owp, owp->w_cursor.lnum);
4183 if (curwin->w_p_cole > 0 && !msg_scrolled) 4183 if (curwin->w_p_cole > 0 && !msg_scrolled)
4184 need_cursor_line_redraw = TRUE; 4184 need_cursor_line_redraw = TRUE;
4185 #endif 4185 #endif
4186 } 4186 }
4187 4187