]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.4922: mouse test fails on MS-Windows v8.2.4922
authorBram Moolenaar <Bram@vim.org>
Sun, 8 May 2022 21:49:43 +0000 (22:49 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 8 May 2022 21:49:43 +0000 (22:49 +0100)
Problem:    Mouse test fails on MS-Windows.
Solution:   Set 'mousemodel' to "extend".

src/testdir/test_edit.vim
src/version.c

index 8c4d9f2223413d9b2cad3a006f55994f589e550c..f0dd446adaba4e9595b95ed899cba6039736ac5b 100644 (file)
@@ -1232,9 +1232,11 @@ func Test_edit_MOUSE()
   call test_setmouse(4, 3)
   call feedkeys("A\<LeftMouse>\<esc>", 'tnix')
   call assert_equal([0, 27, 2, 0], getpos('.'))
+  set mousemodel=extend
   call test_setmouse(5, 3)
   call feedkeys("A\<RightMouse>\<esc>\<esc>", 'tnix')
   call assert_equal([0, 28, 2, 0], getpos('.'))
+  set mousemodel&
   call cursor(1, 100)
   norm! zt
   " this should move by a screen up, but when the test
index 3183e9655679694f7268b5b54eb3bbfbd64c8f77..9f72d7de231d20a36273e17ef59901dcb8ccec37 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4922,
 /**/
     4921,
 /**/