Ashwin Hirschi:
> Btw, I'm also pleased to see that editor:FoldAll(2) expands (much) quicker than the old toggle-all command (from the View menu) does. Though I haven't checked, I suspect that the menu command doesn't suppress some UI updates.
The first thing it does is to unconditionally show all lines. SciTE finds all top level fold headers and recursively shows their children.
> On my machine the scrollbar sometimes got insanely busy when expanding a file with several hundred top level folds... Using the new folding method fixes this. Now expansion is near-instantaneous. Nice!
The SciTE code was written to allow more features like showing all of the top two levels of folds but that was never implemented. I wanted a slider on the toolbar that could be moved to show progressive levels of detail.
Neil