With a ruleset like:
--------------------------------
<RULES>
<IMPORT DELEGATE="LITERAL" />
</RULES>
<RULES SET="LITERAL" ESCAPE="\">
<SPAN TYPE="LITERAL1">
<BEGIN>'</BEGIN>
<END>'</END>
</SPAN>
</RULES>
--------------------------------
the following gets highlighted incorrectly:
--------------------------------
'foo \'bar\''
--------------------------------
This is because there's no ESCAPE attribute for the main ruleset, but only for the
one which gets imported.
Therefor, the ESCAPE property should be tight to the single rules, not the whole ruleset.
Submitted | blueyed - 2006-11-21 14:37:48 | Assigned | |
---|---|---|---|
Priority | 5 | Labels | text area and syntax packages |
Status | open | Group | normal bug |
Resolution | None |
2007-01-25 22:29:12 blueyed |
Logged In: YES |
---|