winrestview() after PageDown

2006-09-11 Thread Yakov Lerner
I see a case in which winrestview() work incorrectly after PageDown near end-of-file. (This is in the context of scrollfix plugin.) To reproduce: % vim -u NONE -c 'so x.vim'# x.vim is below :help help have some text :set nu see line numbers press seevral

Re: winrestview() after PageDown

2006-09-11 Thread Bram Moolenaar
Yakov Lerner wrote: I see a case in which winrestview() work incorrectly after PageDown near end-of-file. (This is in the context of scrollfix plugin.) To reproduce: % vim -u NONE -c 'so x.vim'# x.vim is below :help help have some text :set nu see line