]> granicus.if.org Git - vim/commitdiff
patch 8.1.1601: missing changes to popup window test file v8.1.1601
authorBram Moolenaar <Bram@vim.org>
Wed, 26 Jun 2019 16:04:54 +0000 (18:04 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 26 Jun 2019 16:04:54 +0000 (18:04 +0200)
Problem:    Missing changes to popup window test file.
Solution:   Add those changes.

src/testdir/test_popupwin.vim
src/version.c

index f65abe46e2e72015c47a2f946732eb7008d7386b..e80621b37f8687cfb4a8f9ef9b2c41256a3dc90a 100644 (file)
@@ -1423,6 +1423,8 @@ func Test_popup_scrollbar()
 
   let lines =<< trim END
     call setline(1, range(1, 20))
+    hi ScrollThumb ctermbg=blue
+    hi ScrollBar ctermbg=red
     let winid = popup_create(['one', 'two', 'three', 'four', 'five',
          \ 'six', 'seven', 'eight', 'nine'], {
          \ 'minwidth': 8,
@@ -1449,6 +1451,7 @@ func Test_popup_scrollbar()
   call term_sendkeys(buf, ":call popup_setoptions(winid, {'firstline': 9})\<CR>")
   call VerifyScreenDump(buf, 'Test_popupwin_scroll_4', {})
 
+  call term_sendkeys(buf, ":call popup_setoptions(winid, {'scrollbarhighlight': 'ScrollBar', 'thumbhighlight': 'ScrollThumb'})\<CR>")
   call term_sendkeys(buf, ":call ScrollUp()\<CR>")
   call VerifyScreenDump(buf, 'Test_popupwin_scroll_5', {})
 
index b34071ea3d541ae8d6a4aa1cace597bce230ad1b..55c62dfde804d3057302e9e019d4f4d997300b33 100644 (file)
@@ -777,6 +777,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1601,
 /**/
     1600,
 /**/