Mercurial > vim
annotate src/testdir/test47.in @ 5722:7e826028d399 v7.4.206
updated for version 7.4.206
Problem: Compiler warnings on 64 bit Windows.
Solution: Add type casts. (Mike Williams)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 19 Mar 2014 12:37:22 +0100 |
parents | 64427849c158 |
children | cfd9a2befd67 |
rev | line source |
---|---|
7 | 1 Tests for vertical splits and filler lines in diff mode |
2 | |
3 STARTTEST | |
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 | 7 /^1 |
8 yG:new | |
9 pkdd:w! Xtest | |
10 ddGpkkrXoxxx:w! Xtest2 | |
11 :file Nop | |
12 ggoyyyjjjozzzz | |
13 :vert diffsplit Xtest | |
14 :vert diffsplit Xtest2 | |
15 :" jump to second window for a moment to have filler line appear at start of | |
16 :" first window | |
17 ggpgg:let one = winline() | |
18 j:let one = one . "-" . winline() | |
19 j:let one = one . "-" . winline() | |
20 j:let one = one . "-" . winline() | |
21 j:let one = one . "-" . winline() | |
22 j:let one = one . "-" . winline() | |
23 gg:let two = winline() | |
24 j:let two = two . "-" . winline() | |
25 j:let two = two . "-" . winline() | |
26 j:let two = two . "-" . winline() | |
27 j:let two = two . "-" . winline() | |
28 gg:let three = winline() | |
29 j:let three = three . "-" . winline() | |
30 j:let three = three . "-" . winline() | |
31 j:let three = three . "-" . winline() | |
32 j:let three = three . "-" . winline() | |
33 j:let three = three . "-" . winline() | |
34 j:let three = three . "-" . winline() | |
35 :call append("$", one) | |
36 :call append("$", two) | |
37 :call append("$", three) | |
38 :$-2,$w! test.out | |
3904 | 39 :" Test that diffing shows correct filler lines |
40 :diffoff! | |
41 :windo :bw! | |
42 :enew | |
43 :put =range(4,10) | |
44 :1d _ | |
45 :vnew | |
46 :put =range(1,10) | |
47 :1d _ | |
48 :windo :diffthis | |
49 :wincmd h | |
50 :let w0=line('w0') | |
51 :enew | |
52 :put =w0 | |
53 :.w >> test.out | |
54 :unlet! one two three w0 | |
7 | 55 :qa! |
56 ENDTEST | |
57 | |
58 1 aa | |
59 2 bb | |
60 3 cc | |
61 4 dd | |
62 5 ee |