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