[TxMt] Braces and cursor position

Curt Sellmer sellmerfud at gmail.com
Sun Feb 26 19:49:39 UTC 2012


When using TM-2 with a C source file, if I type an open brace, I get a
matching pair of braces. If I then press enter, I get an empty line above
the closing brace and the cursor is properly indented.

However if I do the same with a Java source file, there is no blank line
above the closing brace and the cursor is sitting in front of the closing
brace.

Is there some setting or tweak to the java language grammer that is
necessary to achieve this behavior?   It works correctly in TM-1.

Thanks,
Curt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20120226/fbcb246d/attachment.html>


More information about the textmate mailing list