[TxMt] Auto-indent and multi-line comments

Jeremy Sachs rezmason at mac.com
Sun Oct 21 16:08:43 UTC 2007

I'm playing with some auto-indent rules, and I've come across a  
scenario that gives me trouble. Consider text (in fact valid code)  
that is written like this:

somescope {
  *}  <--curly brace

Now, if this text was properly indented, the three middle lines of  
code would be tabbed once to the right. But how can TextMate tell  
using its indentation rule logic that the curly brace on line 3 is  
within a multi-line comment?

-Jeremy S.

More information about the textmate mailing list