To: vim_dev@googlegroups.com Subject: Patch 8.2.4121 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4121 Problem: Visual test fails on MS-Windows. Solution: Set 'isprint' so that the character used is not printable. Files: src/testdir/test_visual.vim *** ../vim-8.2.4120/src/testdir/test_visual.vim 2022-01-17 17:30:17.333810748 +0000 --- src/testdir/test_visual.vim 2022-01-17 17:51:00.104100738 +0000 *************** *** 1280,1290 **** --- 1280,1292 ---- func Test_visual_block_append_invalid_char() " this was going over the end of the line + set isprint=@,161-255 new call setline(1, [' let xxx', 'xxxxxˆ', 'xxxxxxxxxxx']) exe "normal 0\jjA-\" call assert_equal([' - let xxx', 'xxxxx -ˆ', 'xxxxxxxx-xxx'], getline(1, 3)) bwipe! + set isprint& endfunc func Test_visual_reselect_with_count() *** ../vim-8.2.4120/src/version.c 2022-01-17 17:30:17.337810743 +0000 --- src/version.c 2022-01-17 17:51:59.472014188 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4121, /**/ -- `When any government, or any church for that matter, undertakes to say to its subjects, "This you may not read, this you must not see, this you are forbidden to know," the end result is tyranny and oppression no matter how holy the motives' -- Robert A Heinlein, "If this goes on --" /// Bram Moolenaar -- Bram@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 ///