annotate src/testdir/test39.in @ 5971:1dbcb23ae7a8 v7.4.326

updated for version 7.4.326 Problem: Can't build Tiny version. (Elimar Riesebieter) Solution: Add #ifdef.
author Bram Moolenaar <bram@vim.org>
date Sat, 14 Jun 2014 12:53:33 +0200
parents 420fd9cb86d5
children 3f92ef156c66
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 Test Visual block mode commands
1528
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
3 And test "U" in Visual mode, also on German sharp S.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 :so small.vim
1528
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
7 :so mbyte.vim
1537
ff77f541d69d updated for version 7.1-252
vimboss
parents: 1528
diff changeset
8 :" This only works when 'encoding' is "latin1", don't depend on the environment
ff77f541d69d updated for version 7.1-252
vimboss
parents: 1528
diff changeset
9 :set enc=latin1
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 /^abcde
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 :" Test shift-right of a block
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 jlllljj>wlljlll>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 :" Test shift-left of a block
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 G$hhhhkk<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 :" Test block-insert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 GklkkkIxyz
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 :" Test block-replace
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 Gllllkkklllrq
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 :" Test block-change
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 G$khhhhhkkcmno
1528
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
21 :$-4,$w! test.out
5471
70c3289803b3 updated for version 7.4.085
Bram Moolenaar <bram@vim.org>
parents: 5428
diff changeset
22 :" Test block-insert using cursor keys for movement
70c3289803b3 updated for version 7.4.085
Bram Moolenaar <bram@vim.org>
parents: 5428
diff changeset
23 /^aaaa/
70c3289803b3 updated for version 7.4.085
Bram Moolenaar <bram@vim.org>
parents: 5428
diff changeset
24 :exe ":norm! l\<C-V>jjjlllI\<Right>\<Right> \<Esc>"
70c3289803b3 updated for version 7.4.085
Bram Moolenaar <bram@vim.org>
parents: 5428
diff changeset
25 :/^aa/,/^$/w >> test.out
5500
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
26 :" Test for Visual block was created with the last <C-v>$
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
27 /^A23$/
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
28 :exe ":norm! l\<C-V>j$Aab\<Esc>"
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
29 :.,/^$/w >> test.out
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
30 :" Test for Visual block was created with the middle <C-v>$ (1)
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
31 /^B23$/
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
32 :exe ":norm! l\<C-V>j$hAab\<Esc>"
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
33 :.,/^$/w >> test.out
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
34 :" Test for Visual block was created with the middle <C-v>$ (2)
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
35 /^C23$/
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
36 :exe ":norm! l\<C-V>j$hhAab\<Esc>"
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
37 :.,/^$/w >> test.out
5730
420fd9cb86d5 updated for version 7.4.210
Bram Moolenaar <bram@vim.org>
parents: 5600
diff changeset
38 :" Test for Visual block insert when virtualedit=all
420fd9cb86d5 updated for version 7.4.210
Bram Moolenaar <bram@vim.org>
parents: 5600
diff changeset
39 :set ve=all
420fd9cb86d5 updated for version 7.4.210
Bram Moolenaar <bram@vim.org>
parents: 5600
diff changeset
40 :/\t\tline
420fd9cb86d5 updated for version 7.4.210
Bram Moolenaar <bram@vim.org>
parents: 5600
diff changeset
41 :exe ":norm! 07l\<C-V>jjIx\<Esc>"
420fd9cb86d5 updated for version 7.4.210
Bram Moolenaar <bram@vim.org>
parents: 5600
diff changeset
42 :set ve=
420fd9cb86d5 updated for version 7.4.210
Bram Moolenaar <bram@vim.org>
parents: 5600
diff changeset
43 :.,/^$/w >> test.out
1528
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
44 :" gUe must uppercase a whole word, also when ß changes to SS
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
45 Gothe youtußeuu endYpk0wgUe
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
46 :" gUfx must uppercase until x, inclusive.
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
47 O- youßtußexu -0fogUfx
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
48 :" VU must uppercase a whole line
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
49 YpkVU
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
50 :" same, when it's the last line in the buffer
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
51 YPGi111VUddP
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
52 :" Uppercase two lines
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
53 Oblah di
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
54 doh dutVkUj
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
55 :" Uppercase part of two lines
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
56 ddppi333k0i222fyllvjfuUk
5428
d06223965468 updated for version 7.4.064
Bram Moolenaar <bram@vim.org>
parents: 1537
diff changeset
57 :" visual replace using Enter or NL
d06223965468 updated for version 7.4.064
Bram Moolenaar <bram@vim.org>
parents: 1537
diff changeset
58 G3o1234567892k05l2jr G3o987652k02l2jr
d06223965468 updated for version 7.4.064
Bram Moolenaar <bram@vim.org>
parents: 1537
diff changeset
59 G3o1234567892k05l2jr
d06223965468 updated for version 7.4.064
Bram Moolenaar <bram@vim.org>
parents: 1537
diff changeset
60 G3o987652k02l2jr
5600
d289f2167d70 updated for version 7.4.147
Bram Moolenaar <bram@vim.org>
parents: 5500
diff changeset
61 :"
d289f2167d70 updated for version 7.4.147
Bram Moolenaar <bram@vim.org>
parents: 5500
diff changeset
62 :" Test cursor position. When ve=block and Visual block mode and $gj
d289f2167d70 updated for version 7.4.147
Bram Moolenaar <bram@vim.org>
parents: 5500
diff changeset
63 :set ve=block
d289f2167d70 updated for version 7.4.147
Bram Moolenaar <bram@vim.org>
parents: 5500
diff changeset
64 :exe ":norm! 2k\<C-V>$gj\<Esc>"
d289f2167d70 updated for version 7.4.147
Bram Moolenaar <bram@vim.org>
parents: 5500
diff changeset
65 :let cpos=getpos("'>")
d289f2167d70 updated for version 7.4.147
Bram Moolenaar <bram@vim.org>
parents: 5500
diff changeset
66 :$put ='col:'.cpos[2].' off:'.cpos[3]
1528
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
67 :/^the/,$w >> test.out
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
68 :qa!
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70
5730
420fd9cb86d5 updated for version 7.4.210
Bram Moolenaar <bram@vim.org>
parents: 5600
diff changeset
71 line1
420fd9cb86d5 updated for version 7.4.210
Bram Moolenaar <bram@vim.org>
parents: 5600
diff changeset
72 line2
420fd9cb86d5 updated for version 7.4.210
Bram Moolenaar <bram@vim.org>
parents: 5600
diff changeset
73 line3
420fd9cb86d5 updated for version 7.4.210
Bram Moolenaar <bram@vim.org>
parents: 5600
diff changeset
74
5471
70c3289803b3 updated for version 7.4.085
Bram Moolenaar <bram@vim.org>
parents: 5428
diff changeset
75 aaaaaa
70c3289803b3 updated for version 7.4.085
Bram Moolenaar <bram@vim.org>
parents: 5428
diff changeset
76 bbbbbb
70c3289803b3 updated for version 7.4.085
Bram Moolenaar <bram@vim.org>
parents: 5428
diff changeset
77 cccccc
70c3289803b3 updated for version 7.4.085
Bram Moolenaar <bram@vim.org>
parents: 5428
diff changeset
78 dddddd
70c3289803b3 updated for version 7.4.085
Bram Moolenaar <bram@vim.org>
parents: 5428
diff changeset
79
5500
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
80 A23
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
81 4567
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
82
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
83 B23
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
84 4567
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
85
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
86 C23
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
87 4567
8451f643a13e updated for version 7.4.099
Bram Moolenaar <bram@vim.org>
parents: 5471
diff changeset
88
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 abcdefghijklm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 abcdefghijklm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 abcdefghijklm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 abcdefghijklm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 abcdefghijklm