PageRenderTime 10ms CodeModel.GetById 7ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-1-pre5/modes/velocity.xml

#
XML | 77 lines | 59 code | 12 blank | 6 comment | 0 complexity | 7ec2b782f1747fc694f4d06597822f66 MD5 | raw file
 1<?xml version="1.0"?>
 2
 3<!DOCTYPE MODE SYSTEM "xmode.dtd">
 4
 5<MODE>
 6	<PROPS>
 7		<PROPERTY NAME="commentStart" VALUE="#*" />
 8		<PROPERTY NAME="commentEnd" VALUE="*#" />
 9		<PROPERTY NAME="lineComment" VALUE="##" />
10	</PROPS>
11	<RULES IGNORE_CASE="TRUE">
12		<!-- SGML comment -->
13		<SPAN TYPE="COMMENT1">
14			<BEGIN>&lt;!--</BEGIN>
15			<END>--&gt;</END>
16		</SPAN>
17
18		<!-- JavaScript -->
19		<SPAN TYPE="MARKUP" DELEGATE="html::JAVASCRIPT">
20			<BEGIN>&lt;SCRIPT</BEGIN>
21			<END>&lt;/SCRIPT&gt;</END>
22		</SPAN>
23
24		<!-- stylesheet -->
25		<SPAN TYPE="MARKUP" DELEGATE="html::CSS">
26			<BEGIN>&lt;STYLE</BEGIN>
27			<END>&lt;/STYLE&gt;</END>
28		</SPAN>
29
30		<!-- DTD instructions -->
31		<SPAN TYPE="KEYWORD2" DELEGATE="xml::DTD-TAGS">
32			<BEGIN>&lt;!</BEGIN>
33			<END>&gt;</END>
34		</SPAN>
35
36		<MARK_FOLLOWING TYPE="KEYWORD2">$</MARK_FOLLOWING>
37
38		<!-- markup tags -->
39		<SPAN TYPE="MARKUP" DELEGATE="TAGS">
40			<BEGIN>&lt;</BEGIN>
41			<END>&gt;</END>
42		</SPAN>
43
44		<!-- SGML entities -->
45		<SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
46			<BEGIN>&amp;</BEGIN>
47			<END>;</END>
48		</SPAN>
49
50		<KEYWORDS>
51			<KEYWORD1>#set</KEYWORD1>
52			<KEYWORD1>#foreach</KEYWORD1>
53			<KEYWORD1>#end</KEYWORD1>
54			<KEYWORD1>#if</KEYWORD1>
55			<KEYWORD1>#else</KEYWORD1>
56			<KEYWORD1>#elseif</KEYWORD1>
57			<KEYWORD1>#parse</KEYWORD1>
58			<KEYWORD1>#macro</KEYWORD1>
59			<KEYWORD1>#stop</KEYWORD1>
60			<KEYWORD1>#include</KEYWORD1>
61		</KEYWORDS>
62	</RULES>
63
64	<RULES SET="TAGS" DEFAULT="MARKUP">
65		<SPAN TYPE="LITERAL1">
66			<BEGIN>"</BEGIN>
67			<END>"</END>
68		</SPAN>
69
70		<SPAN TYPE="LITERAL1">
71			<BEGIN>'</BEGIN>
72			<END>'</END>
73		</SPAN>
74
75		<SEQ TYPE="OPERATOR">=</SEQ>
76	</RULES>
77</MODE>