-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathrhtml.xml
112 lines (90 loc) · 2.31 KB
/
rhtml.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?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="%>" />
<PROPERTY NAME="noTabs" VALUE="true"/>
<PROPERTY NAME="indentSize" VALUE="2" />
<PROPERTY NAME="tabSize" VALUE="2"/>
</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>