[TxMt] folding comment blocks
Allan Odgaard
throw-away-1 at macromates.com
Wed Oct 5 14:48:39 UTC 2005
On 05/10/2005, at 16.40, Caio Chassot wrote:
>> 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"?
No, macros are just replaying your actions.
More information about the textmate
mailing list