annotate src/testdir/test68.in @ 5251:2e63b6c763f7 v7.4b.002

updated for version 7.4b.002 Problem: Crash searching for \%(\%(\|\d\|-\|\.\)*\|\*\). (Marcin Szamotulski) Also for \(\)*. Solution: Do add a state for opening parenthesis, so that we can check if it was added before at the same position.
author Bram Moolenaar <bram@vim.org>
date Thu, 01 Aug 2013 15:45:52 +0200
parents 2b4b6185054f
children b9c1c1f4cda9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2004
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
1 Test for text formatting.
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
2
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
3 Results of test68:
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
4
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
5 STARTTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
6 :so small.vim
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
7 /^{/+1
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
8 :set noai tw=2 fo=t
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
9 gRa b
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
10 ENDTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
11
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
12 {
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
13
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
14
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
15 }
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
16
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
17 STARTTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
18 /^{/+1
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
19 :set ai tw=2 fo=tw
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
20 gqgqjjllab
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
21 ENDTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
22
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
23 {
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
24 a b
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
25
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
26 a
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
27 }
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
28
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
29 STARTTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
30 /^{/+1
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
31 :set tw=3 fo=t
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
32 gqgqo
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
33 a 
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
34 ENDTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
35
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
36 {
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
37 a 
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
38 }
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
39
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
40 STARTTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
41 /^{/+1
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
42 :set tw=2 fo=tcq1 comments=:#
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
43 gqgqjgqgqo
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
44 a b
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
45 #a b
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
46 ENDTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
47
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
48 {
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
49 a b
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
50 #a b
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
51 }
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
52
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
53 STARTTEST
3584
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
54 /^{/+1
3632
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
55 :set tw=5 fo=tcn comments=:#
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
56 A bjA b
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
57 ENDTEST
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
58
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
59 {
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
60 1 a
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
61 # 1 a
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
62 }
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
63
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
64 STARTTEST
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
65 /^{/+1
3584
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
66 :set tw=5 fo=qn comments=:#
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
67 gwap
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
68 ENDTEST
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
69
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
70 {
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
71 # 1 a b
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
72 }
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
73
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
74 STARTTEST
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
75 /^{/+1
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
76 :set tw=5 fo=q2 comments=:#
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
77 gwap
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
78 ENDTEST
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
79
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
80 {
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
81 # x
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
82 # a b
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
83 }
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
84
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
85 STARTTEST
2597
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
86 /^{/+2
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
87 :set tw& fo=a
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
88 I^^
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
89 ENDTEST
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
90
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
91 {
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
92 1aa
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
93 2bb
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
94 }
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
95
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
96 STARTTEST
3705
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
97 /mno pqr/
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
98 :setl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
99 A vwx yz
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
100 ENDTEST
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
101
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
102 /* abc def ghi jkl
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
103 * mno pqr stu
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
104 */
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
105
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
106 STARTTEST
3632
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
107 /^#/
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
108 :setl tw=12 fo=tqnc comments=:#
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
109 A foobar
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
110 ENDTEST
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
111
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
112 # 1 xxxxx
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
113
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
114 STARTTEST
2004
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
115 :g/^STARTTEST/.,/^ENDTEST/d
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
116 :1;/^Results/,$wq! test.out
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
117 ENDTEST