0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.2009: cursorline highlighting not updated in popup window

Problem:    Cursorline highlighting not updated in popup window. (Marko
            Mahnič)
Solution:   Check if the cursor position changed. (closes #4912)
This commit is contained in:
Bram Moolenaar
2019-09-08 17:12:01 +02:00
parent 4544bd2f24
commit 3d2a3cbce8
5 changed files with 49 additions and 3 deletions

View File

@@ -3050,6 +3050,8 @@ struct window_S
int w_popup_prop_topline; // w_topline of window with
// w_popup_prop_type when position was
// computed
linenr_T w_popup_last_curline; // last known w_cursor.lnum of window
// with "cursorline" set
callback_T w_close_cb; // popup close callback
callback_T w_filter_cb; // popup filter callback
int w_filter_mode; // mode when filter callback is used