When editing a java file, a double-quote string is supposed to highlight up to a non-escaped quote, but currently it treats all backslashes as escaping the quote. For example, in the line
if (lastArg.startsWith("\\")) {
the second backslash is the escaped character, but it's treated as escaping the quote, and everything up to the end of the line is highlighted as a string. This looks weird and breaks bracket matching.
Tested with the current jEdit trunk, revision 20767
I just committed a fix by adding the line
<SEQ TYPE="LITERAL4">\\</SEQ>
to both the double-quote and simple-quote literal rules in front of their respective quote-escaping seqs. It seems to fix the problem.