Mercurial > vim
comparison src/testdir/test47.in @ 3904:64427849c158 v7.3.708
updated for version 7.3.708
Problem: Filler lines above the first line may be hidden when opening Vim.
Solution: Change how topfill is computed. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 21 Oct 2012 22:18:21 +0200 |
parents | ce5a380d5144 |
children | cfd9a2befd67 |
comparison
equal
deleted
inserted
replaced
3903:b7966720d38c | 3904:64427849c158 |
---|---|
34 j:let three = three . "-" . winline() | 34 j:let three = three . "-" . winline() |
35 :call append("$", one) | 35 :call append("$", one) |
36 :call append("$", two) | 36 :call append("$", two) |
37 :call append("$", three) | 37 :call append("$", three) |
38 :$-2,$w! test.out | 38 :$-2,$w! test.out |
39 :unlet one two three | 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 | |
40 :qa! | 55 :qa! |
41 ENDTEST | 56 ENDTEST |
42 | 57 |
43 1 aa | 58 1 aa |
44 2 bb | 59 2 bb |