[TxMt] folding comment blocks

Allan Odgaard throw-away-1 at macromates.com
Wed Oct 5 14:07:34 UTC 2005


On 05/10/2005, at 15.55, Gavin Kistner wrote:

> Out of curiosity, why doesn't this work (latest version of TextMate):
>     foldingStartMarker = '^\s*#.+\n(?=\s*#)';
>     foldingStopMarker  = '^\s*#.+\n(?!\s*#)';

The patterns are only matched against a single line.






More information about the textmate mailing list