Justin M. Keyes wrote: > On Aug 3, 2015 17:08, "Gary Johnson" <[email protected]> wrote: > > > > When a file of fewer lines than the window height is diffed against > > a longer file, the shorter file's ruler shows only "Bot" when all > > the lines are displayed. It should show "All". > > > > As an example, start Vim like this. > > > > $ vimdiff -N -u NONE --cmd 'set ruler' <(seq 21 30) <(seq 50) > > > > The cursor will be at the first line of the left window and the > > ruler will show "Top". Move the cursor to the last line of the left > > buffer. The ruler will now show "Bot" even though the entire buffer > > is visible in the window. > > > > It seems to me that the ruler should show "All" and that this is a > > bug. > > > > I agree, this makes it hard to know whether one has viewed all changed > lines.
It doesn't say "All" because there are filler lines above, these also matter. If you don't see the filler lines you don't know what is missing there that's in the other file. Perhaps we could consider showing one filler line sufficient, no need to see all of them? -- Yah, well, we had to carve our electrons out of driftwood we'd find. In the winter. Uphill. Both ways. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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.
