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:48z | Assigned | nobody |
---|---|---|---|
Priority | 5 | Category | text area and syntax packages |
Status | Open | Group | normal bug |
Resolution | None | Visibility | No |
2007-01-25 - 22:29:12z blueyed |
Logged In: YES user_id=663176 Originator: YES Still does not work with current SVN. Maybe the is related to bug 1630805 and bug 1643925. This may be related to the ParserRuleSet refactoring. |
---|