blob: 05c80257b055c02a21bb2e819c219fdff1702b23 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001Tests for "vaBiB", end could be wrong.
2Also test ":s/pat/sub/" with different ~s in sub.
3Also test for ^Vxff and ^Vo123 in Insert mode.
4Also test "[m", "]m", "[M" and "]M"
5
6STARTTEST
7:so small.vim
8/Start cursor here
9vaBiBD:?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
Bram Moolenaar9d2c8c12007-09-25 16:00:00 +000021:unlet tt
Bram Moolenaar071d4272004-06-13 20:20:40 +000022:.w >>test.out
23:set vb
24/^Piece
252]maA:.w >>test.out
26j]maB:.w >>test.out
27]maC:.w >>test.out
28[maD:.w >>test.out
29k2[maE:.w >>test.out
303[maF:.w >>test.out
31]MaG:.w >>test.out
32j2]MaH:.w >>test.out
33]M]MaI:.w >>test.out
342[MaJ:.w >>test.out
35k[MaK:.w >>test.out
363[MaL:.w >>test.out
37:qa!
38ENDTEST
39
40- Bug in "vPPPP" on this text (Webb):
41 {
42 cmd;
43 {
44 cmd; /* <-- Start cursor here */
45 {
46 }
47 }
48 }
49
50Piece of Java
51{
52 tt m1 {
53 t1;
54 } e1
55
56 tt m2 {
57 t2;
58 } e2
59
60 tt m3 {
61 if (x)
62 {
63 t3;
64 }
65 } e3
66}