Re: [scite] using scripts to expand/collapse folds

2006-01-16 Thread Neil Hodgson
Kein-Hong Man: > Here is a folding/unfolding Lua function with a customizable depth > setting. That works well. I was going to ask for a permanent address for this but its already on the wiki at http://lua-users.org/wiki/SciteCustomFolding Neil

Re: [scite] using scripts to expand/collapse folds

2006-01-16 Thread Kein-Hong Man
Hi all, Manta (SciTE) wrote: might still be nice to have a function that collapses only 'n' fold It would be nice - if you figure it out, please share it with the list, I would like to add that functionality to the default config of SciTE for my team Here is a folding/unfolding Lua functio

Re: [scite] using scripts to expand/collapse folds

2006-01-11 Thread Manta (SciTE)
might still be nice to have a function that collapses only 'n' fold It would be nice - if you figure it out, please share it with the list, I would like to add that functionality to the default config of SciTE for my team James ___ Scite-interest

Re: [scite] using scripts to expand/collapse folds

2006-01-11 Thread Chris Lajoie
Same as I mentioned to the dude wanting to do this with PHP files: 1. Open the file 2. Hold CTRL and click the top + in the fold margin 3. Release CTRL and click the same point again Give it a go, works perfectly with PHP library files, probably do the trick in big-ass Java files too Thanks

Re: [scite] using scripts to expand/collapse folds

2006-01-11 Thread Neil Hodgson
Chris: > I would like to be able to use an lua script to find the deepest > foldable node, and unwind while collapsing every fold I encountered > along the way. Is this possible with the scripting interface? I could > not find any examples of using folds at all from lua. Yes, this should be po

Re: [scite] using scripts to expand/collapse folds

2006-01-11 Thread Manta (SciTE)
can't collapse *every* fold node in the file Same as I mentioned to the dude wanting to do this with PHP files: 1. Open the file 2. Hold CTRL and click the top + in the fold margin 3. Release CTRL and click the same point again Give it a go, works perfectly with PHP library files, probably

[scite] using scripts to expand/collapse folds

2006-01-10 Thread Chris
Hi, I've been using ScITE for a while and there has always been one thing that bothered me when I opened a large code file, I can't collapse *every* fold node in the file. When I go to view->Toggle All Folds, it only toggles the top level folds. In the case of a very large Java class, this simply d