Merged from the latest developing branch.
[MacVim.git] / src / testdir / test14.in
blob05c80257b055c02a21bb2e819c219fdff1702b23
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"
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 :unlet tt
22 :.w >>test.out
23 :set vb
24 /^Piece
25 2]maA\e:.w >>test.out
26 j]maB\e:.w >>test.out
27 ]maC\e:.w >>test.out
28 [maD\e:.w >>test.out
29 k2[maE\e:.w >>test.out
30 3[maF\e:.w >>test.out
31 ]MaG\e:.w >>test.out
32 j2]MaH\e:.w >>test.out
33 ]M]MaI\e:.w >>test.out
34 2[MaJ\e:.w >>test.out
35 k[MaK\e:.w >>test.out
36 3[MaL\e:.w >>test.out
37 :qa!
38 ENDTEST
40 - Bug in "vPPPP" on this text (Webb):
41         {
42                 cmd;
43                 {
44                         cmd;    /* <-- Start cursor here */
45                         {
46                         }
47                 }
48         }
50 Piece of Java
52         tt m1 {
53                 t1;
54         } e1
56         tt m2 {
57                 t2;
58         } e2
60         tt m3 {
61                 if (x)
62                 {
63                         t3;
64                 }
65         } e3