summaryrefslogtreecommitdiff
path: root/src/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-12-17 18:35:42 +0100
committerBram Moolenaar <Bram@vim.org>2014-12-17 18:35:42 +0100
commitfc3f23bedfc848cd77f97c62bf4f39a01d46994e (patch)
treef96f2b403fd9c97130302e8e0db9db4b2411e130 /src/testdir
parent527a6785c73306ff72d83cbc2d1ea14f37aca142 (diff)
downloadvim-git-fc3f23bedfc848cd77f97c62bf4f39a01d46994e.tar.gz
updated for version 7.4.559v7.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)
Diffstat (limited to 'src/testdir')
-rw-r--r--src/testdir/test39.in9
-rw-r--r--src/testdir/test39.okbin514 -> 584 bytes
2 files changed, 6 insertions, 3 deletions
diff --git a/src/testdir/test39.in b/src/testdir/test39.in
index 410dea61a..c4e46fff2 100644
--- a/src/testdir/test39.in
+++ b/src/testdir/test39.in
@@ -38,11 +38,14 @@ G$khhhhhkkcmno
/^C23$/
:exe ":norm! l\<C-V>j$hhAab\<Esc>"
:.,/^$/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\<C-V>jjIx\<Esc>"
-:set ve=
+:.,/^$/w >> test.out
+:" Test for Visual block append when virtualedit=all
+:exe ":norm! 012l\<C-v>jjAx\<Esc>"
+: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/testdir/test39.ok b/src/testdir/test39.ok
index d8e901563..5c517e222 100644
--- a/src/testdir/test39.ok
+++ b/src/testdir/test39.ok
Binary files differ