annotate src/testdir/test14.in @ 68:a97c6902ecd9

updated for version 7.0030
author vimboss
date Tue, 04 Jan 2005 21:38:36 +0000
parents 3fc0f57ecb91
children b63792dadc23
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 Tests for "vaBiB", end could be wrong.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 Also test ":s/pat/sub/" with different ~s in sub.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 Also test for ^Vxff and ^Vo123 in Insert mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 Also test "[m", "]m", "[M" and "]M"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 :so small.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 /Start cursor here
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 vaBiBD:?Bug?,/Piece/-2w! test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 /^- Bug
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 :s/u/~u~/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 :s/i/~u~/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 :s/o/~~~/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 :.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 :if has("ebcdic")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 : let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 :else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 : let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 :endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 :exe "normal " . tt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 :.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 :set vb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 /^Piece
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 2]maA:.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 j]maB:.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 ]maC:.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 [maD:.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 k2[maE:.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 3[maF:.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 ]MaG:.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 j2]MaH:.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 ]M]MaI:.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 2[MaJ:.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 k[MaK:.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 3[MaL:.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 :qa!
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 - Bug in "vPPPP" on this text (Webb):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 cmd;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 cmd; /* <-- Start cursor here */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 Piece of Java
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 tt m1 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 t1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 } e1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 tt m2 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 t2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 } e2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 tt m3 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 if (x)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 t3;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 } e3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 }