Re: Folding question.
- Mark Brophy wrote:
> I'm currently using vim6.0v under win2k.The scroll wheel should scroll closed folds as if they were one line. I'll
> When sections within the text are folded, scrolling past text
> with the keyboard works as expected, but when using a wheel mouse,
> or the scrollbar the folds are treated as their internal
> height, and scrolling past them takes a lot longer.
> eg. If I'm scanning through the code of a function, and there's
> a large function above it that's been folded (but is still
> on the display), scrolling the mouse wheel down doesn't move
> the text until it's scrolled through the folded text.
> Is this a bug, or is it intended?
look into that.
Dragging the scrollbar is working as it is. Recomputing the number of
screenlines each time a fold is opened or closed would take too much time.
hundred-and-one symptoms of being an internet addict:
21. Your dog has its own home page.
/// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
((( Creator of Vim - http://www.vim.org -- ftp://ftp.vim.org/pub/vim )))
\\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///