PageRenderTime 58ms CodeModel.GetById 50ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
XML | 154 lines | 151 code | 2 blank | 1 comment | 0 complexity | 1aca7ffb0c45d5a52c67d0c5dcd70fb6 MD5 | raw file
  1<?xml version="1.0"?>
  2
  3<!DOCTYPE MODE SYSTEM "xmode.dtd">
  4
  5<MODE>
  6	<PROPS>
  7		<PROPERTY NAME="indentPrevLine"
  8			VALUE="\s*(((if|while)\s*\(|else\s*(\{|$)|else\s+if\s*\(|case\s+.+:|default:)[^;]*|for\s*\(.*)" />
  9		<!-- set this to 'true' if you want to use GNU coding style -->
 10		<PROPERTY NAME="doubleBracketIndent" VALUE="false" />
 11		<PROPERTY NAME="commentStart" VALUE="/*" />
 12		<PROPERTY NAME="commentEnd" VALUE="*/" />
 13		<PROPERTY NAME="lineComment" VALUE="--" />
 14		<PROPERTY NAME="wordBreakChars" VALUE=",+-=&lt;&gt;/?^&amp;*" />
 15	</PROPS>
 16	<RULES ESCAPE="\" IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">
 17		<!-- whitespace: (space and tab) -->
 18		<WHITESPACE> </WHITESPACE>
 19		<WHITESPACE>    </WHITESPACE>
 20
 21		<!-- Documentation comment -->
 22		<SPAN TYPE="COMMENT2" DELEGATE="java::JAVADOC">
 23			<BEGIN>/**</BEGIN>
 24			<END>*/</END>
 25		</SPAN>
 26
 27		<!-- C style comment -->
 28		<SPAN TYPE="COMMENT1">
 29			<BEGIN>/*</BEGIN>
 30			<END>*/</END>
 31		</SPAN>
 32
 33		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 34			<BEGIN>"</BEGIN>
 35			<END>"</END>
 36		</SPAN>
 37		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 38			<BEGIN>'</BEGIN>
 39			<END>'</END>
 40		</SPAN>
 41
 42		<EOL_SPAN TYPE="COMMENT1">--</EOL_SPAN>
 43
 44		<SEQ TYPE="NULL">(</SEQ>
 45		<SEQ TYPE="NULL">)</SEQ>
 46		<SEQ TYPE="OPERATOR">=</SEQ>
 47		<SEQ TYPE="OPERATOR">!</SEQ>
 48		<SEQ TYPE="OPERATOR">&gt;=</SEQ>
 49		<SEQ TYPE="OPERATOR">&lt;=</SEQ>
 50		<SEQ TYPE="OPERATOR">+</SEQ>
 51		<SEQ TYPE="OPERATOR">-</SEQ>
 52		<SEQ TYPE="OPERATOR">/</SEQ>
 53
 54		<!-- workaround to stop "*" from being colorized
 55		     in import statements. -->
 56		<SEQ TYPE="NULL">.*</SEQ>
 57
 58		<SEQ TYPE="OPERATOR">*</SEQ>
 59		<SEQ TYPE="OPERATOR">&gt;</SEQ>
 60		<SEQ TYPE="OPERATOR">&lt;</SEQ>
 61		<SEQ TYPE="OPERATOR">%</SEQ>
 62		<SEQ TYPE="OPERATOR">&amp;</SEQ>
 63		<SEQ TYPE="OPERATOR">|</SEQ>
 64		<SEQ TYPE="OPERATOR">^</SEQ>
 65		<SEQ TYPE="OPERATOR">~</SEQ>
 66		<SEQ TYPE="OPERATOR">}</SEQ>
 67		<SEQ TYPE="OPERATOR">{</SEQ>
 68		<SEQ TYPE="NULL">.</SEQ>
 69		<SEQ TYPE="NULL">,</SEQ>
 70		<SEQ TYPE="NULL">;</SEQ>
 71		<SEQ TYPE="NULL">]</SEQ>
 72		<SEQ TYPE="NULL">[</SEQ>
 73		<SEQ TYPE="NULL">?</SEQ>
 74		<MARK_PREVIOUS TYPE="LABEL" EXCLUDE_MATCH="TRUE"
 75			AT_LINE_START="TRUE">:</MARK_PREVIOUS>
 76		<SEQ TYPE="NULL">:</SEQ>
 77
 78		<KEYWORDS IGNORE_CASE="TRUE">
 79			<KEYWORD1>abbrev</KEYWORD1>
 80			<KEYWORD1>abs</KEYWORD1>
 81			<KEYWORD1>b2x</KEYWORD1>
 82			<KEYWORD1>case</KEYWORD1>
 83			<KEYWORD1>catch</KEYWORD1>
 84			<KEYWORD1>center</KEYWORD1>
 85			<KEYWORD1>changestr</KEYWORD1>
 86			<KEYWORD1>compare</KEYWORD1>
 87			<KEYWORD1>copies</KEYWORD1>
 88			<KEYWORD1>countstr</KEYWORD1>
 89			<KEYWORD1>c2d</KEYWORD1>
 90			<KEYWORD1>c2x</KEYWORD1>
 91			<KEYWORD1>datatype</KEYWORD1>
 92			<KEYWORD1>delstr</KEYWORD1>
 93			<KEYWORD1>delword</KEYWORD1>
 94			<KEYWORD1>d2c</KEYWORD1>
 95			<KEYWORD1>d2X</KEYWORD1>
 96			<KEYWORD1>exists</KEYWORD1>
 97			<KEYWORD1>format</KEYWORD1>
 98			<KEYWORD1>insert</KEYWORD1>
 99			<KEYWORD1>lastpos</KEYWORD1>
100			<KEYWORD1>left</KEYWORD1>
101			<KEYWORD1>length</KEYWORD1>
102			<KEYWORD1>lower</KEYWORD1>
103			<KEYWORD1>max</KEYWORD1>
104			<KEYWORD1>min</KEYWORD1>
105			<KEYWORD1>overlay</KEYWORD1>
106			<KEYWORD1>pos</KEYWORD1>
107			<KEYWORD1>reverse</KEYWORD1>
108			<KEYWORD1>right</KEYWORD1>
109			<KEYWORD1>say</KEYWORD1>
110			<KEYWORD1>sequence</KEYWORD1>
111			<KEYWORD1>sign</KEYWORD1>
112			<KEYWORD1>space</KEYWORD1>
113			<KEYWORD1>strip</KEYWORD1>
114			<KEYWORD1>substr</KEYWORD1>
115			<KEYWORD1>subword</KEYWORD1>
116			<KEYWORD1>trunc</KEYWORD1>
117			<KEYWORD1>upper</KEYWORD1>
118			<KEYWORD1>verify</KEYWORD1>
119			<KEYWORD1>word</KEYWORD1>
120			<KEYWORD1>wordindex</KEYWORD1>
121			<KEYWORD1>wordlength</KEYWORD1>
122			<KEYWORD1>wordpos</KEYWORD1>
123			<KEYWORD1>words</KEYWORD1>
124			<KEYWORD1>x2b</KEYWORD1>
125			<KEYWORD1>x2c</KEYWORD1>
126			<KEYWORD1>x2d</KEYWORD1>
127
128			<KEYWORD2>do</KEYWORD2>
129			<KEYWORD2>while</KEYWORD2>
130			<KEYWORD2>if</KEYWORD2>
131			<KEYWORD2>then</KEYWORD2>
132			<KEYWORD2>else</KEYWORD2>
133			<KEYWORD2>end</KEYWORD2>
134			<KEYWORD2>select</KEYWORD2>
135			<KEYWORD2>loop</KEYWORD2>
136			<KEYWORD2>over</KEYWORD2>
137			<KEYWORD2>iterate</KEYWORD2>
138			<KEYWORD2>leave</KEYWORD2>
139			<KEYWORD2>exit</KEYWORD2>
140			<KEYWORD2>trace</KEYWORD2>
141			<KEYWORD2>numeric</KEYWORD2>
142			<KEYWORD2>options</KEYWORD2>
143			<KEYWORD2>package</KEYWORD2>
144			<KEYWORD2>import</KEYWORD2>
145			<KEYWORD2>options</KEYWORD2>
146
147			<KEYWORD3>method</KEYWORD3>
148			<KEYWORD3>class</KEYWORD3>
149			<KEYWORD3>properties</KEYWORD3>
150
151
152		</KEYWORDS>
153	</RULES>
154</MODE>