10 {
12
13
14
15
16
17
18 $this->nocase = "1";
19 $this->notrim = "0";
20 $this->perl = "0";
21
22
23
24 $this->colours = array("blue", "purple", "gray", "brown", "blue");
25 $this->quotecolour = "blue";
26 $this->blockcommentcolour = "green";
27 $this->linecommentcolour = "green";
28
29
30
31 $this->indent = array();
32 $this->unindent = array();
33
34
35
36 $this->stringchars = array();
37 $this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
38 $this->escchar = "";
39
40
41
42 $this->linecommenton = array("//");
43 $this->blockcommenton = array("/*");
44 $this->blockcommentoff = array("*/");
45
46
47
48 $this->keywords = array(
49 "break" => "1",
50 "by" => "1",
51 "change" => "1",
52 "const" => "1",
53 "continue" => "1",
54 "do" => "1",
55 "else" => "1",
56 "for" => "1",
57 "if" => "1",
58 "in" => "1",
59 "return" => "1",
60 "then" => "1",
61 "while" => "1",
62 "AccessRec" => "2",
63 "Array" => "2",
64 "AttrDef" => "2",
65 "AttrType" => "2",
66 "Baseline" => "2",
67 "Bitmap" => "2",
68 "Buffer" => "2",
69 "bool" => "2",
70 "Column" => "2",
71 "char" => "2",
72 "Date" => "2",
73 "DB" => "2",
74 "DBE" => "2",
75 "Filter" => "2",
76 "History" => "2",
77 "HistoryType" => "2",
78 "int" => "2",
79 "InPlaceEditEvent" => "2",
80 "IPC" => "2",
81 "Link" => "2",
82 "Linkset" => "2",
83 "Module" => "2",
84 "Object" => "2",
85 "OleAutoArgs" => "2",
86 "OleAutoObj" => "2",
87 "Permission" => "2",
88 "Project" => "2",
89 "real" => "2",
90 "Regexp" => "2",
91 "ScrollEvent" => "2",
92 "ScrollSide" => "2",
93 "Sensitivity" => "2",
94 "Skip" => "2",
95 "Sort" => "2",
96 "Stat" => "2",
97 "Stream" => "2",
98 "string" => "2",
99 "Template" => "2",
100 "ToolType" => "2",
101 "Trigger" => "2",
102 "void" => "2",
103 "above" => "3",
104 "accept" => "3",
105 "ack" => "3",
106 "activateURL" => "3",
107 "active" => "3",
108 "addToolTip" => "3",
109 "addUser" => "3",
110 "addMenu" => "3",
111 "after" => "3",
112 "all" => "3",
113 "alternative" => "3",
114 "alternatives" => "3",
115 "ancestors" => "3",
116 "append" => "3",
117 "apply" => "3",
118 "arrow" => "3",
119 "attribute" => "3",
120 "attributeValue" => "3",
121 "attributes" => "3",
122 "background" => "3",
123 "before" => "3",
124 "below" => "3",
125 "beside" => "3",
126 "block" => "3",
127 "box" => "3",
128 "button" => "3",
129 "canDelete" => "3",
130 "canRead" => "3",
131 "canvas" => "3",
132 "canWrite" => "3",
133 "centered" => "3",
134 "charOf" => "3",
135 "changeBars" => "3",
136 "checkBox" => "3",
137 "choice" => "3",
138 "clear" => "3",
139 "clearClipboard" => "3",
140 "clearToolTips" => "3",
141 "client" => "3",
142 "clipboardIsEmpty" => "3",
143 "clipboardIsTransient" => "3",
144 "close" => "3",
145 "closeProject" => "3",
146 "color" => "3",
147 "confirm" => "3",
148 "confAppend" => "3",
149 "confDeleteFile" => "3",
150 "confMkdir" => "3",
151 "confRead" => "3",
152 "confRenameFile" => "3",
153 "confWrite" => "3",
154 "contents" => "3",
155 "copyFile" => "3",
156 "copyFlat" => "3",
157 "copyHier" => "3",
158 "cos" => "3",
159 "create" => "3",
160 "createString" => "3",
161 "current" => "3",
162 "cut" => "3",
163 "database" => "3",
164 "default" => "3",
165 "delete" => "3",
166 "deleteFile" => "3",
167 "deselect" => "3",
168 "destroyBitmap" => "3",
169 "directory" => "3",
170 "disconnect" => "3",
171 "display" => "3",
172 "doorsname" => "3",
173 "double" => "3",
174 "down" => "3",
175 "downgrade" => "3",
176 "draw" => "3",
177 "drawBitmap" => "3",
178 "du" => "3",
179 "dxl" => "3",
180 "edit" => "3",
181 "editor" => "3",
182 "ellipse" => "3",
183 "end" => "3",
184 "eval_" => "3",
185 "exists" => "3",
186 "exit_" => "3",
187 "false" => "3",
188 "field" => "3",
189 "fileExists_" => "3",
190 "fileOverwriteOK_" => "3",
191 "fileReadable_" => "3",
192 "fileWriteable_" => "3",
193 "fileName" => "3",
194 "filtering" => "3",
195 "find" => "3",
196 "first" => "3",
197 "flushDeletions" => "3",
198 "font" => "3",
199 "formal" => "3",
200 "full" => "3",
201 "get" => "3",
202 "getenv" => "3",
203 "getSelection" => "3",
204 "getSize" => "3",
205 "goodFileName" => "3",
206 "graphics" => "3",
207 "halt" => "3",
208 "hardDelete" => "3",
209 "hasInPlace" => "3",
210 "hasScrollbars" => "3",
211 "height" => "3",
212 "hide" => "3",
213 "home" => "3",
214 "identifier" => "3",
215 "inactive" => "3",
216 "info" => "3",
217 "inherit" => "3",
218 "inPlaceChoiceAdd" => "3",
219 "inPlaceCopy" => "3",
220 "inPlaceCut" => "3",
221 "inPlaceGet" => "3",
222 "inPlaceMove" => "3",
223 "inPlacePaste" => "3",
224 "inPlaceReset" => "3",
225 "inPlaceSet" => "3",
226 "inPlaceShow" => "3",
227 "inPlaceTextHeight" => "3",
228 "insert" => "3",
229 "intOf" => "3",
230 "isAdmin" => "3",
231 "isBatch" => "3",
232 "isDeleted" => "3",
233 "isEdit" => "3",
234 "isLocked" => "3",
235 "isLockedByUser" => "3",
236 "isNull" => "3",
237 "isRead" => "3",
238 "isSelected" => "3",
239 "isShare" => "3",
240 "isValidName" => "3",
241 "isVisible" => "3",
242 "isVisibleAttribute" => "3",
243 "justify" => "3",
244 "key" => "3",
245 "label" => "3",
246 "last" => "3",
247 "lastError" => "3",
248 "leaf" => "3",
249 "left" => "3",
250 "leftAligned" => "3",
251 "length" => "3",
252 "level" => "3",
253 "line" => "3",
254 "linkIndicators" => "3",
255 "list" => "3",
256 "load" => "3",
257 "loadBitmap" => "3",
258 "lock" => "3",
259 "lower" => "3",
260 "main" => "3",
261 "manyToMany" => "3",
262 "manyToOne" => "3",
263 "margins" => "3",
264 "match" => "3",
265 "matches" => "3",
266 "menuBar" => "3",
267 "mkdir" => "3",
268 "modified" => "3",
269 "move" => "3",
270 "multiList" => "3",
271 "name" => "3",
272 "next" => "3",
273 "noElems" => "3",
274 "noError" => "3",
275 "notNull" => "3",
276 "null" => "3",
277 "number" => "3",
278 "of" => "3",
279 "off" => "3",
280 "ok" => "3",
281 "oleCloseAutoObject" => "3",
282 "oleCopy" => "3",
283 "oleCreateAutoObject" => "3",
284 "oleCut" => "3",
285 "oleGet" => "3",
286 "oleInsert" => "3",
287 "oleIsObject" => "3",
288 "oleMethod" => "3",
289 "olePaste" => "3",
290 "olePut" => "3",
291 "on" => "3",
292 "oneToMany" => "3",
293 "oneToOne" => "3",
294 "open" => "3",
295 "openProject" => "3",
296 "opposite" => "3",
297 "outline" => "3",
298 "outlining" => "3",
299 "pageBottomMargin" => "3",
300 "pageBreakLevel" => "3",
301 "pageChangeBars" => "3",
302 "pageColumns" => "3",
303 "pageFormat" => "3",
304 "pageHeaderFooter" => "3",
305 "pageHeight" => "3",
306 "pageLayout" => "3",
307 "pageLeftMargin" => "3",
308 "pageName" => "3",
309 "pagePortrait" => "3",
310 "pageRepeatTitles" => "3",
311 "pageRightMargin" => "3",
312 "pageSize" => "3",
313 "pageTitlePage" => "3",
314 "pageTOCLevel" => "3",
315 "pageTopMargin" => "3",
316 "pageWidth" => "3",
317 "parent" => "3",
318 "parentOf" => "3",
319 "pasteDown" => "3",
320 "pasteSame" => "3",
321 "pi" => "3",
322 "platform" => "3",
323 "polygon" => "3",
324 "previous" => "3",
325 "print" => "3",
326 "progressCancelled" => "3",
327 "progressMessage" => "3",
328 "progressRange" => "3",
329 "progressStart" => "3",
330 "progressStep" => "3",
331 "progressStop" => "3",
332 "purgeObjects_" => "3",
333 "put" => "3",
334 "query" => "3",
335 "radioBox" => "3",
336 "radioButton" => "3",
337 "raise" => "3",
338 "random" => "3",
339 "read" => "3",
340 "readFile" => "3",
341 "realise" => "3",
342 "realize" => "3",
343 "realOf" => "3",
344 "rectangle" => "3",
345 "recv" => "3",
346 "refresh" => "3",
347 "reject" => "3",
348 "release" => "3",
349 "renameFile" => "3",
350 "return_" => "3",
351 "richText" => "3",
352 "right" => "3",
353 "runLim" => "3",
354 "save" => "3",
355 "scroll" => "3",
356 "scrollSet" => "3",
357 "selected" => "3",
358 "send" => "3",
359 "separator" => "3",
360 "server" => "3",
361 "set" => "3",
362 "setDef" => "3",
363 "setDefaultViewForModule" => "3",
364 "setempty" => "3",
365 "setFocus" => "3",
366 "setPos" => "3",
367 "setSelection" => "3",
368 "setSize" => "3",
369 "setVal" => "3",
370 "share" => "3",
371 "show" => "3",
372 "showDeletedModules" => "3",
373 "showDeletedObjects" => "3",
374 "showDeletedProjects" => "3",
375 "showing" => "3",
376 "sibling" => "3",
377 "sin" => "3",
378 "sizeof" => "3",
379 "slider" => "3",
380 "softDelete" => "3",
381 "sorting" => "3",
382 "source" => "3",
383 "spell" => "3",
384 "stacked" => "3",
385 "start" => "3",
386 "static" => "3",
387 "statusBar" => "3",
388 "stringOf" => "3",
389 "switch" => "3",
390 "sync" => "3",
391 "tan" => "3",
392 "target" => "3",
393 "tempFileName" => "3",
394 "text" => "3",
395 "title" => "3",
396 "today" => "3",
397 "toggle" => "3",
398 "toolBar" => "3",
399 "toolBarComboAdd" => "3",
400 "toolBarComboCount" => "3",
401 "toolBarComboEmpty" => "3",
402 "toolBarComboGetItem" => "3",
403 "toolBarComboGetSelection" => "3",
404 "toolBarComboSelect" => "3",
405 "toolButton" => "3",
406 "toolCombo" => "3",
407 "toolSpacer" => "3",
408 "toolToggle" => "3",
409 "top" => "3",
410 "topMost" => "3",
411 "true" => "3",
412 "type" => "3",
413 "undelete" => "3",
414 "unload" => "3",
415 "unlockSaveSection" => "3",
416 "unlockSaveAll" => "3",
417 "unlockDiscardSection" => "3",
418 "unlockDiscardAll" => "3",
419 "up" => "3",
420 "updateToolBars" => "3",
421 "upper" => "3",
422 "useraccess" => "3",
423 "varchar" => "3",
424 "verticalCheckBox" => "3",
425 "verticalRadioBox" => "3",
426 "view" => "3",
427 "width" => "3",
428 "write" => "3",
429 "attrDate" => "4",
430 "attrEnumeration" => "4",
431 "attrInteger" => "4",
432 "attrReal" => "4",
433 "attrString" => "4",
434 "attrText" => "4",
435 "colorBlack" => "4",
436 "colorBlue" => "4",
437 "colorBrown" => "4",
438 "colorCyan" => "4",
439 "colorDarkTurquoise" => "4",
440 "colorGreen" => "4",
441 "colorGrey" => "4",
442 "colorGrey77" => "4",
443 "colorGrey82" => "4",
444 "colorLightBlue" => "4",
445 "colorMagenta" => "4",
446 "colorMaroon" => "4",
447 "colorMediumLightBlue" => "4",
448 "colorOrange" => "4",
449 "colorPink" => "4",
450 "colorRed" => "4",
451 "colorRedGrey" => "4",
452 "colorWhite" => "4",
453 "colorYellow" => "4",
454 "ddbAvailable" => "4",
455 "ddbChecked" => "4",
456 "ddbNone" => "4",
457 "ddbUnavailable" => "4",
458 "ICD_DECREASE_LEVEL" => "4",
459 "ICD_INCREASE_LEVEL" => "4",
460 "ICD_LEVEL1" => "4",
461 "ICD_LEVEL2" => "4",
462 "ICD_LEVEL3" => "4",
463 "ICD_LEVEL4" => "4",
464 "ICD_LEVEL5" => "4",
465 "ICD_LEVEL6" => "4",
466 "ICD_LEVEL7" => "4",
467 "ICD_LEVEL8" => "4",
468 "ICD_LEVEL10" => "4",
469 "ICD_LEVELALL" => "4",
470 "ICD_OPEN_MODULE" => "4",
471 "ICD_OPEN_PROJ" => "4",
472 "inPlaceChoice" => "4",
473 "inPlaceString" => "4",
474 "inPlaceText" => "4",
475 "inPlaceTextChange" => "4",
476 "inPlaceTextFilled" => "4",
477 "keyDelete" => "4",
478 "keyDown" => "4",
479 "keyEnd" => "4",
480 "keyF1" => "4",
481 "keyF2" => "4",
482 "keyF3" => "4",
483 "keyF4" => "4",
484 "keyF5" => "4",
485 "keyF6" => "4",
486 "keyF7" => "4",
487 "keyF8" => "4",
488 "keyF9" => "4",
489 "keyF10" => "4",
490 "keyF11" => "4",
491 "keyF12" => "4",
492 "keyHelp" => "4",
493 "keyHome" => "4",
494 "keyInsert" => "4",
495 "keyLeft" => "4",
496 "keyPageDown" => "4",
497 "keyPageUp" => "4",
498 "keyRight" => "4",
499 "keyUp" => "4",
500 "logicalDefaultColor" => "4",
501 "logical0IndicatorColor" => "4",
502 "logical11IndicatorColor" => "4",
503 "logical22IndicatorColor" => "4",
504 "logical33IndicatorColor" => "4",
505 "logical44IndicatorColor" => "4",
506 "logical55IndicatorColor" => "4",
507 "logical66IndicatorColor" => "4",
508 "logical77IndicatorColor" => "4",
509 "logical88IndicatorColor" => "4",
510 "logical100IndicatorColor" => "4",
511 "logicalCurrentBackgroundColor" => "4",
512 "logicalDataTextColor" => "4",
513 "logicalDeletedTextColor" => "4",
514 "logicalHighIndicatorColor" => "4",
515 "logicalInPlaceBackgroundColor" => "4",
516 "logicalLinksInIndicatorColor" => "4",
517 "logicalLowIndicatorColor" => "4",
518 "logicalMediumIndicatorColor" => "4",
519 "logicalPageBackgroundColor" => "4",
520 "logicalReadOnlyTextColor" => "4",
521 "logicalSelectedTextColor" => "4",
522 "logicalTextBackgroundColor" => "4",
523 "logicalTitleBackgroundColor" => "4",
524 "logicalTitleTextColor" => "4",
525 "scrollDown" => "4",
526 "scrollPageDown" => "4",
527 "scrollPageUp" => "4",
528 "scrollToEnd" => "4",
529 "scrollToHome" => "4",
530 "scrollToPos" => "4",
531 "scrollUp" => "4",
532 "#include" => "5",
533 "pragma" => "5");
534
535
536
537
538
539
540
541
542 $this->linkscripts = array(
543 "1" => "donothing",
544 "2" => "donothing",
545 "3" => "donothing",
546 "4" => "donothing",
547 "5" => "donothing");
548 }