annotate src/testdir/test47.in @ 2403:ce5a380d5144 vim73

Fix: when resetting both 'title' and 'icon' the title would be set after a shell command. Reset 'title' and 'icon' in test47 to avoid the xterm title getting messed up.
author Bram Moolenaar <bram@vim.org>
date Sun, 25 Jul 2010 13:42:29 +0200
parents b63792dadc23
children 64427849c158
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 vertical splits and filler lines in diff mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 :so small.vim
2403
ce5a380d5144 Fix: when resetting both 'title' and 'icon' the title would be set after a
Bram Moolenaar <bram@vim.org>
parents: 1405
diff changeset
5 :" Disable the title to avoid xterm keeping the wrong one.
ce5a380d5144 Fix: when resetting both 'title' and 'icon' the title would be set after a
Bram Moolenaar <bram@vim.org>
parents: 1405
diff changeset
6 :set notitle noicon
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 /^1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 yG:new
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 pkdd:w! Xtest
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 ddGpkkrXoxxx:w! Xtest2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 :file Nop
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 ggoyyyjjjozzzz
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 :vert diffsplit Xtest
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 :vert diffsplit Xtest2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 :" jump to second window for a moment to have filler line appear at start of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 :" first window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 ggpgg:let one = winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 j:let one = one . "-" . winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 j:let one = one . "-" . winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 j:let one = one . "-" . winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 j:let one = one . "-" . winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 j:let one = one . "-" . winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 gg:let two = winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 j:let two = two . "-" . winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 j:let two = two . "-" . winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 j:let two = two . "-" . winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 j:let two = two . "-" . winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 gg:let three = winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 j:let three = three . "-" . winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 j:let three = three . "-" . winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 j:let three = three . "-" . winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 j:let three = three . "-" . winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 j:let three = three . "-" . winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 j:let three = three . "-" . winline()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 :call append("$", one)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 :call append("$", two)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 :call append("$", three)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 :$-2,$w! test.out
1405
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
39 :unlet one two three
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 :qa!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 1 aa
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 2 bb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 3 cc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 4 dd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 5 ee