# HG changeset patch # User Bram Moolenaar # Date 1652047203 -7200 # Node ID 7c1a884495e5c8c74e4db1d31a24b67c4bb0e53c # Parent e6bd0275f5a33a33f3487063c87c9cbef3c0c8cf patch 8.2.4922: mouse test fails on MS-Windows Commit: https://github.com/vim/vim/commit/b370771bffc8395204f53209b69e35dff95a9237 Author: Bram Moolenaar 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". diff --git a/src/testdir/test_edit.vim b/src/testdir/test_edit.vim --- 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 --- 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,