[TxMt] Re: folding request

Robin Houston robin.houston at gmail.com
Thu Mar 22 19:38:53 UTC 2007


For the listings you get by dropping a volume or folder onto a TextMate
window, directory names are always terminated with a slash. You can take
advantage of this, like so:

    foldingStartMarker = '/$';
    foldingStopMarker = '^(?!.*/$)';

I've just tested it, and it works very nicely.

Robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070322/6483df1f/attachment.html>


More information about the textmate mailing list