# HG changeset patch # User Bram Moolenaar # Date 1642442405 -3600 # Node ID 353b71688c9dd9c39d0100486e8688b9636d97f1 # Parent 63b6436c07ea769bc25ee410008c44dbcf6a1f5d patch 8.2.4121: Visual test fails on MS-Windows Commit: https://github.com/vim/vim/commit/262898ae43fa223916cfa27b0de81e5d9f3fc4b0 Author: Bram Moolenaar Date: Mon Jan 17 17:52:22 2022 +0000 patch 8.2.4121: Visual test fails on MS-Windows Problem: Visual test fails on MS-Windows. Solution: Set 'isprint' so that the character used is not printable. diff --git a/src/testdir/test_visual.vim b/src/testdir/test_visual.vim --- a/src/testdir/test_visual.vim +++ b/src/testdir/test_visual.vim @@ -1280,11 +1280,13 @@ endfunc 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() diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4121, +/**/ 4120, /**/ 4119,