[TxMt] foldingStopMarker problem?

Allan Odgaard throw-away-1 at macromates.com
Mon Jan 23 01:27:00 UTC 2006


On 10/1/2006, at 20:05, John Johnson wrote:

> I like to comment long spans of code thusly: [...] 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.

The foldingStopMarker is for foldings, which does catch them by  
default (for C/Obj-C/C++ at least):

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TextMateScreenSnapz106.png
Type: application/applefile
Size: 28810 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20060123/19f0173f/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TextMateScreenSnapz106.png
Type: image/png
Size: 12258 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20060123/19f0173f/attachment-0001.png>
-------------- next part --------------

Maybe you're referring to indent instead? If so, you want to change  
the indentation rules instead: http://macromates.com/textmate/manual/ 
appendix#indentation_rules



More information about the textmate mailing list