Bambero:

I'm php programmer so I often using classes. It looks like this:

class foo {

    function method1() {
    ...
    }

    function method2() {
    ...
    }
}

It will be very comfortable to to fold all methods in class (second
level). Maybe its good idea to add this functionality:

fold.on.open=1 # for first level - works fine now
fold.on.open=2 # for second level
etc.

  Its reasonably easy to add your own fold command that opens/closes
folds in the way you want with a Lua script. It may be possible to run
this when loading a file. Adding it to standard SciTE may be OK but
its actually rarely what people want from a smart fold: for C++, I'd
want it to fold away top level functions and methods, laving classes
open and ignoring levels of nesting caused by namespace and extern "C"
declarations.

  Neil
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to