From: Bram Moolenaar Date: Sun, 8 May 2022 21:49:43 +0000 (+0100) Subject: patch 8.2.4922: mouse test fails on MS-Windows X-Git-Tag: v8.2.4922 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b370771bffc8395204f53209b69e35dff95a9237;p=thirdparty%2Fvim.git patch 8.2.4922: mouse test fails on MS-Windows Problem: Mouse test fails on MS-Windows. Solution: Set 'mousemodel' to "extend". --- diff --git a/src/testdir/test_edit.vim b/src/testdir/test_edit.vim index 8c4d9f2223..f0dd446ada 100644 --- 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\\", 'tnix') call assert_equal([0, 27, 2, 0], getpos('.')) + set mousemodel=extend call test_setmouse(5, 3) call feedkeys("A\\\", '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 diff --git a/src/version.c b/src/version.c index 3183e96556..9f72d7de23 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4922, /**/ 4921, /**/