modes.rhtml.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"> <!-- rhtml (ruby+html) mode --> <MODE> <PROPS> <PROPERTY NAME="commentStart" VALUE="<!--" /> <PROPERTY NAME="commentEnd" VALUE="-->" /> <PROPERTY NAME="commentStart" VALUE="<%#" /> <PROPERTY NAME="commentEnd" VALUE="%>" /> </PROPS> <RULES IGNORE_CASE="TRUE"> <!-- eRuby comment --> <SPAN TYPE="COMMENT1"> <BEGIN><%#</BEGIN> <END>%></END> </SPAN> <!-- eRuby assignment --> <SPAN TYPE="MARKUP" DELEGATE="ruby::MAIN"> <BEGIN><%=</BEGIN> <END>%></END> </SPAN> <!-- eRuby statement --> <SPAN TYPE="MARKUP" DELEGATE="ruby::MAIN"> <BEGIN><%</BEGIN> <END>%></END> </SPAN> <!-- SGML comment --> <SPAN TYPE="COMMENT1"> <BEGIN><!--</BEGIN> <END>--></END> </SPAN> <!-- JavaScript --> <SPAN TYPE="MARKUP" DELEGATE="html::JAVASCRIPT"> <BEGIN><SCRIPT</BEGIN> <END></SCRIPT></END> </SPAN> <!-- stylesheet --> <SPAN TYPE="MARKUP" DELEGATE="html::CSS"> <BEGIN><STYLE</BEGIN> <END></STYLE></END> </SPAN> <!-- DTD instructions --> <SPAN TYPE="KEYWORD2" DELEGATE="xml::DTD-TAGS"> <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"> <SPAN TYPE="COMMENT1"> <BEGIN><!--</BEGIN> <END>--></END> </SPAN> <SPAN TYPE="COMMENT1"> <BEGIN><%#</BEGIN> <END>%></END> </SPAN> <SPAN TYPE="LITERAL1" DELEGATE="TAGS_LITERAL"> <BEGIN>"</BEGIN> <END>"</END> </SPAN> <SPAN TYPE="LITERAL1" DELEGATE="TAGS_LITERAL"> <BEGIN>'</BEGIN> <END>'</END> </SPAN> <SEQ TYPE="OPERATOR">=</SEQ> </RULES> <RULES SET="TAGS_LITERAL" DEFAULT="LITERAL1"> <SPAN TYPE="MARKUP"> <BEGIN><%</BEGIN> <END>%></END> </SPAN> <SPAN TYPE="MARKUP"> <BEGIN><%=</BEGIN> <END>%></END> </SPAN> </RULES> </MODE>