diff options
| author | Bram Moolenaar <Bram@vim.org> | 2022-05-08 22:49:43 +0100 |
|---|---|---|
| committer | Bram Moolenaar <Bram@vim.org> | 2022-05-08 22:49:43 +0100 |
| commit | b370771bffc8395204f53209b69e35dff95a9237 (patch) | |
| tree | d52c4d99aa5f14f04efc88c25b5271b6c3670151 /src/testdir/test_edit.vim | |
| parent | fe978c2b6bb9d897d962595a4a51dd7a71dc8e89 (diff) | |
| download | vim-git-8.2.4922.tar.gz | |
patch 8.2.4922: mouse test fails on MS-Windowsv8.2.4922
Problem: Mouse test fails on MS-Windows.
Solution: Set 'mousemodel' to "extend".
Diffstat (limited to 'src/testdir/test_edit.vim')
| -rw-r--r-- | src/testdir/test_edit.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test_edit.vim b/src/testdir/test_edit.vim index 8c4d9f222..f0dd446ad 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\<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 |
