Patch 8.2.4922

5 views
Skip to first unread message

Bram Moolenaar

unread,
May 8, 2022, 5:50:15 PM5/8/22
to vim...@googlegroups.com

Patch 8.2.4922 (after 8.2.4916)
Problem: Mouse test fails on MS-Windows.
Solution: Set 'mousemodel' to "extend".
Files: src/testdir/test_edit.vim


*** ../vim-8.2.4921/src/testdir/test_edit.vim 2022-05-08 20:38:03.068550496 +0100
--- src/testdir/test_edit.vim 2022-05-08 22:47:24.354826977 +0100
***************
*** 1232,1240 ****
--- 1232,1242 ----
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
*** ../vim-8.2.4921/src/version.c 2022-05-08 22:43:47.490988302 +0100
--- src/version.c 2022-05-08 22:49:25.838740038 +0100
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4922,
/**/

--
Drink wet cement and get really stoned.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages