blob: 57fb9573fee8c85afa90c6cf9a3e3600ed417c55 [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
21:.w >>test.out
22:set vb
23/^Piece
242]maA:.w >>test.out
25j]maB:.w >>test.out
26]maC:.w >>test.out
27[maD:.w >>test.out
28k2[maE:.w >>test.out
293[maF:.w >>test.out
30]MaG:.w >>test.out
31j2]MaH:.w >>test.out
32]M]MaI:.w >>test.out
332[MaJ:.w >>test.out
34k[MaK:.w >>test.out
353[MaL:.w >>test.out
36:qa!
37ENDTEST
38
39- Bug in "vPPPP" on this text (Webb):
40 {
41 cmd;
42 {
43 cmd; /* <-- Start cursor here */
44 {
45 }
46 }
47 }
48
49Piece 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}