6 {
8
9
10
11
12
13
14$this->nocase = "0";
15$this->notrim = "0";
16$this->perl = "0";
17
18
19
20$this->colours = array("blue", "blue", "purple", "brown", "brown", "gray", "gray", "", "purple", "");
21$this->quotecolour = "blue";
22$this->blockcommentcolour = "green";
23$this->linecommentcolour = "green";
24
25
26
27$this->indent = array("{");
28$this->unindent = array("}");
29
30
31
32$this->stringchars = array("\"", "'");
33$this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
34$this->escchar = "";
35
36
37
38$this->linecommenton = array("#");
39$this->blockcommenton = array("/*");
40$this->blockcommentoff = array("*/");
41
42
43
44$this->keywords = array(
45 "append_catalog_path" => "1",
46 "append_graphics_path" => "1",
47 "append_load_path" => "1",
48 "append_path" => "1",
49 "buffer_create" => "1",
50 "buffer_doc" => "1",
51 "caller" => "1",
52 "catch" => "1",
53 "cmd_exists" => "1",
54 "count" => "1",
55 "defined" => "1",
56 "delete" => "1",
57 "eval" => "5",
58 "execute" => "5",
59 "high_bound" => "1",
60 "insert_buffer" => "1",
61 "low_bound" => "1",
62 "option" => "1",
63 "package_file" => "1",
64 "package_name" => "1",
65 "packages" => "1",
66 "require" => "5",
67 "throw" => "1",
68 "channel_set_callback" => "2",
69 "content_model" => "4",
70 "context_paths" => "2",
71 "context_string" => "2",
72 "in_context" => "2",
73 "in_context_list" => "2",
74 "open_accept" => "2",
75 "open_connect" => "2",
76 "open_listen" => "2",
77 "pack" => "8",
78 "read" => "7",
79 "tag_content" => "4",
80 "unpack" => "8",
81 "write" => "7",
82 "current_doc" => "3",
83 "doc_close" => "3",
84 "doc_list" => "3",
85 "doc_name" => "3",
86 "doc_open" => "3",
87 "doc_parent" => "3",
88 "doc_path" => "3",
89 "doc_set_path" => "3",
90 "doc_show" => "3",
91 "doc_valid" => "3",
92 "doc_window" => "3",
93 "file_selector" => "3",
94 "list_response" => "3",
95 "panel_popup" => "3",
96 "path_doc" => "3",
97 "response" => "3",
98 "save_some_docs" => "3",
99 "base_tag_name" => "4",
100 "char_entity_names" => "4",
101 "division_tag" => "4",
102 "dl_call" => "4",
103 "dl_error" => "4",
104 "dl_find" => "4",
105 "dl_load" => "4",
106 "dl_unload" => "4",
107 "doc_type" => "4",
108 "doc_type_dir" => "4",
109 "dtd_decl_path" => "4",
110 "dtd_tag" => "4",
111 "entity_tag" => "4",
112 "file_entity_tag" => "4",
113 "fosi_public_id" => "4",
114 "graphic_entity_attr_name" => "4",
115 "graphic_entity_tag" => "4",
116 "graphic_tag_name" => "4",
117 "graphic_file_attr_name" => "4",
118 "marked_section_tag" => "4",
119 "notation_tag" => "4",
120 "path_public_ids" => "4",
121 "procins_tag" => "4",
122 "public_id" => "4",
123 "public_id_path" => "4",
124 "sgml_feature" => "4",
125 "tag_attr_choices" => "4",
126 "tag_attr_default" => "4",
127 "tag_attr_required" => "4",
128 "tag_attr_type" => "4",
129 "tag_attr_value" => "4",
130 "tag_attrs" => "4",
131 "tag_display" => "5",
132 "tag_exists" => "4",
133 "tag_has_attr" => "4",
134 "tag_names" => "4",
135 "text_entity_tag" => "4",
136 "user_tag_names" => "4",
137 "addrequiredtags" => "5",
138 "alias" => "5",
139 "aliases" => "5",
140 "attribute" => "5",
141 "autoload" => "5",
142 "beep" => "5",
143 "bitmapdisplay" => "5",
144 "break" => "5",
145 "buffers" => "5",
146 "caret" => "5",
147 "case" => "5",
148 "change_entity" => "5",
149 "change_tag" => "5",
150 "characters" => "5",
151 "check_completeness" => "5",
152 "clear_mark" => "5",
153 "comments" => "5",
154 "context" => "5",
155 "continue" => "5",
156 "copy_file" => "5",
157 "copy_keymap" => "5",
158 "copy_mark" => "5",
159 "create_file_entity" => "5",
160 "declare_entity" => "5",
161 "declare_graphic_entity" => "5",
162 "declare_ms_parameter" => "5",
163 "declare_notation" => "5",
164 "declare_text_entity" => "5",
165 "define_keymap" => "5",
166 "define_tag" => "5",
167 "delete_buffer" => "5",
168 "delete_character" => "5",
169 "delete_entity" => "5",
170 "delete_mark" => "5",
171 "delete_tag" => "5",
172 "detail" => "5",
173 "dirdot" => "5",
174 "directory" => "5",
175 "dirfontpercent" => "5",
176 "dirheading" => "5",
177 "dironly" => "5",
178 "dirorder" => "5",
179 "dirtext" => "5",
180 "dirupdate" => "5",
181 "doctypespath" => "5",
182 "edit" => "5",
183 "editfontpercent" => "5",
184 "editor" => "5",
185 "expressions" => "5",
186 "fileentityfontcolor" => "5",
187 "fileentitymarkers" => "5",
188 "find" => "5",
189 "fontpercent" => "5",
190 "for" => "5",
191 "fosi" => "5",
192 "fosiwarnings" => "5",
193 "fulljust" => "5",
194 "fullkeymap" => "5",
195 "gentext" => "5",
196 "gentextfontcolor" => "5",
197 "gentexttagdisplay" => "5",
198 "graphicdisplay" => "5",
199 "help" => "5",
200 "helpfontpercent" => "5",
201 "hookname" => "5",
202 "ids" => "5",
203 "if/else" => "5",
204 "indent" => "5",
205 "inputmode" => "5",
206 "insert_accent" => "5",
207 "insert_entity" => "5",
208 "insert_graphic" => "5",
209 "insert_graphic_entity" => "5",
210 "insert_marked_section" => "5",
211 "insert_pi" => "5",
212 "insert_string" => "5",
213 "insert_table" => "5",
214 "insert_tag" => "9",
215 "invoke_processor" => "5",
216 "join" => "5",
217 "keymap" => "5",
218 "language" => "5",
219 "link" => "5",
220 "load_buffers" => "5",
221 "loadmessages" => "5",
222 "loadpath" => "5",
223 "lookup" => "5",
224 "map" => "5",
225 "mark" => "5",
226 "menu" => "5",
227 "menu_add" => "5",
228 "menu_change" => "5",
229 "menu_copy" => "5",
230 "menu_delete" => "5",
231 "menu_load" => "5",
232 "menu_move" => "5",
233 "menu_reset" => "5",
234 "menu_save" => "5",
235 "message" => "5",
236 "modified" => "6",
237 "modify_entity" => "5",
238 "modify_file_entities" => "5",
239 "modify_graphic_entities" => "5",
240 "modify_marked_section" => "5",
241 "modify_ms_parameters" => "5",
242 "modify_notation" => "5",
243 "modify_tag" => "9",
244 "modify_text_entities" => "5",
245 "more" => "5",
246 "move_file" => "5",
247 "new" => "5",
248 "newline" => "5",
249 "options" => "5",
250 "outline" => "5",
251 "package" => "5",
252 "paste" => "9",
253 "pendingdelete" => "5",
254 "print" => "5",
255 "printer" => "5",
256 "quit" => "9",
257 "readvar" => "5",
258 "redisplay" => "5",
259 "remove_file" => "5",
260 "rename_entity" => "5",
261 "rename_notation" => "5",
262 "rename_tag" => "5",
263 "repeat" => "5",
264 "replace" => "5",
265 "requireattrs" => "5",
266 "rochange" => "5",
267 "save" => "9",
268 "save_as" => "5",
269 "save_buffers" => "5",
270 "search" => "5",
271 "selectionsvc" => "5",
272 "selectscan" => "5",
273 "set" => "5",
274 "sgmlselection" => "5",
275 "sh" => "5",
276 "show" => "5",
277 "showattrs" => "5",
278 "showentities" => "5",
279 "shownewlines" => "5",
280 "source" => "5",
281 "spell" => "5",
282 "split" => "8",
283 "substitute" => "5",
284 "tabledisplay" => "5",
285 "tablefit" => "5",
286 "tagfontpercent" => "5",
287 "tagidisplay" => "5",
288 "tagnames" => "5",
289 "tagscan" => "5",
290 "textentityfontcolor" => "5",
291 "time" => "9",
292 "translate" => "5",
293 "unalias" => "5",
294 "undeclare_entity" => "5",
295 "undeclare_notation" => "5",
296 "undefine_keymap" => "5",
297 "undefine_tag" => "5",
298 "undo" => "5",
299 "units" => "5",
300 "unmap" => "5",
301 "unsetvar" => "5",
302 "usertags" => "5",
303 "variables" => "5",
304 "version" => "5",
305 "wait" => "5",
306 "while" => "5",
307 "window" => "5",
308 "windows" => "5",
309 "wrapscan" => "5",
310 "write8bit" => "5",
311 "writecheck" => "5",
312 "caret_at" => "6",
313 "current_tag_attr_value" => "6",
314 "current_tag_name" => "6",
315 "edit_id" => "6",
316 "edit_new_window" => "6",
317 "entity" => "6",
318 "entity_doc" => "6",
319 "entity_exists" => "6",
320 "entity_first" => "6",
321 "entity_last" => "6",
322 "entity_name" => "6",
323 "forward_char" => "6",
324 "goto_oid" => "8",
325 "insert" => "6",
326 "inside_tag" => "6",
327 "looking_at" => "6",
328 "mouse_in_selection" => "6",
329 "oid_delete_attr" => "8",
330 "oid_modify_attr" => "8",
331 "oid_top_pos" => "8",
332 "scroll_to_oid" => "8",
333 "selected" => "6",
334 "selection_balanced" => "6",
335 "selection_end" => "8",
336 "selection_start" => "8",
337 "absolute_file_name" => "7",
338 "access" => "7",
339 "basename" => "7",
340 "chr" => "8",
341 "close" => "7",
342 "dirname" => "7",
343 "eof" => "7",
344 "exit_editor" => "7",
345 "expand_file_name" => "7",
346 "file_directory" => "7",
347 "file_mtime" => "9",
348 "file_newer" => "7",
349 "file_size" => "7",
350 "file_system" => "7",
351 "flush" => "7",
352 "getline" => "7",
353 "getpid" => "7",
354 "glob" => "7",
355 "hex" => "8",
356 "init_done" => "7",
357 "key_cmd" => "7",
358 "keymap_exists" => "7",
359 "max" => "7",
360 "menu_checked" => "7",
361 "menu_cmd" => "7",
362 "menu_exists" => "7",
363 "menu_item_count" => "7",
364 "menu_popup" => "7",
365 "min" => "7",
366 "oct" => "8",
367 "open" => "7",
368 "ord" => "8",
369 "put" => "7",
370 "pwd" => "7",
371 "seek" => "7",
372 "tell" => "7",
373 "truncate" => "7",
374 "umask" => "7",
375 "chop" => "8",
376 "dupl" => "8",
377 "gsub" => "8",
378 "index" => "8",
379 "length" => "8",
380 "match" => "8",
381 "match_length" => "8",
382 "match_result" => "8",
383 "match_start" => "8",
384 "oid_attr" => "8",
385 "oid_attr_list" => "8",
386 "oid_attr_required" => "8",
387 "oid_attr_type" => "8",
388 "oid_backward" => "8",
389 "oid_caret" => "8",
390 "oid_caret_offset" => "8",
391 "oid_caret_pos" => "8",
392 "oid_check_attr" => "8",
393 "oid_child" => "8",
394 "oid_children" => "8",
395 "oid_content" => "8",
396 "oid_current_tag" => "8",
397 "oid_detailed" => "8",
398 "oid_doc" => "8",
399 "oid_emptyoid_entity_first" => "8",
400 "oid_entity_last" => "8",
401 "oid_first" => "8",
402 "oid_forward" => "8",
403 "oid_has_attr" => "8",
404 "oid_in_doc" => "8",
405 "oid_last" => "8",
406 "oid_level" => "8",
407 "oid_mouse_pos" => "8",
408 "oid_name" => "8",
409 "oid_next" => "8",
410 "oid_null" => "8",
411 "oid_parent" => "8",
412 "oid_prev" => "8",
413 "oid_protected" => "8",
414 "oid_same_doc" => "8",
415 "oid_select" => "8",
416 "oid_type" => "8",
417 "oid_valid" => "8",
418 "reverse" => "8",
419 "rindex" => "8",
420 "span" => "8",
421 "sub" => "8",
422 "substr" => "8",
423 "tolower" => "8",
424 "toupper" => "8",
425 "trim" => "8",
426 "context_error" => "9",
427 "create" => "9",
428 "ctime" => "9",
429 "cut" => "9",
430 "destroy" => "9",
431 "editbeforehook" => "9",
432 "editfilehook" => "9",
433 "elapsed_time" => "9",
434 "entity_path" => "9",
435 "exclude_tag" => "9",
436 "goto_cell" => "9",
437 "modify_graphic" => "9",
438 "newfilehook" => "9",
439 "print_panel" => "9",
440 "tbl_caret_col" => "9",
441 "tbl_caret_row" => "9",
442 "tbl_col_count" => "9",
443 "tbl_quit" => "9",
444 "tbl_resize" => "9",
445 "tbl_row_count" => "9",
446 "time_date" => "9",
447 "timer_add_callback" => "9",
448 "timer_remove_callback" => "9",
449 "times" => "9",
450 "window_class" => "9",
451 "window_close" => "9",
452 "window_create" => "9",
453 "window_destroy" => "9",
454 "window_doc" => "9",
455 "window_get" => "9",
456 "window_id" => "9",
457 "window_list" => "9",
458 "window_lower" => "9",
459 "window_mask" => "9",
460 "window_name" => "9",
461 "window_open" => "9",
462 "window_raise" => "9",
463 "window_set" => "9",
464 "window_show" => "9",
465 "window_state" => "9",
466 "window_sync" => "9",
467 "window_xid" => "9",
468 "$ENV" => "10",
469 "$ERROR" => "10",
470 "$OFS" => "10",
471 "$ORS" => "10",
472 "$SYMTAB" => "10",
473 "$adept_path" => "10",
474 "$currentcolumn" => "10",
475 "$currentline" => "10",
476 "$dirname" => "10",
477 "$dirselect" => "10",
478 "$docname" => "10",
479 "$doctype" => "10",
480 "$filename" => "10",
481 "$progname" => "10",
482 "$selection" => "10",
483 "$sh_status" => "10",
484 "$status" => "10",
485 "$system" => "10",
486 "$tagname" => "10",
487 "$topline" => "10",
488 "$version" => "10",
489 "$version_date" => "10",
490 "$winsys" => "10",
491 "APTACCEPTC" => "10",
492 "APTCATPATH" => "10",
493 "APTDICTPATH" => "10",
494 "APTGRPATH" => "10",
495 "APTLANGAPTMENUFILE" => "10",
496 "APTLOADPATH" => "10",
497 "APTMOUSE" => "10",
498 "APTPATH" => "10",
499 "APTRCFILE" => "10",
500 "APTSTARTUP" => "10",
501 "APTTBLWIDTH" => "10",
502 "APTUNDOLIM" => "10");
503
504
505
506
507
508
509
510
511$this->linkscripts = array(
512 "1" => "donothing",
513 "5" => "donothing",
514 "2" => "donothing",
515 "4" => "donothing",
516 "8" => "donothing",
517 "7" => "donothing",
518 "3" => "donothing",
519 "9" => "donothing",
520 "6" => "donothing",
521 "10" => "donothing");
522}