In a ruleset where ESCAPE gets used, the ESCAPE sequence itself cannot get matched,
e.g. using SEQ or KEYWORDS.
The following does not work as expected (neither "\n" nor "\" gets matched/highlighted):
<RULES SET="FOO" ESCAPE="\" DEFAULT="LITERAL1">
<SEQ TYPE="LITERAL2">\n</SEQ>
<SEQ TYPE="OPERATOR">\</SEQ>
<KEYWORDS>
<LITERAL2>\n</LITERAL2>
</KEYWORDS>
</RULES>
This is with jEdit SVN trunk (4.3pre13, r12112)
Submitted | blueyed - 2008-03-07 - 13:05:20z | Assigned | nobody |
---|---|---|---|
Priority | 5 | Category | text area and syntax packages |
Status | Open | Group | normal bug |
Resolution | None | Visibility | No |