#8 Rule ordering bug

closed
nobody
None
5
2004-11-12
2004-06-02
Bertalan Fodor
No

Doc says:

"Since jEdit checks buffer text against parser rules in
the order they appear in the ruleset, more specific
rules must be placed before generalized ones, otherwise
the generalized rules will catch everything."

However, using this:

<KEYWORDS>
<KEYWORD1>\foo</KEYWORD1>
</KEYWORDS>
<MARK_FOLLOWING TYPE="FUNCTION">\&lt;/MARK_FOLLOWING>

\foo is colored as FUNCTION not as KEYWORD

Discussion

  • Bertalan Fodor
    Bertalan Fodor
    2004-11-12

    • status: open --> closed