modes.xml.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of to.etc.syntaxer Show documentation
Show all versions of to.etc.syntaxer Show documentation
Syntax highlighting code using JEdit's highlighting code
The newest version!
<?xml version="1.0"?> <!DOCTYPE MODE SYSTEM "xmode.dtd"> <MODE> <PROPS> <PROPERTY NAME="commentStart" VALUE="<!--" /> <PROPERTY NAME="commentEnd" VALUE="-->" /> </PROPS> <RULES> <!-- SGML comment --> <SPAN TYPE="COMMENT1"> <BEGIN><!--</BEGIN> <END>--></END> </SPAN> <!-- DTD Entity declarations --> <SPAN TYPE="KEYWORD2" DELEGATE="ENTITY-TAGS"> <BEGIN><!ENTITY</BEGIN> <END>></END> </SPAN> <!-- CDATA sections --> <SPAN TYPE="KEYWORD2" DELEGATE="CDATA"> <BEGIN><![CDATA[</BEGIN> <END>]]></END> </SPAN> <!-- DTD instructions --> <SPAN TYPE="KEYWORD2" DELEGATE="DTD-TAGS"> <BEGIN><!</BEGIN> <END>></END> </SPAN> <!-- PI directives --> <SPAN TYPE="KEYWORD3"> <BEGIN><?</BEGIN> <END>></END> </SPAN> <!-- markup tags --> <SPAN TYPE="MARKUP" DELEGATE="TAGS"> <BEGIN><</BEGIN> <END>></END> </SPAN> <!-- SGML entities --> <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE"> <BEGIN>&</BEGIN> <END>;</END> </SPAN> </RULES> <RULES SET="TAGS" DEFAULT="MARKUP" NO_WORD_SEP="-_"> <!-- SGML comment --> <SPAN TYPE="COMMENT1"> <BEGIN><!--</BEGIN> <END>--></END> </SPAN> <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE"> <BEGIN>"</BEGIN> <END>"</END> </SPAN> <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE"> <BEGIN>'</BEGIN> <END>'</END> </SPAN> <SEQ TYPE="MARKUP">/</SEQ> <MARK_PREVIOUS TYPE="LABEL" EXCLUDE_MATCH="TRUE">:</MARK_PREVIOUS> <SEQ TYPE="OPERATOR">:</SEQ> </RULES> <RULES SET="DTD-TAGS" DEFAULT="KEYWORD2" IGNORE_CASE="FALSE"> <!-- SGML comment --> <SPAN TYPE="COMMENT1"> <BEGIN><!--</BEGIN> <END>--></END> </SPAN> <!-- SGML comment --> <SPAN TYPE="COMMENT1"> <BEGIN>--</BEGIN> <END>--</END> </SPAN> <!-- Parameter entities --> <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE"> <BEGIN>%</BEGIN> <END>;</END> </SPAN> <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE"> <BEGIN>"</BEGIN> <END>"</END> </SPAN> <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE"> <BEGIN>'</BEGIN> <END>'</END> </SPAN> <!-- This appears in some SGML documents --> <SPAN TYPE="KEYWORD2" DELEGATE="MAIN"> <BEGIN>[</BEGIN> <END>]</END> </SPAN> <SEQ TYPE="OPERATOR">(</SEQ> <SEQ TYPE="OPERATOR">)</SEQ> <SEQ TYPE="OPERATOR">|</SEQ> <SEQ TYPE="OPERATOR">?</SEQ> <SEQ TYPE="OPERATOR">*</SEQ> <SEQ TYPE="OPERATOR">+</SEQ> <SEQ TYPE="OPERATOR">,</SEQ> <KEYWORDS> <KEYWORD1>CDATA</KEYWORD1> <KEYWORD1>EMPTY</KEYWORD1> <KEYWORD1>INCLUDE</KEYWORD1> <KEYWORD1>IGNORE</KEYWORD1> <KEYWORD1>NDATA</KEYWORD1> <KEYWORD1>#IMPLIED</KEYWORD1> <KEYWORD1>#PCDATA</KEYWORD1> <KEYWORD1>#REQUIRED</KEYWORD1> </KEYWORDS> </RULES> <RULES SET="ENTITY-TAGS" DEFAULT="KEYWORD2"> <!-- SGML comment --> <SPAN TYPE="COMMENT1"> <BEGIN><!--</BEGIN> <END>--></END> </SPAN> <!-- SGML comment --> <SPAN TYPE="COMMENT1"> <BEGIN>--</BEGIN> <END>--</END> </SPAN> <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE"> <BEGIN>"</BEGIN> <END>"</END> </SPAN> <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE"> <BEGIN>'</BEGIN> <END>'</END> </SPAN> <SEQ TYPE="OPERATOR">=</SEQ> <SEQ TYPE="OPERATOR">%</SEQ> <KEYWORDS> <KEYWORD1>SYSTEM</KEYWORD1> </KEYWORDS> </RULES> <RULES SET="CDATA" DEFAULT="COMMENT2"> <!-- no rules --> </RULES> </MODE>