diff src/testdir/test_popupwin.vim @ 17821:fe92aaf166c1 v8.1.1907

patch 8.1.1907: wrong position for info popup with scrollbar on the left Commit: https://github.com/vim/vim/commit/fe6e7618b4d05cb91679dbf7ed5983c95ff5b6a2 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 21 20:57:20 2019 +0200 patch 8.1.1907: wrong position for info popup with scrollbar on the left Problem: Wrong position for info popup with scrollbar on the left. Solution: Take the scrollbar into account.
author Bram Moolenaar <Bram@vim.org>
date Wed, 21 Aug 2019 21:00:04 +0200
parents e8a7029efa40
children 7e6b7a4f13bc
line wrap: on
line diff
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -2275,6 +2275,11 @@ func Test_popupmenu_info_border()
   call term_sendkeys(buf, "\<C-N>\<C-N>")
   call VerifyScreenDump(buf, 'Test_popupwin_infopopup_4', {})
 
+  " info on the left with scrollbar
+  call term_sendkeys(buf, "test text test text\<C-X>\<C-U>")
+  call term_sendkeys(buf, "\<C-N>\<C-N>")
+  call VerifyScreenDump(buf, 'Test_popupwin_infopopup_5', {})
+
   call StopVimInTerminal(buf)
   call delete('XtestInfoPopup')
 endfunc