On 2011.06.19 04:54:36 +0200, Bram Moolenaar wrote:
> Björn Steinbrink wrote:
> > The patch below[2] is a quick hack that eliminates the problem, but
> > spreads knowledge about the MAXLNUM "shortcut" for the fromstart syncing
> > through the code, so IMHO that's not an acceptable solution, but I
> > currently lack time and knowledge to come up with anything more useful.
> 
> When setting to "minlines" to half of 0x7fffffff it should also work
> properly.  Thus checking for a specific value is only half a solution.
> 
> I think it will work to check if we start at the first line.  Then it's
> also correct when "minlines" is something like 1000 and displaying
> around line 500.  We can start storing states right away, because it's
> always correct for line 1.

Ah, of course!

> I made a patch that does this, please verify if it works in your
> situation.

Yep, works for me.

Thanks!
Björn

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

Raspunde prin e-mail lui