[TxMt] foldingStopMarker problem?

John Johnson johnatl at mac.com
Tue Jan 10 19:05:09 UTC 2006

I like to comment long spans of code thusly:

	if (a_reason) {
	  for (whatever) {
	    while (something) {
	      ... some code
	    } // while (something)
       } // for (whatever)
     } // if (a_reason)

I can't seem to find a way to tell TextMate that having comments after 
the closing brace is okay.
I've tried variations on:
	foldingStopMarker = '\*\*/|^\s*\}|^\s*\}.*';
to no avail. TextMate won't un-indent the brace.

Any help appreciated.


Help everyone. If you can't do that, then at least be nice.

More information about the textmate mailing list