diff src/structs.h @ 18027:56032a704448 v8.1.2009

patch 8.1.2009: cursorline highlighting not updated in popup window Commit: https://github.com/vim/vim/commit/3d2a3cbce873af861031a01e02694dcfae0c4582 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 8 17:12:01 2019 +0200 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)
author Bram Moolenaar <Bram@vim.org>
date Sun, 08 Sep 2019 17:15:03 +0200
parents 3bcd05fc2d56
children 6650e3dff8d4
line wrap: on
line diff
--- a/src/structs.h
+++ b/src/structs.h
@@ -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