# HG changeset patch # User Bram Moolenaar # Date 1642681804 -3600 # Node ID 0667f71ec3354c8e4f5782df1ff24b0846b29cb0 # Parent baf8b7b6403e8ce2f8c6b196bde4e6f82705a1cc patch 8.2.4152: block insert with double wide character fails Commit: https://github.com/vim/vim/commit/fc6ccebea668c49e9e617e0657421b6a8ed9df1e Author: Bram Moolenaar Date: Thu Jan 20 12:22:35 2022 +0000 patch 8.2.4152: block insert with double wide character fails Problem: Block insert with double wide character fails. Solution: Adjust the expected output. diff --git a/src/testdir/test_utf8.vim b/src/testdir/test_utf8.vim --- a/src/testdir/test_utf8.vim +++ b/src/testdir/test_utf8.vim @@ -8,7 +8,7 @@ func Test_visual_block_insert() new call setline(1, ["aaa", "あああ", "bbb"]) exe ":norm! gg0l\jjIx\" - call assert_equal(['axaa', 'xあああ', 'bxbb'], getline(1, '$')) + call assert_equal(['axaa', ' xあああ', 'bxbb'], getline(1, '$')) bwipeout! endfunc 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 */ /**/ + 4152, +/**/ 4151, /**/ 4150,