On Wed, Jun 25, 2014 at 5:49 PM, Bram Moolenaar <[email protected]> wrote:
> The filler lines are needed to keep the windows in sync.  If you disable
> filler lines they cannot always be in sync.  Not a bug.

I think it is a bug :)

The behavior of "vimdiff -u NONE -c 'set diffopt-=filler' -c $ a b" is
inconsistent
depending on the height of the terminal.

Running that command in a terminal that has, say, 41 rows will not
show the problem.
WIth a terminal that can only fit 15 lines the problem appears.

I came across this behavior when I wanted to diff the members of each column
of a database table arranged vertically so that I can easily spot the
difference between
a column member of one row with the corresponding column member of another row -
hence the diffopt-=filler as I want vim to not show the filler lines
at all as it makes no
sense to have filler lines present in this case.

The two sample files (a and b) contains two different rows of a
database table - they
each has the same number of columns (hence the same number of lines).

My $work laptop didn't have enough screen lines to hide the problem for me when
showing the diff using the original data hence the bug report :)

nazri

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui