annotate src/testdir/test15.in @ 7726:f6311c321411 v7.4.1161

commit https://github.com/vim/vim/commit/2faa29f896252073b53f387406109e331fbbe5f8 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 23 23:02:34 2016 +0100 patch 7.4.1161 Problem: ":argadd" without argument is supposed to add the current buffer name to the arglist. Solution: Make it work as documented. (Coot, closes https://github.com/vim/vim/issues/577)
author Christian Brabandt <cb@256bit.org>
date Sat, 23 Jan 2016 23:15:05 +0100
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 Tests for :right on text with embedded TAB.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 Also test formatting a paragraph.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 Also test undo after ":%s" and formatting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 :so small.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 :set tw=65
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 :/^\s*test for :left/,/^\s*test for :center/ left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 :/^\s*test for :center/,/^\s*test for :right/ center
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 :/^\s*test for :right/,/^xxx/-1 right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 :set fo+=tcroql tw=72
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 /xxxxxxxx$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 0gq6kk
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 :set nocp viminfo+=nviminfo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 :" undo/redo here to make the next undo only work on the following changes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 u
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 :map gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 /^aa
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 ggu
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 :?test for :left?,$w! test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 :qa!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 test for :left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 a a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 fa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 dfa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 sdfa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 asdfa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 xasdfa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 asxxdfa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 test for :center
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 a a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 fa afd asdf
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 dfa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 sdfa afd asdf
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 asdfa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 xasdfa asdfasdfasdfasdfasdf
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 asxxdfa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 test for :right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 a a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 fa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 dfa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 sdfa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 asdfa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 xasdfa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 asxxdfa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 asxa;ofa a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 asdfaqwer a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 a ax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 fa ax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 dfa ax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 sdfa ax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 asdfa ax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 xasdfa ax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 asxxdfa ax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 asxa;ofa ax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 asdfaqwer ax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 a axx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 fa axx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 dfa axx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 sdfa axx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 asdfa axx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 xasdfa axx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 asxxdfa axx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 asxa;ofa axx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 asdfaqwer axx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 a axxx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 fa axxx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 dfa axxx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 sdfa axxx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 asdfa axxx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 xasdfa axxx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 asxxdfa axxx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 asxa;ofa axxx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 asdfaqwer axxx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 a axxxo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 fa axxxo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 dfa axxxo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 sdfa axxxo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 asdfa axxxo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 xasdfa axxxo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 asxxdfa axxxo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 asxa;ofa axxxo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 asdfaqwer axxxo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 a axxxoi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 fa axxxoi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 dfa axxxoi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 sdfa axxxoi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 asdfa axxxoi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 xasdfa axxxoi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 asxxdfa axxxoi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 asxa;ofa axxxoi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 asdfaqwer axxxoi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 a axxxoik
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 fa axxxoik
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 dfa axxxoik
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 sdfa axxxoik
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 asdfa axxxoik
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 xasdfa axxxoik
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 asxxdfa axxxoik
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 asxa;ofa axxxoik
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 asdfaqwer axxxoik
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 a axxxoike
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 fa axxxoike
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 dfa axxxoike
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 sdfa axxxoike
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 asdfa axxxoike
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 xasdfa axxxoike
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 asxxdfa axxxoike
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 asxa;ofa axxxoike
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 asdfaqwer axxxoike
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 a axxxoikey
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 fa axxxoikey
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 dfa axxxoikey
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 sdfa axxxoikey
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 asdfa axxxoikey
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 xasdfa axxxoikey
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 asxxdfa axxxoikey
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 asxa;ofa axxxoikey
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 asdfaqwer axxxoikey
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 xxxxx xx xxxxxx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 xxxxxxx xxxxxxxxx xxx xxxx xxxxx xxxxx xxx xx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 xxxxxxxxxxxxxxxxxx xxxxx xxxx, xxxx xxxx xxxx xxxx xxx xx xx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 xx xxxxxxx. xxxx xxxx.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 > xx xx, xxxx xxxx xxx xxxx xxx xxxxx xxx xxx xxxxxxx xxx xxxxx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 > xxxxxx xxxxxxx: xxxx xxxxxxx, xx xxxxxx xxxx xxxxxxxxxx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 aa aa aa aa
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 bb bb bb bb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 cc cc cc cc