From ceb54c55ad779b08caf7fbb55fb3460d90352a52 Mon Sep 17 00:00:00 2001 From: Florian Walch Date: Sat, 3 Jan 2015 16:01:17 +0100 Subject: vim-patch:7.4.559 Problem: Appending a block in the middle of a tab does not work correctly when virtualedit is set. Solution: Decrement spaces and count, don't reset them. (James McCoy) https://code.google.com/p/vim/source/detail?r=v7-4-559 --- src/nvim/testdir/test39.in | 9 ++++++--- src/nvim/testdir/test39.ok | Bin 514 -> 584 bytes 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src/nvim/testdir') diff --git a/src/nvim/testdir/test39.in b/src/nvim/testdir/test39.in index 7d1c672522..18da1b245a 100644 --- a/src/nvim/testdir/test39.in +++ b/src/nvim/testdir/test39.in @@ -38,11 +38,14 @@ G$khhhhhkkcmno /^C23$/ :exe ":norm! l\j$hhAab\" :.,/^$/w >> test.out -:" Test for Visual block insert when virtualedit=all -:set ve=all +:" Test for Visual block insert when virtualedit=all and utf-8 encoding +:set ve=all enc=utf-8 :/\t\tline :exe ":norm! 07l\jjIx\" -:set ve= +:.,/^$/w >> test.out +:" Test for Visual block append when virtualedit=all +:exe ":norm! 012l\jjAx\" +:set ve= enc=latin1 :.,/^$/w >> test.out :" gUe must uppercase a whole word, also when ß changes to SS Gothe youtußeuu endYpk0wgUe diff --git a/src/nvim/testdir/test39.ok b/src/nvim/testdir/test39.ok index d8e901563a..5c517e2223 100644 Binary files a/src/nvim/testdir/test39.ok and b/src/nvim/testdir/test39.ok differ -- cgit