1 <?xml version="1.0"?>
\r
3 <!DOCTYPE MODE SYSTEM "xmode.dtd">
\r
5 Sybase PowerDynamo mode file for jEdit - v 1.0
\r
6 (For the 5 people in the world who still have to program in dynamo.)
\r
8 By Ben Williams (benw@webmedia.com.au)
\r
11 Initial release - supports dynamo script, SQL tags, and mostly complete support
\r
12 for the other tags (data, document, etc). more support planned for future.
\r
17 <PROPERTY NAME="indentOpenBrackets" VALUE="{" />
\r
18 <PROPERTY NAME="indentCloseBrackets" VALUE="}" />
\r
19 <PROPERTY NAME="wordBreakChars" VALUE=" @ %^*()+=|\{}[]:;,.?$&" />
\r
20 <PROPERTY NAME="commentStart" VALUE="<!--" />
\r
21 <PROPERTY NAME="commentEnd" VALUE="-->" />
\r
22 <PROPERTY NAME="lineComment" VALUE="//" />
\r
24 <RULES IGNORE_CASE="TRUE">
\r
25 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-script">
\r
26 <BEGIN><!--script</BEGIN>
\r
30 <!-- these are the other dynamo tag types. for the meoment, we'll just hand them over to powerdynamo-script,
\r
31 but in future versions we can easily add individual processing for each of them, as they should have.
\r
33 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-data">
\r
34 <BEGIN><!--data</BEGIN>
\r
38 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-document">
\r
39 <BEGIN><!--document</BEGIN>
\r
43 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-script">
\r
44 <BEGIN><!--evaluate</BEGIN>
\r
48 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-script">
\r
49 <BEGIN><!--execute</BEGIN>
\r
53 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
\r
54 <BEGIN><!--formatting</BEGIN>
\r
58 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
\r
59 <BEGIN><!--/formatting</BEGIN>
\r
63 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
\r
64 <BEGIN><!--include</BEGIN>
\r
68 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
\r
69 <BEGIN><!--label</BEGIN>
\r
73 <SPAN TYPE="LABEL" DELEGATE="transact-sql::MAIN">
\r
74 <BEGIN><!--sql</BEGIN>
\r
78 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
\r
79 <BEGIN><!--sql_error_code</BEGIN>
\r
83 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
\r
84 <BEGIN><!--sql_error_info</BEGIN>
\r
88 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
\r
89 <BEGIN><!--sql_state</BEGIN>
\r
93 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
\r
94 <BEGIN><!--sql_on_no_error</BEGIN>
\r
97 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
\r
98 <BEGIN><!--/sql_on_no_error</BEGIN>
\r
102 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
\r
103 <BEGIN><!--sql_on_error</BEGIN>
\r
106 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
\r
107 <BEGIN><!--/sql_on_error</BEGIN>
\r
111 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
\r
112 <BEGIN><!--sql_on_no_rows</BEGIN>
\r
115 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
\r
116 <BEGIN><!--/sql_on_no_rows</BEGIN>
\r
120 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
\r
121 <BEGIN><!--sql_on_rows</BEGIN>
\r
124 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
\r
125 <BEGIN><!--/sql_on_rows</BEGIN>
\r
129 <!-- SGML comment -->
\r
130 <SPAN TYPE="COMMENT1">
\r
131 <BEGIN><!--</BEGIN>
\r
135 <!-- JavaScript -->
\r
136 <SPAN TYPE="MARKUP" DELEGATE="html::JAVASCRIPT">
\r
137 <BEGIN><SCRIPT</BEGIN>
\r
138 <END></SCRIPT></END>
\r
141 <!-- stylesheet -->
\r
142 <SPAN TYPE="MARKUP" DELEGATE="html::CSS">
\r
143 <BEGIN><STYLE</BEGIN>
\r
144 <END></STYLE></END>
\r
147 <!-- DTD instructions -->
\r
148 <SPAN TYPE="KEYWORD2" DELEGATE="xml::DTD-TAGS">
\r
149 <BEGIN><!</BEGIN>
\r
153 <!-- markup tags -->
\r
154 <SPAN TYPE="MARKUP" DELEGATE="TAGS">
\r
155 <BEGIN><</BEGIN>
\r
159 <!-- SGML entities -->
\r
160 <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
\r
161 <BEGIN>&</BEGIN>
\r
166 <RULES SET="TAGS" DEFAULT="MARKUP">
\r
167 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-script">
\r
168 <BEGIN><!--script</BEGIN>
\r
172 <SPAN TYPE="LITERAL1" DELEGATE="TAGS_LITERAL">
\r
177 <SPAN TYPE="LITERAL1" DELEGATE="TAGS_LITERAL">
\r
182 <SEQ TYPE="OPERATOR">=</SEQ>
\r
185 <RULES SET="TAGS_LITERAL" DEFAULT="LITERAL1">
\r
186 <SPAN TYPE="LABEL" DELEGATE="powerdynamo-script">
\r
187 <BEGIN><!--script</BEGIN>
\r
192 <RULES SET="powerdynamo-script" ESCAPE="\" HIGHLIGHT_DIGITS="TRUE">
\r
194 <PROPERTY NAME="commentStart" VALUE="/*" />
\r
195 <PROPERTY NAME="lineComment" VALUE="//" />
\r
198 <SPAN TYPE="COMMENT1">
\r
203 <SPAN TYPE="LITERAL1">
\r
207 <SPAN TYPE="LITERAL1">
\r
212 <EOL_SPAN TYPE="COMMENT1">//</EOL_SPAN>
\r
214 <SEQ TYPE="OPERATOR">=</SEQ>
\r
215 <SEQ TYPE="OPERATOR">!</SEQ>
\r
216 <SEQ TYPE="OPERATOR">>=</SEQ>
\r
217 <SEQ TYPE="OPERATOR"><=</SEQ>
\r
218 <SEQ TYPE="OPERATOR">=</SEQ>
\r
219 <SEQ TYPE="OPERATOR">+</SEQ>
\r
220 <SEQ TYPE="OPERATOR">-</SEQ>
\r
221 <SEQ TYPE="OPERATOR">/</SEQ>
\r
222 <SEQ TYPE="OPERATOR">*</SEQ>
\r
223 <SEQ TYPE="OPERATOR">></SEQ>
\r
224 <SEQ TYPE="OPERATOR"><</SEQ>
\r
225 <SEQ TYPE="OPERATOR">%</SEQ>
\r
226 <SEQ TYPE="OPERATOR">&</SEQ>
\r
227 <SEQ TYPE="OPERATOR">|</SEQ>
\r
228 <SEQ TYPE="OPERATOR">^</SEQ>
\r
229 <SEQ TYPE="OPERATOR">~</SEQ>
\r
230 <SEQ TYPE="OPERATOR">.</SEQ>
\r
231 <SEQ TYPE="OPERATOR">}</SEQ>
\r
232 <SEQ TYPE="OPERATOR">{</SEQ>
\r
233 <SEQ TYPE="OPERATOR">,</SEQ>
\r
234 <SEQ TYPE="OPERATOR">;</SEQ>
\r
235 <SEQ TYPE="OPERATOR">]</SEQ>
\r
236 <SEQ TYPE="OPERATOR">[</SEQ>
\r
237 <SEQ TYPE="OPERATOR">?</SEQ>
\r
238 <SEQ TYPE="OPERATOR">@</SEQ>
\r
239 <SEQ TYPE="OPERATOR">:</SEQ>
\r
241 <MARK_PREVIOUS TYPE="FUNCTION" MATCH_TYPE="OPERATOR">(</MARK_PREVIOUS>
\r
242 <SEQ TYPE="OPERATOR">)</SEQ>
\r
245 <!-- Language constructs (24) -->
\r
246 <KEYWORD1>abstract</KEYWORD1>
\r
247 <KEYWORD1>break</KEYWORD1>
\r
248 <KEYWORD1>byte</KEYWORD1>
\r
249 <KEYWORD1>boolean</KEYWORD1>
\r
250 <KEYWORD1>catch</KEYWORD1>
\r
251 <KEYWORD1>case</KEYWORD1>
\r
252 <KEYWORD1>class</KEYWORD1>
\r
253 <KEYWORD1>char</KEYWORD1>
\r
254 <KEYWORD1>continue</KEYWORD1>
\r
255 <KEYWORD1>default</KEYWORD1>
\r
256 <KEYWORD1>double</KEYWORD1>
\r
257 <KEYWORD1>do</KEYWORD1>
\r
258 <KEYWORD1>else</KEYWORD1>
\r
259 <KEYWORD1>exists</KEYWORD1>
\r
260 <KEYWORD1>extends</KEYWORD1>
\r
261 <KEYWORD1>false</KEYWORD1>
\r
262 <KEYWORD1>file</KEYWORD1>
\r
263 <KEYWORD1>final</KEYWORD1>
\r
264 <KEYWORD1>float</KEYWORD1>
\r
265 <KEYWORD1>for</KEYWORD1>
\r
266 <KEYWORD1>finally</KEYWORD1>
\r
267 <KEYWORD1>function</KEYWORD1>
\r
268 <KEYWORD1>if</KEYWORD1>
\r
269 <KEYWORD1>import</KEYWORD1>
\r
270 <KEYWORD1>implements</KEYWORD1>
\r
271 <KEYWORD1>int</KEYWORD1>
\r
272 <KEYWORD1>interface</KEYWORD1>
\r
273 <KEYWORD1>instanceof</KEYWORD1>
\r
274 <KEYWORD1>long</KEYWORD1>
\r
275 <KEYWORD1>length</KEYWORD1>
\r
276 <KEYWORD1>native</KEYWORD1>
\r
277 <KEYWORD1>new</KEYWORD1>
\r
278 <KEYWORD1>null</KEYWORD1>
\r
279 <KEYWORD1>package</KEYWORD1>
\r
280 <KEYWORD1>private</KEYWORD1>
\r
281 <KEYWORD1>protected</KEYWORD1>
\r
282 <KEYWORD1>public</KEYWORD1>
\r
283 <KEYWORD1>return</KEYWORD1>
\r
284 <KEYWORD1>switch</KEYWORD1>
\r
285 <KEYWORD1>synchronized</KEYWORD1>
\r
286 <KEYWORD1>short</KEYWORD1>
\r
287 <KEYWORD1>static</KEYWORD1>
\r
288 <KEYWORD1>super</KEYWORD1>
\r
289 <KEYWORD1>try</KEYWORD1>
\r
290 <KEYWORD1>true</KEYWORD1>
\r
291 <KEYWORD1>this</KEYWORD1>
\r
292 <KEYWORD1>throw</KEYWORD1>
\r
293 <KEYWORD1>throws</KEYWORD1>
\r
294 <KEYWORD1>threadsafe</KEYWORD1>
\r
295 <KEYWORD1>transient</KEYWORD1>
\r
296 <KEYWORD1>var</KEYWORD1>
\r
297 <KEYWORD1>void</KEYWORD1>
\r
298 <KEYWORD1>while</KEYWORD1>
\r
301 <KEYWORD2></KEYWORD2>
\r
302 <KEYWORD2>document</KEYWORD2>
\r
303 <KEYWORD2>connection</KEYWORD2>
\r
304 <KEYWORD2>file</KEYWORD2>
\r
305 <KEYWORD2>query</KEYWORD2>
\r
306 <KEYWORD2>session</KEYWORD2>
\r
307 <KEYWORD2>site</KEYWORD2>
\r
308 <KEYWORD2>system</KEYWORD2>
\r
309 <KEYWORD2>typeof</KEYWORD2>
\r
311 <!-- methods & attributes -->
\r
312 <KEYWORD3>AskQuestion</KEYWORD3>
\r
313 <KEYWORD3>autoCommit</KEYWORD3>
\r
314 <KEYWORD3>Close</KEYWORD3>
\r
315 <KEYWORD3>Commit</KEYWORD3>
\r
316 <KEYWORD3>Connect</KEYWORD3>
\r
317 <KEYWORD3>CreateConnection</KEYWORD3>
\r
318 <KEYWORD3>CreateDocument</KEYWORD3>
\r
319 <KEYWORD3>CreatePropertySheet</KEYWORD3>
\r
320 <KEYWORD3>CreateQuery</KEYWORD3>
\r
321 <KEYWORD3>CreateWizard</KEYWORD3>
\r
322 <KEYWORD3>cachedOutputTimeOut</KEYWORD3>
\r
323 <KEYWORD3>charAt</KEYWORD3>
\r
324 <KEYWORD3>connected</KEYWORD3>
\r
325 <KEYWORD3>connection</KEYWORD3>
\r
326 <KEYWORD3>connectionId</KEYWORD3>
\r
327 <KEYWORD3>connectionName</KEYWORD3>
\r
328 <KEYWORD3>connectionType</KEYWORD3>
\r
329 <KEYWORD3>connectParameters</KEYWORD3>
\r
330 <KEYWORD3>contentType</KEYWORD3>
\r
331 <KEYWORD3>DeleteConnection</KEYWORD3>
\r
332 <KEYWORD3>DeleteDocument</KEYWORD3>
\r
333 <KEYWORD3>Disconnect</KEYWORD3>
\r
334 <KEYWORD3>database</KEYWORD3>
\r
335 <KEYWORD3>dataSource</KEYWORD3>
\r
336 <KEYWORD3>dataSourceList</KEYWORD3>
\r
337 <KEYWORD3>description</KEYWORD3>
\r
338 <KEYWORD3>Exec</KEYWORD3>
\r
339 <KEYWORD3>Execute</KEYWORD3>
\r
340 <KEYWORD3>ExportTo</KEYWORD3>
\r
341 <KEYWORD3>eof</KEYWORD3>
\r
342 <KEYWORD3>errorNumber</KEYWORD3>
\r
343 <KEYWORD3>errorString</KEYWORD3>
\r
344 <KEYWORD3>GetColumnCount</KEYWORD3>
\r
345 <KEYWORD3>GetColumnIndex</KEYWORD3>
\r
346 <KEYWORD3>GetColumnLabel</KEYWORD3>
\r
347 <KEYWORD3>GetConnection</KEYWORD3>
\r
348 <KEYWORD3>GetConnectionIdList</KEYWORD3>
\r
349 <KEYWORD3>GetConnectionNameList</KEYWORD3>
\r
350 <KEYWORD3>GetCWD</KEYWORD3>
\r
351 <KEYWORD3>GetDirectory</KEYWORD3>
\r
352 <KEYWORD3>GetDocument</KEYWORD3>
\r
353 <KEYWORD3>GetEmpty</KEYWORD3>
\r
354 <KEYWORD3>GetEnv</KEYWORD3>
\r
355 <KEYWORD3>GetErrorCode</KEYWORD3>
\r
356 <KEYWORD3>GetErrorInfo</KEYWORD3>
\r
357 <KEYWORD3>GetEventList</KEYWORD3>
\r
358 <KEYWORD3>GetFilePtr</KEYWORD3>
\r
359 <KEYWORD3>GetGenerated</KEYWORD3>
\r
360 <KEYWORD3>GetRootDocument</KEYWORD3>
\r
361 <KEYWORD3>GetRowCount</KEYWORD3>
\r
362 <KEYWORD3>GetServerVariable</KEYWORD3>
\r
363 <KEYWORD3>GetState</KEYWORD3>
\r
364 <KEYWORD3>GetSupportedMoves</KEYWORD3>
\r
365 <KEYWORD3>GetValue</KEYWORD3>
\r
366 <KEYWORD3>ImportFrom</KEYWORD3>
\r
367 <KEYWORD3>Include</KEYWORD3>
\r
368 <KEYWORD3>id</KEYWORD3>
\r
369 <KEYWORD3>indexOf</KEYWORD3>
\r
370 <KEYWORD3>lastIndexOf</KEYWORD3>
\r
371 <KEYWORD3>lastModified</KEYWORD3>
\r
372 <KEYWORD3>length</KEYWORD3>
\r
373 <KEYWORD3>location</KEYWORD3>
\r
374 <KEYWORD3>Move</KEYWORD3>
\r
375 <KEYWORD3>MoveFirst</KEYWORD3>
\r
376 <KEYWORD3>MoveLast</KEYWORD3>
\r
377 <KEYWORD3>MoveNext</KEYWORD3>
\r
378 <KEYWORD3>MovePrevious</KEYWORD3>
\r
379 <KEYWORD3>MoveRelative</KEYWORD3>
\r
380 <KEYWORD3>mode</KEYWORD3>
\r
381 <KEYWORD3>name</KEYWORD3>
\r
382 <KEYWORD3>OnEvent</KEYWORD3>
\r
383 <KEYWORD3>Open</KEYWORD3>
\r
384 <KEYWORD3>Opened</KEYWORD3>
\r
385 <KEYWORD3>parent</KEYWORD3>
\r
386 <KEYWORD3>password</KEYWORD3>
\r
387 <KEYWORD3>ReadChar</KEYWORD3>
\r
388 <KEYWORD3>ReadLine</KEYWORD3>
\r
389 <KEYWORD3>Refresh</KEYWORD3>
\r
390 <KEYWORD3>Rollback</KEYWORD3>
\r
391 <KEYWORD3>redirect</KEYWORD3>
\r
392 <KEYWORD3>Seek</KEYWORD3>
\r
393 <KEYWORD3>SetEnv</KEYWORD3>
\r
394 <KEYWORD3>SetSQL</KEYWORD3>
\r
395 <KEYWORD3>ShowMessage</KEYWORD3>
\r
396 <KEYWORD3>substring</KEYWORD3>
\r
397 <KEYWORD3>server</KEYWORD3>
\r
398 <KEYWORD3>simulateCursors</KEYWORD3>
\r
399 <KEYWORD3>size</KEYWORD3>
\r
400 <KEYWORD3>source</KEYWORD3>
\r
401 <KEYWORD3>status</KEYWORD3>
\r
402 <KEYWORD3>timeOut</KEYWORD3>
\r
403 <KEYWORD3>toLowerCase</KEYWORD3>
\r
404 <KEYWORD3>toUpperCase</KEYWORD3>
\r
405 <KEYWORD3>type</KEYWORD3>
\r
406 <KEYWORD3>userId</KEYWORD3>
\r
407 <KEYWORD3>value</KEYWORD3>
\r
408 <KEYWORD3>WriteLine</KEYWORD3>
\r
409 <KEYWORD3>Write</KEYWORD3>
\r
410 <KEYWORD3>write</KEYWORD3>
\r
411 <KEYWORD3>writeln</KEYWORD3>
\r
415 <RULES IGNORE_CASE="TRUE" SET="powerdynamo-tag-general">
\r
416 <SPAN TYPE="LITERAL1">
\r
420 <SPAN TYPE="LITERAL1">
\r
426 <KEYWORD2>NAME</KEYWORD2>
\r
430 <RULES IGNORE_CASE="TRUE" SET="powerdynamo-tag-data">
\r
431 <SPAN TYPE="LITERAL1">
\r
435 <SPAN TYPE="LITERAL1">
\r
441 <KEYWORD2>NAME</KEYWORD2>
\r
442 <KEYWORD2>QUERY</KEYWORD2>
\r
446 <RULES IGNORE_CASE="TRUE" SET="powerdynamo-tag-document">
\r
447 <SPAN TYPE="LITERAL1">
\r
451 <SPAN TYPE="LITERAL1">
\r
457 <KEYWORD2>CONTENT_TYPE</KEYWORD2>
\r
458 <KEYWORD2>REDIRECT</KEYWORD2>
\r
459 <KEYWORD2>STATUS</KEYWORD2>
\r
460 <KEYWORD2>CACHED_OUTPUT_TIMEOUT</KEYWORD2>
\r