blob: 35bb9f260534d7c55b135359abc40f86ca5003e8 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001Tests for vertical splits and filler lines in diff mode
2
3STARTTEST
4:so small.vim
5/^1
6yG:new
7pkdd:w! Xtest
8ddGpkkrXoxxx:w! Xtest2
9:file Nop
10ggoyyyjjjozzzz
11:vert diffsplit Xtest
12:vert diffsplit Xtest2
13:" jump to second window for a moment to have filler line appear at start of
14:" first window
15ggpgg:let one = winline()
16j:let one = one . "-" . winline()
17j:let one = one . "-" . winline()
18j:let one = one . "-" . winline()
19j:let one = one . "-" . winline()
20j:let one = one . "-" . winline()
21gg:let two = winline()
22j:let two = two . "-" . winline()
23j:let two = two . "-" . winline()
24j:let two = two . "-" . winline()
25j:let two = two . "-" . winline()
26gg:let three = winline()
27j:let three = three . "-" . winline()
28j:let three = three . "-" . winline()
29j:let three = three . "-" . winline()
30j:let three = three . "-" . winline()
31j:let three = three . "-" . winline()
32j:let three = three . "-" . winline()
33:call append("$", one)
34:call append("$", two)
35:call append("$", three)
36:$-2,$w! test.out
37:qa!
38ENDTEST
39
401 aa
412 bb
423 cc
434 dd
445 ee