Hirohito Higashi wrote:

> How to reproduce:
> - Ran vanilla Vim.
>   $ vim --clean
> - Prepare test data on Vim
>   :call setline(1, range(1,19))
> - Fold around the last line.
>   9GzfG
> - Do page down by type CTRL-F.
>   <C-F>
> - The following information is displayed on the folded part of the first 
> line. 
>   +-- 11 lines: 9---------         <---- Expected.
> - Do page down again.
>   <C-F>
> - The following information is displayed on the folded part of the first 
> line. 
>   +--  1 line: 19---------         <---- Unexpected!!! Should be `+-- 11 
> lines: 9---------`
> - Do page up, page down and page down.
>   <C-B><C-F><C-F>
> - Confirm that folding information is not displayed on the first line.
>                                    <---- Unexpected!!! Should be `+-- 11 
> lines: 9---------`
> 
> 
> Note:
> This issue also happens when in diff mode.  (Current buffer only)
> 
> I wrote a patch contains test.
> Please check it.

Thanks.  I could not reproduce it exactly as you describe, but when
changing the window height and setting 'scrolloff' to zero.

-- 
How do I set the laser printer to stun? 

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

Raspunde prin e-mail lui