Closed GoogleCodeExporter closed 8 years ago
Thanks for the report.
I knew this would probably cause some concerns to some people if the typing
style is
different than mine. I usually type the opening bracket and start typing what
should
be between them, and skip closing the bracket.
I think it is more complicated to implement the Eclipse style, and beyond the
features I can support now.
You can disable that altogether. In the {{{SyntaxKit.install}}} method, just
delete
or comment out the actions automatically added for Java / Groovy and others:
{{{
if ("groovy".equals(lang) || "java".equals(lang)) {
SyntaxActions.addAction(editorPane, '(', SyntaxActions.LPARAN);
SyntaxActions.addAction(editorPane, '[', SyntaxActions.LSQUARE);
SyntaxActions.addAction(editorPane, '"', SyntaxActions.DQUOTE);
SyntaxActions.addAction(editorPane, '\'', SyntaxActions.SQUOTE);
SyntaxActions.addAction(editorPane, "ENTER", SyntaxActions.JAVA_INDENT);
} else if (lang.equalsIgnoreCase("xml")) {
SyntaxActions.addAction(editorPane, "ENTER", SyntaxActions.SMART_INDENT);
}
}}}
Original comment by ayman.al...@gmail.com
on 2 Jul 2008 at 6:02
Also, please make sure to get the latest version. You are using 080623a, and
the
latest is 080701a.
Ayman
Original comment by ayman.al...@gmail.com
on 2 Jul 2008 at 6:12
Original issue reported on code.google.com by
caulton...@gmail.com
on 1 Jul 2008 at 6:50