[TxMt] folding patterns and comments

Michael Sheets mummer at whitefalls.org
Mon Jan 9 09:26:45 UTC 2006

> 	foldingStartMarker =
> '\b(proc|domain|case|if|%if|for|while|repeat|axiom|category)\b';
> 	foldingStopMarker =
> '\b(end|end_proc|end_domain|end_case|end_if|end_for|end_while| 
> end_repeat|end_axiom|end_category)\b';

You could do for instance...


Provided your comment char is # that is, basically whatever it is  
look for it preceding the keyword to negate the entire rule.

More information about the textmate mailing list