comparison src/testdir/test39.in @ 6460:29f5cfca3388 v7.4.559

updated for version 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)
author Bram Moolenaar <bram@vim.org>
date Wed, 17 Dec 2014 18:35:42 +0100
parents e13f8073c9f9
children a287b0e9e87b
comparison
equal deleted inserted replaced
6459:342bbee39831 6460:29f5cfca3388
36 :.,/^$/w >> test.out 36 :.,/^$/w >> test.out
37 :" Test for Visual block was created with the middle <C-v>$ (2) 37 :" Test for Visual block was created with the middle <C-v>$ (2)
38 /^C23$/ 38 /^C23$/
39 :exe ":norm! l\<C-V>j$hhAab\<Esc>" 39 :exe ":norm! l\<C-V>j$hhAab\<Esc>"
40 :.,/^$/w >> test.out 40 :.,/^$/w >> test.out
41 :" Test for Visual block insert when virtualedit=all 41 :" Test for Visual block insert when virtualedit=all and utf-8 encoding
42 :set ve=all 42 :set ve=all enc=utf-8
43 :/\t\tline 43 :/\t\tline
44 :exe ":norm! 07l\<C-V>jjIx\<Esc>" 44 :exe ":norm! 07l\<C-V>jjIx\<Esc>"
45 :set ve= 45 :.,/^$/w >> test.out
46 :" Test for Visual block append when virtualedit=all
47 :exe ":norm! 012l\<C-v>jjAx\<Esc>"
48 :set ve= enc=latin1
46 :.,/^$/w >> test.out 49 :.,/^$/w >> test.out
47 :" gUe must uppercase a whole word, also when ß changes to SS 50 :" gUe must uppercase a whole word, also when ß changes to SS
48 Gothe youtußeuu endYpk0wgUe 51 Gothe youtußeuu endYpk0wgUe
49 :" gUfx must uppercase until x, inclusive. 52 :" gUfx must uppercase until x, inclusive.
50 O- youßtußexu -0fogUfx 53 O- youßtußexu -0fogUfx