Hi JohnBeckett!

On Sa, 27 Aug 2016, JohnBeckett wrote:

> Can something be done to give a more convincing display of whether the
> two buffers have a difference? The problem is that Vim's logic for
> positioning the top line of the window shows the minimum amount of
> text in the above scenario (possibly just a single fold line). It
> would be nice if some extra logic said "this is a diff, so if there is
> a difference, scroll *both* windows down as much as possible".

Would a message, if both files are the same, be sufficient? I think diff 
always returns 0 if there are no differences found, so we could simply 
show a message in that case.

Best,
Christian
-- 
Zeigt mir einen Mann der Gewalttat, mit dem es ein gutes Ende genommen
hat, und ich will ihn zu meinem Lehrer machen.
                -- Laotse (chin. Philosoph, 4-3 Jhd. v.Chr.)

-- 
-- 
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