PageRenderTime 25ms CodeModel.GetById 20ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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

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