PageRenderTime 92ms CodeModel.GetById 83ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
XML | 357 lines | 307 code | 37 blank | 13 comment | 0 complexity | f799d8b56aa43f629e9e57befb28fc69 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="&lt;!--" />
  8		<PROPERTY NAME="commentEnd" VALUE="--&gt;" />
  9		<PROPERTY NAME="tabSize" VALUE="2" />
 10	</PROPS>
 11	<RULES IGNORE_CASE="TRUE">
 12		<!-- whitespace: (space and tab) -->
 13		<WHITESPACE> </WHITESPACE>
 14		<WHITESPACE>	</WHITESPACE>
 15
 16		<!-- CFML comment -->
 17		<SPAN TYPE="COMMENT2">
 18			<BEGIN>&lt;!---</BEGIN>
 19			<END>---&gt;</END>
 20		</SPAN>
 21
 22		<!-- SGML comment -->
 23		<SPAN TYPE="COMMENT1">
 24			<BEGIN>&lt;!--</BEGIN>
 25			<END>--&gt;</END>
 26		</SPAN>
 27
 28		<!-- CFML markup start tags -->
 29		<SPAN TYPE="KEYWORD3" DELEGATE="CFTAGS">
 30			<BEGIN>&lt;CF</BEGIN>
 31			<END>&gt;</END>
 32		</SPAN>
 33
 34		<!-- CFML markup end tags -->
 35		<SPAN TYPE="KEYWORD3" DELEGATE="CFTAGS">
 36			<BEGIN>&lt;/CF</BEGIN>
 37			<END>&gt;</END>
 38		</SPAN>
 39
 40		<!-- JavaScript -->
 41		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
 42			<BEGIN>&lt;SCRIPT&gt;</BEGIN>
 43			<END>&lt;/SCRIPT&gt;</END>
 44		</SPAN>
 45
 46		<!-- stylesheet -->
 47		<SPAN TYPE="MARKUP" DELEGATE="css::MAIN">
 48			<BEGIN>&lt;STYLE&gt;</BEGIN>
 49			<END>&lt;/STYLE&gt;</END>
 50		</SPAN>
 51
 52		<!-- markup tags -->
 53		<SPAN TYPE="MARKUP" DELEGATE="TAGS">
 54			<BEGIN>&lt;</BEGIN>
 55			<END>&gt;</END>
 56		</SPAN>
 57
 58		<!-- SGML entities -->
 59		<SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
 60			<BEGIN>&amp;</BEGIN>
 61			<END>;</END>
 62		</SPAN>
 63	</RULES>
 64
 65	<RULES SET="TAGS" DEFAULT="MARKUP">
 66		<!-- whitespace: (space and tab) -->
 67		<WHITESPACE> </WHITESPACE>
 68		<WHITESPACE>	</WHITESPACE>
 69
 70		<SPAN TYPE="LITERAL1">
 71			<BEGIN>"</BEGIN>
 72			<END>"</END>
 73		</SPAN>
 74		<SPAN TYPE="LITERAL1">
 75			<BEGIN>'</BEGIN>
 76			<END>'</END>
 77		</SPAN>
 78
 79		<SEQ TYPE="OPERATOR">=</SEQ>
 80
 81		<!-- CFML markup start tags -->
 82		<SPAN TYPE="KEYWORD3" DELEGATE="CFTAGS">
 83			<BEGIN>&lt;CF</BEGIN>
 84			<END>&gt;</END>
 85		</SPAN>
 86
 87		<!-- CFML markup end tags -->
 88		<SPAN TYPE="KEYWORD3" DELEGATE="CFTAGS">
 89			<BEGIN>&lt;/CF</BEGIN>
 90			<END>&gt;</END>
 91		</SPAN>
 92	</RULES>
 93
 94	<RULES SET="CFTAGS" DEFAULT="KEYWORD3">
 95		<!-- whitespace: (space and tab) -->
 96		<WHITESPACE> </WHITESPACE>
 97		<WHITESPACE>	</WHITESPACE>
 98
 99		<SPAN TYPE="LITERAL1">
100			<BEGIN>"</BEGIN>
101			<END>"</END>
102		</SPAN>
103		<SPAN TYPE="LITERAL1">
104			<BEGIN>'</BEGIN>
105			<END>'</END>
106		</SPAN>
107
108		<SEQ TYPE="OPERATOR">=</SEQ>
109
110		<SEQ TYPE="KEYWORD3">##</SEQ>
111		<SEQ TYPE="NULL">(</SEQ>
112		<SEQ TYPE="NULL">)</SEQ>
113		<SEQ TYPE="NULL">,</SEQ>
114
115		<SPAN TYPE="LITERAL2">
116			<BEGIN>#</BEGIN>
117			<END>#</END>
118		</SPAN>
119
120		<KEYWORDS>
121			<KEYWORD2>ArrayAppend</KEYWORD2>
122			<KEYWORD2>ArrayAvg</KEYWORD2>
123			<KEYWORD2>ArrayClear</KEYWORD2>
124			<KEYWORD2>ArrayDeleteAt</KEYWORD2>
125			<KEYWORD2>ArrayInsertAt</KEYWORD2>
126			<KEYWORD2>ArrayIsEmpty</KEYWORD2>
127			<KEYWORD2>ArrayLen</KEYWORD2>
128			<KEYWORD2>ArrayMax</KEYWORD2>
129			<KEYWORD2>ArrayMin</KEYWORD2>
130			<KEYWORD2>ArrayNew</KEYWORD2>
131			<KEYWORD2>ArrayPrepend</KEYWORD2>
132			<KEYWORD2>ArrayResize</KEYWORD2>
133			<KEYWORD2>ArraySet</KEYWORD2>
134			<KEYWORD2>ArraySort</KEYWORD2>
135			<KEYWORD2>ArraySum</KEYWORD2>
136			<KEYWORD2>ArraySwap</KEYWORD2>
137			<KEYWORD2>ArrayToList</KEYWORD2>
138			<KEYWORD2>IsArray</KEYWORD2>
139			<KEYWORD2>ListToArray</KEYWORD2>
140
141			<KEYWORD2>CreateDate</KEYWORD2>
142			<KEYWORD2>CreateDateTime</KEYWORD2>
143			<KEYWORD2>CreateODBCTime</KEYWORD2>
144			<KEYWORD2>CreateODBCDate</KEYWORD2>
145			<KEYWORD2>CreateODBCDateTime</KEYWORD2>
146			<KEYWORD2>CreateTime</KEYWORD2>
147			<KEYWORD2>CreateTimeSpan</KEYWORD2>
148			<KEYWORD2>DateAdd</KEYWORD2>
149			<KEYWORD2>DateCompare</KEYWORD2>
150			<KEYWORD2>DateDiff</KEYWORD2>
151			<KEYWORD2>DatePart</KEYWORD2>
152			<KEYWORD2>Day</KEYWORD2>
153			<KEYWORD2>DayOfWeek</KEYWORD2>
154			<KEYWORD2>DayOfWeekAsString</KEYWORD2>
155			<KEYWORD2>DayOfYear</KEYWORD2>
156			<KEYWORD2>DaysInMonth</KEYWORD2>
157			<KEYWORD2>DaysInYear</KEYWORD2>
158			<KEYWORD2>FirstDayOfMonth</KEYWORD2>
159			<KEYWORD2>Hour</KEYWORD2>
160			<KEYWORD2>Minute</KEYWORD2>
161			<KEYWORD2>Month</KEYWORD2>
162			<KEYWORD2>MonthAsString</KEYWORD2>
163			<KEYWORD2>Now</KEYWORD2>
164			<KEYWORD2>ParseDateTime</KEYWORD2>
165			<KEYWORD2>Quarter</KEYWORD2>
166			<KEYWORD2>Second</KEYWORD2>
167			<KEYWORD2>Week</KEYWORD2>
168			<KEYWORD2>Year</KEYWORD2>
169
170			<KEYWORD2>IsArray</KEYWORD2>
171			<KEYWORD2>IsAuthenticated</KEYWORD2>
172			<KEYWORD2>IsAuthorized</KEYWORD2>
173			<KEYWORD2>IsBoolean</KEYWORD2>
174			<KEYWORD2>IsDate</KEYWORD2>
175			<KEYWORD2>IsDebugMode</KEYWORD2>
176			<KEYWORD2>IsDefined</KEYWORD2>
177			<KEYWORD2>IsLeapYear</KEYWORD2>
178			<KEYWORD2>IsNumeric</KEYWORD2>
179			<KEYWORD2>IsNumericDate</KEYWORD2>
180			<KEYWORD2>IsQuery</KEYWORD2>
181			<KEYWORD2>IsSimpleValue</KEYWORD2>
182			<KEYWORD2>IsStruct</KEYWORD2>
183
184			<KEYWORD2>DateFormat</KEYWORD2>
185			<KEYWORD2>DecimalFormat</KEYWORD2>
186			<KEYWORD2>DollarFormat</KEYWORD2>
187			<KEYWORD2>FormatBaseN</KEYWORD2>
188			<KEYWORD2>HTMLCodeFormat</KEYWORD2>
189			<KEYWORD2>HTMLEditFormat</KEYWORD2>
190			<KEYWORD2>NumberFormat</KEYWORD2>
191			<KEYWORD2>ParagraphFormat</KEYWORD2>
192			<KEYWORD2>TimeFormat</KEYWORD2>
193			<KEYWORD2>YesNoFormat</KEYWORD2>
194
195			<KEYWORD2>DE</KEYWORD2>
196			<KEYWORD2>Evaluate</KEYWORD2>
197			<KEYWORD2>IIf</KEYWORD2>
198			<KEYWORD2>SetVariable</KEYWORD2>
199
200			<KEYWORD2>ArrayToList</KEYWORD2>
201			<KEYWORD2>ListAppend</KEYWORD2>
202			<KEYWORD2>ListChangeDelims</KEYWORD2>
203			<KEYWORD2>ListContains</KEYWORD2>
204			<KEYWORD2>ListContainsNoCase</KEYWORD2>
205			<KEYWORD2>ListDeleteAt</KEYWORD2>
206			<KEYWORD2>ListFind</KEYWORD2>
207			<KEYWORD2>ListFindNoCase</KEYWORD2>
208			<KEYWORD2>ListFirst</KEYWORD2>
209			<KEYWORD2>ListGetAt</KEYWORD2>
210			<KEYWORD2>ListInsertAt</KEYWORD2>
211			<KEYWORD2>ListLast</KEYWORD2>
212			<KEYWORD2>ListLen</KEYWORD2>
213			<KEYWORD2>ListPrepend</KEYWORD2>
214			<KEYWORD2>ListRest</KEYWORD2>
215			<KEYWORD2>ListSetAt</KEYWORD2>
216			<KEYWORD2>ListToArray</KEYWORD2>
217
218			<KEYWORD2>StructClear</KEYWORD2>
219			<KEYWORD2>StructCopy</KEYWORD2>
220			<KEYWORD2>StructCount</KEYWORD2>
221			<KEYWORD2>StructDelete</KEYWORD2>
222			<KEYWORD2>StructFind</KEYWORD2>
223			<KEYWORD2>StructInsert</KEYWORD2>
224			<KEYWORD2>StructIsEmpty</KEYWORD2>
225			<KEYWORD2>StructKeyExists</KEYWORD2>
226			<KEYWORD2>StructNew</KEYWORD2>
227			<KEYWORD2>StructUpdate</KEYWORD2>
228
229			<KEYWORD2>GetLocale</KEYWORD2>
230			<KEYWORD2>LSCurrencyFormat</KEYWORD2>
231			<KEYWORD2>LSDateFormat</KEYWORD2>
232			<KEYWORD2>LSIsCurrency</KEYWORD2>
233			<KEYWORD2>LSIsDate</KEYWORD2>
234			<KEYWORD2>LSIsNumeric</KEYWORD2>
235			<KEYWORD2>LSNumberFormat</KEYWORD2>
236			<KEYWORD2>LSParseCurrency</KEYWORD2>
237			<KEYWORD2>LSParseDateTime</KEYWORD2>
238			<KEYWORD2>LSParseNumber</KEYWORD2>
239			<KEYWORD2>LSTimeFormat</KEYWORD2>
240			<KEYWORD2>SetLocale</KEYWORD2>
241
242			<KEYWORD2>Abs</KEYWORD2>
243			<KEYWORD2>Atn</KEYWORD2>
244			<KEYWORD2>BitAnd</KEYWORD2>
245			<KEYWORD2>BitMaskClear</KEYWORD2>
246			<KEYWORD2>BitMaskRead</KEYWORD2>
247			<KEYWORD2>BitMaskSet</KEYWORD2>
248			<KEYWORD2>BitNot</KEYWORD2>
249			<KEYWORD2>BitOr</KEYWORD2>
250			<KEYWORD2>BitSHLN</KEYWORD2>
251			<KEYWORD2>BitSHRN</KEYWORD2>
252			<KEYWORD2>BitXor</KEYWORD2>
253			<KEYWORD2>Ceiling</KEYWORD2>
254			<KEYWORD2>Cos</KEYWORD2>
255			<KEYWORD2>DecrementValue</KEYWORD2>
256			<KEYWORD2>Exp</KEYWORD2>
257			<KEYWORD2>Fix</KEYWORD2>
258			<KEYWORD2>IncrementValue</KEYWORD2>
259			<KEYWORD2>InputBaseN</KEYWORD2>
260			<KEYWORD2>Int</KEYWORD2>
261			<KEYWORD2>Log</KEYWORD2>
262			<KEYWORD2>Log10</KEYWORD2>
263			<KEYWORD2>Max</KEYWORD2>
264			<KEYWORD2>Min</KEYWORD2>
265			<KEYWORD2>Pi</KEYWORD2>
266			<KEYWORD2>Rand</KEYWORD2>
267			<KEYWORD2>Randomize</KEYWORD2>
268			<KEYWORD2>RandRange</KEYWORD2>
269			<KEYWORD2>Round</KEYWORD2>
270			<KEYWORD2>Sgn</KEYWORD2>
271			<KEYWORD2>Sin</KEYWORD2>
272			<KEYWORD2>Sqr</KEYWORD2>
273			<KEYWORD2>Tan</KEYWORD2>
274
275			<KEYWORD2>Asc</KEYWORD2>
276			<KEYWORD2>Chr</KEYWORD2>
277			<KEYWORD2>CJustify</KEYWORD2>
278			<KEYWORD2>Compare</KEYWORD2>
279			<KEYWORD2>CompareNoCase</KEYWORD2>
280			<KEYWORD2>Find</KEYWORD2>
281			<KEYWORD2>FindNoCase</KEYWORD2>
282			<KEYWORD2>FindOneOf</KEYWORD2>
283			<KEYWORD2>GetToken</KEYWORD2>
284			<KEYWORD2>Insert</KEYWORD2>
285			<KEYWORD2>LCase</KEYWORD2>
286			<KEYWORD2>Left</KEYWORD2>
287			<KEYWORD2>Len</KEYWORD2>
288			<KEYWORD2>LJustify</KEYWORD2>
289			<KEYWORD2>LTrim</KEYWORD2>
290			<KEYWORD2>Mid</KEYWORD2>
291			<KEYWORD2>REFind</KEYWORD2>
292			<KEYWORD2>REFindNoCase</KEYWORD2>
293			<KEYWORD2>RemoveChars</KEYWORD2>
294			<KEYWORD2>RepeatString</KEYWORD2>
295			<KEYWORD2>Replace</KEYWORD2>
296			<KEYWORD2>ReplaceList</KEYWORD2>
297			<KEYWORD2>ReplaceNoCase</KEYWORD2>
298			<KEYWORD2>REReplace</KEYWORD2>
299			<KEYWORD2>REReplaceNoCase</KEYWORD2>
300			<KEYWORD2>Reverse</KEYWORD2>
301			<KEYWORD2>Right</KEYWORD2>
302			<KEYWORD2>RJustify</KEYWORD2>
303			<KEYWORD2>RTrim</KEYWORD2>
304			<KEYWORD2>SpanExcluding</KEYWORD2>
305			<KEYWORD2>SpanIncluding</KEYWORD2>
306			<KEYWORD2>Trim</KEYWORD2>
307			<KEYWORD2>UCase</KEYWORD2>
308			<KEYWORD2>Val</KEYWORD2>
309
310			<KEYWORD2>DirectoryExists</KEYWORD2>
311			<KEYWORD2>ExpandPath</KEYWORD2>
312			<KEYWORD2>FileExists</KEYWORD2>
313			<KEYWORD2>GetDirectoryFromPath</KEYWORD2>
314			<KEYWORD2>GetFileFromPath</KEYWORD2>
315			<KEYWORD2>GetTempDirectory</KEYWORD2>
316			<KEYWORD2>GetTempFile</KEYWORD2>
317			<KEYWORD2>GetTemplatePath</KEYWORD2>
318
319			<KEYWORD2>QueryAddRow</KEYWORD2>
320			<KEYWORD2>QueryNew</KEYWORD2>
321			<KEYWORD2>QuerySetCell</KEYWORD2>
322
323			<KEYWORD2>Decrypt</KEYWORD2>
324			<KEYWORD2>DeleteClientVariable</KEYWORD2>
325			<KEYWORD2>Encrypt</KEYWORD2>
326			<KEYWORD2>GetBaseTagData</KEYWORD2>
327			<KEYWORD2>GetBaseTagList</KEYWORD2>
328			<KEYWORD2>GetClientVariablesList</KEYWORD2>
329			<KEYWORD2>GetTickCount</KEYWORD2>
330			<KEYWORD2>PreserveSingleQuotes</KEYWORD2>
331			<KEYWORD2>QuotedValueList</KEYWORD2>
332			<KEYWORD2>StripCR</KEYWORD2>
333			<KEYWORD2>URLEncodedFormat</KEYWORD2>
334			<KEYWORD2>ValueList</KEYWORD2>
335			<KEYWORD2>WriteOutput</KEYWORD2>
336
337			<KEYWORD2>ParameterExists</KEYWORD2>
338
339			<OPERATOR>IS</OPERATOR>
340			<OPERATOR>EQ</OPERATOR>
341			<OPERATOR>NEQ</OPERATOR>
342			<OPERATOR>GT</OPERATOR>
343			<OPERATOR>GTE</OPERATOR>
344			<OPERATOR>LT</OPERATOR>
345			<OPERATOR>LTE</OPERATOR>
346
347			<OPERATOR>LESS</OPERATOR>
348			<OPERATOR>GREATER</OPERATOR>
349			<OPERATOR>THAN</OPERATOR>
350
351			<OPERATOR>AND</OPERATOR>
352			<OPERATOR>OR</OPERATOR>
353			<OPERATOR>NOT</OPERATOR>
354			<OPERATOR>XOR</OPERATOR>
355		</KEYWORDS>
356	</RULES>
357</MODE>