annotate src/testdir/test39.in @ 4541:80170d61a85c v7.3.1018

updated for version 7.3.1018 Problem: New regexp engine wastes memory. Solution: Allocate prog with actual number of states, not estimated maximum number of sates.
author Bram Moolenaar <bram@vim.org>
date Sat, 25 May 2013 21:18:34 +0200
parents ff77f541d69d
children d06223965468
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
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
22 :" gUe must uppercase a whole word, also when ß changes to SS
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
23 Gothe youtußeuu endYpk0wgUe
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
24 :" gUfx must uppercase until x, inclusive.
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
25 O- youßtußexu -0fogUfx
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
26 :" VU must uppercase a whole line
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
27 YpkVU
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
28 :" same, when it's the last line in the buffer
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
29 YPGi111VUddP
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
30 :" Uppercase two lines
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
31 Oblah di
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
32 doh dutVkUj
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
33 :" Uppercase part of two lines
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
34 ddppi333k0i222fyllvjfuUk
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
35 :/^the/,$w >> test.out
e212d1a40ca9 updated for version 7.1-243
vimboss
parents: 7
diff changeset
36 :qa!
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 abcdefghijklm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 abcdefghijklm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 abcdefghijklm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 abcdefghijklm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 abcdefghijklm