annotate src/testdir/test69.in @ 4575:626e9ccb7c48 v7.3.1035

updated for version 7.3.1035 Problem: Compiler warning on 64 bit windows. Solution: Add type cast. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Tue, 28 May 2013 22:31:46 +0200
parents eea32254940f
children 3109053ce4e3
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 multi-byte text formatting.
4029
d179a8eff9d7 updated for version 7.3.769
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
2 Also test, that 'mps' with multibyte chars works.
4203
eea32254940f updated for version 7.3.853
Bram Moolenaar <bram@vim.org>
parents: 4029
diff changeset
3 And test "ra" on multi-byte characters.
2004
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 mbyte.vim
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
7 :set encoding=utf-8
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
8 ENDTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
9
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
10 Results of test69:
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
11
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
12 STARTTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
13 /^{/+1
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
14 :set tw=2 fo=t
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
15 gqgqjgqgqo
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
16 XYZ
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
17 abc XYZ
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
18 ENDTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
19
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
20 {
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
21 XYZ
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
22 abc XYZ
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
23 }
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
24
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
25 STARTTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
26 /^{/+1
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
27 :set tw=1 fo=tm
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
28 gqgqjgqgqjgqgqjgqgqjgqgqo
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
29
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
30 Xa
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
31 X a
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
32 XY
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
33 X Y
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
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
38 Xa
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
39 X a
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
40 XY
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
41 X Y
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
42 }
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
43
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
44 STARTTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
45 /^{/+1
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
46 :set tw=2 fo=tm
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
47 gqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
48
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
49 Xa
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
50 X a
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
51 XY
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
52 X Y
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
53 aX
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
54 abX
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
55 abcX
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
56 abX c
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
57 abXY
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
58 ENDTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
59
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
60 {
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
61
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
62 Xa
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
63 X a
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
64 XY
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
65 X Y
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
66 aX
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
67 abX
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
68 abcX
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
69 abX c
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
70 abXY
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
71 }
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
72
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
73 STARTTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
74 /^{/+1
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
75 :set ai tw=2 fo=tm
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
76 gqgqjgqgqo
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
77
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
78 Xa
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
79 ENDTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
80
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
81 {
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
82
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
83 Xa
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
84 }
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
85
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
86 STARTTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
87 /^{/+1
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
88 :set noai tw=2 fo=tm
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
89 gqgqjgqgqo
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
90
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
91 Xa
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
92 ENDTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
93
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
94 {
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
95
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
96 Xa
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
97 }
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
98
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
99 STARTTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
100 /^{/+1
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
101 :set tw=2 fo=cqm comments=n:X
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
102 gqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
103
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
104 Xa
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
105 XaY
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
106 XY
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
107 XYZ
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
108 X Y
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
109 X YZ
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
110 XX
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
111 XXa
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
112 XXY
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
113 ENDTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
114
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
115 {
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
116
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
117 Xa
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
118 XaY
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
119 XY
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
120 XYZ
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
121 X Y
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
122 X YZ
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
123 XX
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
124 XXa
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
125 XXY
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
126 }
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
127
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
128 STARTTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
129 /^{/+1
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
130 :set tw=2 fo=tm
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
131 RXa
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
132 ENDTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
133
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
134 {
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
135
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
136 }
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
137
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
138 STARTTEST
4029
d179a8eff9d7 updated for version 7.3.769
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
139 /^{/+1
d179a8eff9d7 updated for version 7.3.769
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
140 :set mps+=u2018:u2019
d179a8eff9d7 updated for version 7.3.769
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
141 d%
d179a8eff9d7 updated for version 7.3.769
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
142 ENDTEST
d179a8eff9d7 updated for version 7.3.769
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
143
d179a8eff9d7 updated for version 7.3.769
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
144 {
d179a8eff9d7 updated for version 7.3.769
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
145 ‘ two three ’ four
d179a8eff9d7 updated for version 7.3.769
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
146 }
d179a8eff9d7 updated for version 7.3.769
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
147 STARTTEST
4203
eea32254940f updated for version 7.3.853
Bram Moolenaar <bram@vim.org>
parents: 4029
diff changeset
148 /^ra test
eea32254940f updated for version 7.3.853
Bram Moolenaar <bram@vim.org>
parents: 4029
diff changeset
149 jVjra
eea32254940f updated for version 7.3.853
Bram Moolenaar <bram@vim.org>
parents: 4029
diff changeset
150 ENDTEST
eea32254940f updated for version 7.3.853
Bram Moolenaar <bram@vim.org>
parents: 4029
diff changeset
151
eea32254940f updated for version 7.3.853
Bram Moolenaar <bram@vim.org>
parents: 4029
diff changeset
152 ra test
eea32254940f updated for version 7.3.853
Bram Moolenaar <bram@vim.org>
parents: 4029
diff changeset
153 abba
eea32254940f updated for version 7.3.853
Bram Moolenaar <bram@vim.org>
parents: 4029
diff changeset
154 aab
eea32254940f updated for version 7.3.853
Bram Moolenaar <bram@vim.org>
parents: 4029
diff changeset
155
eea32254940f updated for version 7.3.853
Bram Moolenaar <bram@vim.org>
parents: 4029
diff changeset
156 STARTTEST
2004
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
157 :g/^STARTTEST/.,/^ENDTEST/d
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
158 :1;/^Results/,$wq! test.out
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
159 ENDTEST