On Dec 23, 2004, at 19:31, Phil Lawrence wrote:
I'd like to do blocks like these: IS -> END; IF -> END IF; ( -> )
etc.
Possible?
Currently there is only one pattern for the start marker and one for the stop marker, and it uses the indent to match them. So if you do: foldingStartMarker = "(IS|IF|\()"; foldingStopMarker = "(END|END IF|\))";
It will allow you to fold as long as you indent correctly, e.g.: IF ... IS ... something ( ... ) END END IF
In the 1.1.x series I will revisit the folding capabilities to allow for more flexibility in how one specifies folding patterns.