[TxMt] Java Syntax

Allan Odgaard throw-away-1 at macromates.com
Tue Nov 8 18:44:07 UTC 2005


On 08/11/2005, at 19.36, Brian Lalor wrote:

> Is this a "feature" of TextMate?  Is it interpreting the leading  
> space as a different indent level than the opening "/**"?

It is, yes. In this case it would be better if TM used everything to  
the left of the match as the indent, but I'm afraid that there's a  
lot of folding patterns where that wouldn't work (e.g. matching { at  
the end of the line).

Come to think of it, it could probably be solved by doing: indent -=  
indent % tab_size.




More information about the textmate mailing list