diff src/structs.h @ 17202:4b40e8821f56 v8.1.1600

patch 8.1.1600: cannot specify highlighting for popup window scrollbar commit https://github.com/vim/vim/commit/4cd583c6da08ce2f87e1c07b6490a74bb3c3d0c0 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 26 05:13:57 2019 +0200 patch 8.1.1600: cannot specify highlighting for popup window scrollbar Problem: Cannot specify highlighting for popup window scrollbar. Solution: Add "scrollbarhighlight" and "thumbhighlight" options.
author Bram Moolenaar <Bram@vim.org>
date Wed, 26 Jun 2019 05:15:05 +0200
parents 8581779aa16f
children 11f3cf51d43b
line wrap: on
line diff
--- a/src/structs.h
+++ b/src/structs.h
@@ -2904,6 +2904,8 @@ struct window_S
     int		w_firstline;	    // "firstline" for popup window
     int		w_want_scrollbar;   // when zero don't use a scrollbar
     int		w_has_scrollbar;    // scrollbar displayed
+    char_u	*w_scrollbar_highlight; // "scrollbarhighlight"
+    char_u	*w_thumb_highlight; // "thumbhighlight"
     int		w_popup_padding[4]; // popup padding top/right/bot/left
     int		w_popup_border[4];  // popup border top/right/bot/left
     char_u	*w_border_highlight[4];  // popup border highlight