PageRenderTime 82ms CodeModel.GetById 41ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/jEdit/tags/jedit-4-0-pre5/modes/jmk.xml

#
XML | 71 lines | 69 code | 2 blank | 0 comment | 0 complexity | 31533d21ea2465fafeda9378b3b70d21 MD5 | raw file
 1<?xml version="1.0"?>
 2
 3<!DOCTYPE MODE SYSTEM "xmode.dtd">
 4
 5<MODE>
 6	<PROPS>
 7		<PROPERTY NAME="lineComment" VALUE="#" />
 8		<PROPERTY NAME="indentOpenBrackets" VALUE="{" />
 9		<PROPERTY NAME="indentCloseBrackets" VALUE="}" />
10	</PROPS>
11	<RULES ESCAPE="\" IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE">
12		<!-- whitespace: (space and tab) -->
13		<WHITESPACE> </WHITESPACE>
14		<WHITESPACE>	</WHITESPACE>
15
16		<!-- Comment -->
17		<EOL_SPAN TYPE="COMMENT1">#</EOL_SPAN>
18
19		<!-- Literals -->
20		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
21			<BEGIN>"</BEGIN>
22			<END>"</END>
23		</SPAN>
24		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
25			<BEGIN>'</BEGIN>
26			<END>'</END>
27		</SPAN>
28
29		<!-- Brackets -->
30		<SEQ TYPE="OPERATOR">{</SEQ>
31		<SEQ TYPE="OPERATOR">}</SEQ>
32		<SEQ TYPE="OPERATOR">(</SEQ>
33		<SEQ TYPE="OPERATOR">)</SEQ>
34		<SEQ TYPE="OPERATOR">-</SEQ>
35		<SEQ TYPE="OPERATOR">=</SEQ>
36
37		<KEYWORDS IGNORE_CASE="FALSE">
38			<KEYWORD1>cat</KEYWORD1>
39			<KEYWORD1>copy</KEYWORD1>
40			<KEYWORD1>create</KEYWORD1>
41			<KEYWORD1>delall</KEYWORD1>
42			<KEYWORD1>delete</KEYWORD1>
43			<KEYWORD1>dirs</KEYWORD1>
44			<KEYWORD1>equal</KEYWORD1>
45			<KEYWORD1>else</KEYWORD1>
46			<KEYWORD1>end</KEYWORD1>
47			<KEYWORD1>exec</KEYWORD1>
48			<KEYWORD1>first</KEYWORD1>
49			<KEYWORD1>forname</KEYWORD1>
50			<KEYWORD1>function</KEYWORD1>
51			<KEYWORD1>getprop</KEYWORD1>
52			<KEYWORD1>glob</KEYWORD1>
53			<KEYWORD1>if</KEYWORD1>
54			<KEYWORD1>join</KEYWORD1>
55			<KEYWORD1>load</KEYWORD1>
56			<KEYWORD1>mkdir</KEYWORD1>
57			<KEYWORD1>mkdirs</KEYWORD1>
58			<KEYWORD1>note</KEYWORD1>
59			<KEYWORD1>patsubst</KEYWORD1>
60			<KEYWORD1>rename</KEYWORD1>
61			<KEYWORD1>rest</KEYWORD1>
62			<KEYWORD1>subst</KEYWORD1>
63			<KEYWORD1>then</KEYWORD1>
64			<KEYWORD2>@</KEYWORD2>
65			<KEYWORD2>?</KEYWORD2>
66			<KEYWORD2>&lt;</KEYWORD2>
67			<KEYWORD2>%</KEYWORD2>
68			<KEYWORD3>include</KEYWORD3>
69		</KEYWORDS>
70	</RULES>
71</MODE>