[TxMt] folding comment blocks

Caio Chassot k at v2studio.com
Wed Oct 5 14:40:10 UTC 2005


> You can find the command block by regexp searching for: 
> (^[[^\n]&&\s]*#.*$\n)+ -- currently though, “fold selection” is not a 
> recordable action (for a macro), but I can add it to the list for next 
> build.

That would be great. But is it possible to create a macro that folds 
all comments? I mean, is there flow control for macros along the lines 
of "while find comment regexp, fold selection"?




More information about the textmate mailing list