changeset 28796:7c1a884495e5 v8.2.4922

patch 8.2.4922: mouse test fails on MS-Windows Commit: https://github.com/vim/vim/commit/b370771bffc8395204f53209b69e35dff95a9237 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 8 22:49:43 2022 +0100 patch 8.2.4922: mouse test fails on MS-Windows Problem: Mouse test fails on MS-Windows. Solution: Set 'mousemodel' to "extend".
author Bram Moolenaar <Bram@vim.org>
date Mon, 09 May 2022 00:00:03 +0200
parents e6bd0275f5a3
children 255df85d2acd
files src/testdir/test_edit.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_edit.vim
+++ b/src/testdir/test_edit.vim
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4922,
+/**/
     4921,
 /**/
     4920,