ILIAS  Release_4_1_x_branch Revision 61804
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_clips.php
Go to the documentation of this file.
1 <?php
2 $BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
3 if (!isset ($BEAUT_PATH)) return;
4 require_once("$BEAUT_PATH/Beautifier/HFile.php");
5  class HFile_clips extends HFile{
6  function HFile_clips(){
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 //
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "0";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "purple", "gray", "brown");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array();
28 $this->unindent = array();
29 
30 // String characters and delimiters
31 
32 $this->stringchars = array();
33 $this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
34 $this->escchar = "";
35 
36 // Comment settings
37 
38 $this->linecommenton = array("");
39 $this->blockcommenton = array("");
40 $this->blockcommentoff = array("");
41 
42 // Keywords (keyword mapping to colour number)
43 
44 $this->keywords = array(
45  "/L10" => "",
46  "\"CLIPS\"" => "",
47  "Line" => "",
48  "Comment" => "",
49  "=" => "",
50  ";" => "",
51  "File" => "",
52  "Extensions" => "",
53  "CLP" => "",
54  "and" => "1",
55  "bind" => "1",
56  "break" => "1",
57  "defglobal" => "1",
58  "deffunction" => "1",
59  "evenp" => "1",
60  "else" => "1",
61  "eq" => "1",
62  "floatpfloatp" => "1",
63  "FALSE" => "1",
64  "if" => "1",
65  "integerp" => "1",
66  "lexemep" => "1",
67  "loop-for-count" => "1",
68  "multifieldp" => "1",
69  "neq" => "1",
70  "not" => "1",
71  "numberp" => "1",
72  "or" => "1",
73  "oddp" => "1",
74  "pointerp" => "1",
75  "progn" => "1",
76  "progn$" => "1",
77  "return" => "1",
78  "stringp" => "1",
79  "switch" => "1",
80  "symbolp" => "1",
81  "then" => "1",
82  "TRUE" => "1",
83  "while" => "1",
84  "acos" => "2",
85  "acosh" => "2",
86  "acot" => "2",
87  "acoth" => "2",
88  "acsc" => "2",
89  "acsch" => "2",
90  "asec" => "2",
91  "asech" => "2",
92  "asin" => "2",
93  "asinh" => "2",
94  "atan" => "2",
95  "atanh" => "2",
96  "abs" => "2",
97  "assert" => "2",
98  "assert-string" => "2",
99  "build" => "2",
100  "create$" => "2",
101  "cos" => "2",
102  "cosh" => "2",
103  "cot" => "2",
104  "coth" => "2",
105  "csc" => "2",
106  "csch" => "2",
107  "close" => "2",
108  "call-next-method" => "2",
109  "call-specific-method" => "2",
110  "class" => "2",
111  "class-abstractp" => "2",
112  "class-existp" => "2",
113  "class-reactivep" => "2",
114  "class-slots" => "2",
115  "class-subclasses" => "2",
116  "class-superclasses" => "2",
117  "call-next-handler" => "2",
118  "delete$" => "2",
119  "deg-grad" => "2",
120  "deg-rad" => "2",
121  "div" => "2",
122  "defgeneric-module" => "2",
123  "duplicate" => "2",
124  "deftemplate-module" => "2",
125  "defrule-module" => "2",
126  "defglobal-module" => "2",
127  "deffunction-module" => "2",
128  "dynamic-get" => "2",
129  "dynamic-put" => "2",
130  "direct-slot-delete$" => "2",
131  "direct-slot-insert$" => "2",
132  "direct-slot-replace$" => "2",
133  "defclass-module" => "2",
134  "definstances-module" => "2",
135  "delete-instance" => "2",
136  "eval" => "2",
137  "explode$" => "2",
138  "exp" => "2",
139  "expand$" => "2",
140  "first$" => "2",
141  "float" => "2",
142  "format" => "2",
143  "fact-index" => "2",
144  "get-sequence-operator-recognition" => "2",
145  "gensym" => "2",
146  "get-function_restrictions" => "2",
147  "grad-deg" => "2",
148  "get-defgeneric-list" => "2",
149  "get-defmethod-list" => "2",
150  "get-method-restrictions" => "2",
151  "get-deftemplate-list" => "2",
152  "get-defrule-list" => "2",
153  "get-defmodule-list" => "2",
154  "get-defglobal-list" => "2",
155  "get-deffunction-list" => "2",
156  "get-focus" => "2",
157  "get-focus-stack" => "2",
158  "get-defclass-list" => "2",
159  "get-defmessage-handler-list" => "2",
160  "get-definstances-list" => "2",
161  "implode$" => "2",
162  "insert$" => "2",
163  "integer" => "2",
164  "instance-addressp" => "2",
165  "instance-existp" => "2",
166  "instance-namep" => "2",
167  "instancep" => "2",
168  "init-slots" => "2",
169  "instance-address" => "2",
170  "instance-name" => "2",
171  "instance-name-to-symbol" => "2",
172  "lowcase" => "2",
173  "length$" => "2",
174  "length" => "2",
175  "log" => "2",
176  "log10" => "2",
177  "member$" => "2",
178  "mod" => "2",
179  "max" => "2",
180  "min" => "2",
181  "modify" => "2",
182  "message-handler-existp" => "2",
183  "nth$" => "2",
184  "next-handlerp" => "2",
185  "next-methodp" => "2",
186  "open" => "2",
187  "override-next-handler" => "2",
188  "override-next-method" => "2",
189  "pi" => "2",
190  "printout" => "2",
191  "pop-focus" => "2",
192  "replace$" => "2",
193  "rest$" => "2",
194  "random" => "2",
195  "rad-deg" => "2",
196  "round" => "2",
197  "read" => "2",
198  "readline" => "2",
199  "remove" => "2",
200  "rename" => "2",
201  "retract" => "2",
202  "str-length" => "2",
203  "sub-string" => "2",
204  "sym-cat" => "2",
205  "str-cat" => "2",
206  "str-compare" => "2",
207  "str-index" => "2",
208  "set-sequence-operator-recognition" => "2",
209  "subseq$" => "2",
210  "subsetp" => "2",
211  "seed" => "2",
212  "setgen" => "2",
213  "sec" => "2",
214  "sech" => "2",
215  "sin" => "2",
216  "sinh" => "2",
217  "sqrt" => "2",
218  "slot-delete$" => "2",
219  "slot-insert$" => "2",
220  "slot-replace$" => "2",
221  "symbol-to-instance-name" => "2",
222  "slot-allowed-values" => "2",
223  "slot-cardinality" => "2",
224  "slot-direct-accessp" => "2",
225  "slot-existp" => "2",
226  "slot-facets" => "2",
227  "slot-initablep" => "2",
228  "slot-publicp" => "2",
229  "slot-range" => "2",
230  "slot-sources" => "2",
231  "slot-types" => "2",
232  "slot-writablep" => "2",
233  "subclassp" => "2",
234  "superclassp" => "2",
235  "time" => "2",
236  "tan" => "2",
237  "tanh" => "2",
238  "type" => "2",
239  "upcase" => "2",
240  "unmake-instance" => "2",
241  "app-create" => "3",
242  "app-get-show-frame-on-init" => "3",
243  "app-on-init" => "3",
244  "app-set-show-frame-on-init" => "3",
245  "arc-annotation-get-name" => "3",
246  "arc-image-change-attachment" => "3",
247  "arc-image-control-point-add" => "3",
248  "arc-image-control-point-count" => "3",
249  "arc-image-control-point-move" => "3",
250  "arc-image-control-point-remove" => "3",
251  "arc-image-control-point-x" => "3",
252  "arc-image-control-point-y" => "3",
253  "arc-image-create" => "3",
254  "arc-image-get-alignment-type" => "3",
255  "arc-image-get-attachment-from" => "3",
256  "arc-image-get-attachment-to" => "3",
257  "arc-image-get-image-from" => "3",
258  "arc-image-get-image-to" => "3",
259  "arc-image-is-leg" => "3",
260  "arc-image-is-spline" => "3",
261  "arc-image-is-stem" => "3",
262  "arc-image-set-alignment-type" => "3",
263  "arc-image-set-spline" => "3",
264  "batch" => "3",
265  "begin-busy-cursor" => "3",
266  "bell" => "3",
267  "brush-create" => "3",
268  "brush-delete" => "3",
269  "button-create" => "3",
270  "button-create-from-bitmap" => "3",
271  "bitmap-create" => "3",
272  "bitmap-delete" => "3",
273  "bitmap-get-colourmap" => "3",
274  "bitmap-get-height" => "3",
275  "bitmap-get-width" => "3",
276  "bitmap-load-from-file" => "3",
277  "canvas-scroll" => "3",
278  "canvas-set-scroll-page-y" => "3",
279  "canvas-set-scroll-pos-x" => "3",
280  "canvas-set-scroll-pos-y" => "3",
281  "canvas-set-scroll-range-x" => "3",
282  "canvas-set-scroll-range-y" => "3",
283  "canvas-view-start-x" => "3",
284  "canvas-view-start-y" => "3",
285  "card-create" => "3",
286  "card-delete" => "3",
287  "card-deselect-all" => "3",
288  "card-find-by-title" => "3",
289  "card-get-canvas" => "3",
290  "card-get-first-item" => "3",
291  "card-get-frame" => "3",
292  "card-get-height" => "3",
293  "card-get-next-item" => "3",
294  "card-get-special-item" => "3",
295  "card-get-string-attribute" => "3",
296  "card-get-toolbar" => "3",
297  "card-get-width" => "3",
298  "card-get-x" => "3",
299  "card-get-y" => "3",
300  "card-iconize" => "3",
301  "card-is-modified" => "3",
302  "card-is-shown" => "3",
303  "card-is-valid" => "3",
304  "card-move" => "3",
305  "card-quit" => "3",
306  "card-select-all" => "3",
307  "card-send-command" => "3",
308  "card-set-icon" => "3",
309  "card-set-modified" => "3",
310  "card-set-status-text" => "3",
311  "card-set-string-attribute" => "3",
312  "card-show" => "3",
313  "chdir" => "3",
314  "clean-windows" => "3",
315  "clear-ide-window" => "3",
316  "clear-resources" => "3",
317  "copy-file" => "3",
318  "cursor-create" => "3",
319  "cursor-delete" => "3",
320  "cursor-load-from-file" => "3",
321  "connection-advise" => "3",
322  "connection-execute" => "3",
323  "connection-disconnect" => "3",
324  "connection-poke" => "3",
325  "connection-request" => "3",
326  "connection-start-advise" => "3",
327  "connection-stop-advise" => "3",
328  "client-create" => "3",
329  "colour-create" => "3",
330  "colour-red" => "3",
331  "colour-green" => "3",
332  "colour-blue" => "3",
333  "client-make-connection" => "3",
334  "choice-create" => "3",
335  "choice-append" => "3",
336  "choice-find-string" => "3",
337  "choice-clear" => "3",
338  "choice-get-selection" => "3",
339  "choice-get-string-selection" => "3",
340  "choice-set-selection" => "3",
341  "choice-set-string-selection" => "3",
342  "choice-get-string" => "3",
343  "check-box-create" => "3",
344  "check-box-set-value" => "3",
345  "check-box-get-value" => "3",
346  "canvas-create" => "3",
347  "canvas-get-dc" => "3",
348  "canvas-get-scroll-page-x" => "3",
349  "canvas-get-scroll-page-y" => "3",
350  "canvas-get-scroll-pos-x" => "3",
351  "canvas-get-scroll-pos-y" => "3",
352  "canvas-get-scroll-range-x" => "3",
353  "canvas-get-scroll-range-y" => "3",
354  "canvas-get-scroll-pixels-per-unit-x" => "3",
355  "canvas-on-char" => "3",
356  "canvas-on-scroll" => "3",
357  "canvas-set-scrollbars" => "3",
358  "canvas-set-scroll-page-x" => "3",
359  "container-region-add-node-image" => "3",
360  "container-region-remove-node-image" => "3",
361  "convert-bitmap-to-rtf" => "3",
362  "convert-metafile-to-rtf" => "3",
363  "database-close" => "3",
364  "database-create" => "3",
365  "database-delete" => "3",
366  "database-error-occurred" => "3",
367  "database-get-data-source" => "3",
368  "database-get-database-name" => "3",
369  "database-get-error-code" => "3",
370  "database-get-error-message" => "3",
371  "database-get-error-number" => "3",
372  "database-is-open" => "3",
373  "database-open" => "3",
374  "date-add-days" => "3",
375  "date-add-months" => "3",
376  "date-add-self" => "3",
377  "date-add-weeks" => "3",
378  "date-add-years" => "3",
379  "date-create" => "3",
380  "date-create-julian" => "3",
381  "date-create-string" => "3",
382  "date-delete" => "3",
383  "date-eq" => "3",
384  "date-format" => "3",
385  "date-ge" => "3",
386  "date-geq" => "3",
387  "date-get-day" => "3",
388  "date-get-day-of-week" => "3",
389  "date-get-day-of-week-name" => "3",
390  "date-get-day-of-year" => "3",
391  "date-get-days-in-month" => "3",
392  "date-get-first-day-of-month" => "3",
393  "date-get-julian-date" => "3",
394  "date-get-month" => "3",
395  "date-get-month-end" => "3",
396  "date-get-month-name" => "3",
397  "date-get-month-start" => "3",
398  "date-get-week-of-month" => "3",
399  "date-get-week-of-year" => "3",
400  "date-get-year" => "3",
401  "date-get-year-end" => "3",
402  "date-get-year-start" => "3",
403  "date-is-leap-year" => "3",
404  "date-l" => "3",
405  "date-leq" => "3",
406  "date-neq" => "3",
407  "date-set-current-date" => "3",
408  "date-set-date" => "3",
409  "date-set-format" => "3",
410  "date-set-julian" => "3",
411  "date-set-option" => "3",
412  "date-subtract" => "3",
413  "date-subtract-days" => "3",
414  "date-subtract-self" => "3",
415  "dc-begin-drawing" => "3",
416  "dc-blit" => "3",
417  "dc-clear" => "3",
418  "dc-delete" => "3",
419  "dc-destroy-clipping-region" => "3",
420  "dc-draw-ellipse" => "3",
421  "dc-draw-line" => "3",
422  "dc-draw-lines" => "3",
423  "dc-draw-point" => "3",
424  "dc-draw-polygon" => "3",
425  "dc-draw-rectangle" => "3",
426  "dc-draw-rounded-rectangle" => "3",
427  "dc-draw-spline" => "3",
428  "dc-draw-text" => "3",
429  "dc-end-doc" => "3",
430  "dc-end-drawing" => "3",
431  "dc-end-page" => "3",
432  "dc-get-max-x" => "3",
433  "dc-get-max-y" => "3",
434  "dc-get-min-x" => "3",
435  "dc-get-min-y" => "3",
436  "dc-get-text-extent-height" => "3",
437  "dc-get-text-extent-width" => "3",
438  "dc-ok" => "3",
439  "dc-set-background" => "3",
440  "dc-set-background-mode" => "3",
441  "dc-set-brush" => "3",
442  "dc-set-clipping-region" => "3",
443  "dc-set-colourmap" => "3",
444  "dc-set-font" => "3",
445  "dc-set-logical-function" => "3",
446  "dc-set-pen" => "3",
447  "dc-set-text-background" => "3",
448  "dc-set-text-foreground" => "3",
449  "dc-start-doc" => "3",
450  "dc-start-page" => "3",
451  "dde-advise-global" => "3",
452  "debug-msg" => "3",
453  "diagram-card-clear-canvas" => "3",
454  "diagram-card-copy" => "3",
455  "diagram-card-create" => "3",
456  "diagram-card-create-expansion" => "3",
457  "diagram-card-cut" => "3",
458  "diagram-card-delete-all-images" => "3",
459  "diagram-card-find-root" => "3",
460  "diagram-card-get-first-arc-image" => "3",
461  "diagram-card-get-first-arc-object" => "3",
462  "diagram-card-get-first-descendant" => "3",
463  "diagram-card-get-first-node-image" => "3",
464  "diagram-card-get-first-node-object" => "3",
465  "diagram-card-get-grid-spacing" => "3",
466  "diagram-card-get-next-arc-image" => "3",
467  "diagram-card-get-next-arc-object" => "3",
468  "diagram-card-get-next-descendant" => "3",
469  "diagram-card-get-next-node-image" => "3",
470  "diagram-card-get-next-node-object" => "3",
471  "diagram-card-get-parent-card" => "3",
472  "diagram-card-get-parent-image" => "3",
473  "diagram-card-get-print-height" => "3",
474  "diagram-card-get-print-width" => "3",
475  "diagram-card-get-scale" => "3",
476  "diagram-card-layout-graph" => "3",
477  "diagram-card-layout-tree" => "3",
478  "diagram-card-load-file" => "3",
479  "diagram-card-paste" => "3",
480  "diagram-card-popup-menu" => "3",
481  "diagram-card-print-hierarchy" => "3",
482  "diagram-card-redraw" => "3",
483  "diagram-card-save-bitmap" => "3",
484  "diagram-card-save-file" => "3",
485  "diagram-card-save-metafile" => "3",
486  "diagram-card-set-grid-spacing" => "3",
487  "diagram-card-set-layout-parameters" => "3",
488  "diagram-card-set-scale" => "3",
489  "diagram-image-add-annotation" => "3",
490  "diagram-image-annotation-get-drop-site" => "3",
491  "diagram-image-annotation-get-logical-name" => "3",
492  "diagram-image-annotation-get-name" => "3",
493  "diagram-image-delete" => "3",
494  "diagram-image-delete-annotation" => "3",
495  "diagram-image-draw" => "3",
496  "diagram-image-draw-text" => "3",
497  "diagram-image-erase" => "3",
498  "diagram-image-get-brush-colour" => "3",
499  "diagram-image-get-card" => "3",
500  "diagram-image-get-first-annotation" => "3",
501  "diagram-image-get-first-expansion" => "3",
502  "diagram-image-get-height" => "3",
503  "diagram-image-get-item" => "3",
504  "diagram-image-get-next-annotation" => "3",
505  "diagram-image-get-next-expansion" => "3",
506  "diagram-image-get-object" => "3",
507  "diagram-image-get-pen-colour" => "3",
508  "diagram-image-get-text-colour" => "3",
509  "diagram-image-get-width" => "3",
510  "diagram-image-get-x" => "3",
511  "diagram-image-get-y" => "3",
512  "diagram-image-is-shown" => "3",
513  "diagram-image-move" => "3",
514  "diagram-image-pending-delete" => "3",
515  "diagram-image-put-to-front" => "3",
516  "diagram-image-resize" => "3",
517  "diagram-image-select" => "3",
518  "diagram-image-selected" => "3",
519  "diagram-image-set-brush-colour" => "3",
520  "diagram-image-set-pen-colour" => "3",
521  "diagram-image-set-shadow-mode" => "3",
522  "diagram-image-set-text-colour" => "3",
523  "diagram-image-show" => "3",
524  "diagram-item-get-image" => "3",
525  "diagram-object-add-attribute" => "3",
526  "diagram-object-delete-attribute" => "3",
527  "diagram-object-format-text" => "3",
528  "diagram-object-get-first-attribute" => "3",
529  "diagram-object-get-first-image" => "3",
530  "diagram-object-get-next-attribute" => "3",
531  "diagram-object-get-next-image" => "3",
532  "diagram-object-get-string-attribute" => "3",
533  "diagram-object-set-format-string" => "3",
534  "diagram-object-set-string-attribute" => "3",
535  "diagram-palette-get-arc-selection" => "3",
536  "diagram-palette-get-arc-selection-image" => "3",
537  "diagram-palette-get-first-annotation-selection" => "3",
538  "diagram-palette-get-next-annotation-selection" => "3",
539  "diagram-palette-get-node-selection" => "3",
540  "diagram-palette-set-annotation-selection" => "3",
541  "diagram-palette-set-arc-selection" => "3",
542  "diagram-palette-set-node-selection" => "3",
543  "diagram-palette-show" => "3",
544  "dialog-box-create" => "3",
545  "dialog-box-create-from-resource" => "3",
546  "dialog-box-is-modal" => "3",
547  "dialog-box-set-modal" => "3",
548  "dir-exists" => "3",
549  "end-busy-cursor" => "3",
550  "event-get-event-type" => "3",
551  "execute" => "3",
552  "file-exists" => "3",
553  "file-selector" => "3",
554  "find-window-by-label" => "3",
555  "find-window-by-name" => "3",
556  "float-to-string" => "3",
557  "font-create" => "3",
558  "font-delete" => "3",
559  "frame-create" => "3",
560  "frame-create-status-line" => "3",
561  "frame-iconize" => "3",
562  "frame-on-size" => "3",
563  "frame-set-icon" => "3",
564  "frame-set-menu-bar" => "3",
565  "frame-set-status-text" => "3",
566  "frame-set-title" => "3",
567  "frame-set-tool-bar" => "3",
568  "gauge-create" => "3",
569  "gauge-set-bezel-face" => "3",
570  "gauge-set-shadow-width" => "3",
571  "gauge-set-value" => "3",
572  "get-active-window" => "3",
573  "get-choice" => "3",
574  "get-elapsed-time" => "3",
575  "get-ide-window" => "3",
576  "get-os-version" => "3",
577  "get-platform" => "3",
578  "get-resource" => "3",
579  "get-text-from-user" => "3",
580  "grid-adjust-scrollbars" => "3",
581  "grid-append-cols" => "3",
582  "grid-append-rows" => "3",
583  "grid-clear-grid" => "3",
584  "grid-create" => "3",
585  "grid-create-grid" => "3",
586  "grid-delete-cols" => "3",
587  "grid-delete-rows" => "3",
588  "grid-get-cell-alignment" => "3",
589  "grid-get-cell-background-colour" => "3",
590  "grid-get-cell-bitmap" => "3",
591  "grid-get-cell-text-colour" => "3",
592  "grid-get-cell-value" => "3",
593  "grid-get-cols" => "3",
594  "grid-get-column-width" => "3",
595  "grid-get-cursor-column" => "3",
596  "grid-get-cursor-row" => "3",
597  "grid-get-editable" => "3",
598  "grid-get-label-alignment" => "3",
599  "grid-get-label-background-colour" => "3",
600  "grid-get-label-size" => "3",
601  "grid-get-label-text-colour" => "3",
602  "grid-get-label-value" => "3",
603  "grid-get-row-height" => "3",
604  "grid-get-rows" => "3",
605  "grid-get-scroll-pos-x" => "3",
606  "grid-get-scroll-pos-y" => "3",
607  "grid-get-text-item" => "3",
608  "grid-insert-cols" => "3",
609  "grid-insert-rows" => "3",
610  "grid-on-activate" => "3",
611  "grid-on-paint" => "3",
612  "grid-on-size" => "3",
613  "grid-set-cell-alignment" => "3",
614  "grid-set-cell-background-colour" => "3",
615  "grid-set-cell-bitmap" => "3",
616  "grid-set-cell-text-colour" => "3",
617  "grid-set-cell-text-font" => "3",
618  "grid-set-cell-value" => "3",
619  "grid-set-column-width" => "3",
620  "grid-set-divider-pen" => "3",
621  "grid-set-editable" => "3",
622  "grid-set-grid-cursor" => "3",
623  "grid-set-label-alignment" => "3",
624  "grid-set-label-background-colour" => "3",
625  "grid-set-label-size" => "3",
626  "grid-set-label-text-colour" => "3",
627  "grid-set-label-text-font" => "3",
628  "grid-set-label-value" => "3",
629  "grid-set-row-height" => "3",
630  "grid-update-dimensions" => "3",
631  "group-box-create" => "3",
632  "hardy-clear-index" => "3",
633  "hardy-command-int-to-string" => "3",
634  "hardy-command-string-to-int" => "3",
635  "hardy-diagram-definition-get-first-arc-type" => "3",
636  "hardy-diagram-definition-get-first-node-type" => "3",
637  "hardy-diagram-definition-get-next-arc-type" => "3",
638  "hardy-diagram-definition-get-next-node-type" => "3",
639  "hardy-get-browser-frame" => "3",
640  "hardy-get-first-card" => "3",
641  "hardy-get-first-diagram-definition" => "3",
642  "hardy-get-next-card" => "3",
643  "hardy-get-next-diagram-definition" => "3",
644  "hardy-get-top-card" => "3",
645  "hardy-get-top-level-frame" => "3",
646  "hardy-get-version" => "3",
647  "hardy-help-display-block" => "3",
648  "hardy-help-display-contents" => "3",
649  "hardy-help-display-section" => "3",
650  "hardy-help-keyword-search" => "3",
651  "hardy-help-load-file" => "3",
652  "hardy-load-index" => "3",
653  "hardy-path-search" => "3",
654  "hardy-preview-all" => "3",
655  "hardy-preview-diagram-card" => "3",
656  "hardy-print-all" => "3",
657  "hardy-print-diagram-card" => "3",
658  "hardy-print-diagram-in-box" => "3",
659  "hardy-print-diagram-page" => "3",
660  "hardy-print-get-header-footer" => "3",
661  "hardy-print-get-info" => "3",
662  "hardy-print-header-footer" => "3",
663  "hardy-print-set-header-footer" => "3",
664  "hardy-print-set-info" => "3",
665  "hardy-print-set-title" => "3",
666  "hardy-print-text-in-box" => "3",
667  "hardy-save-index" => "3",
668  "hardy-send-command" => "3",
669  "hardy-set-about-string" => "3",
670  "hardy-set-author" => "3",
671  "hardy-set-custom-help-file" => "3",
672  "hardy-set-help-file" => "3",
673  "hardy-set-name" => "3",
674  "hardy-set-title" => "3",
675  "help-create" => "3",
676  "help-delete" => "3",
677  "help-display-block" => "3",
678  "help-display-contents" => "3",
679  "help-display-section" => "3",
680  "help-keyword-search" => "3",
681  "help-load-file" => "3",
682  "html-back" => "3",
683  "html-cancel" => "3",
684  "html-clear-cache" => "3",
685  "html-create" => "3",
686  "html-get-current-url" => "3",
687  "html-on-size" => "3",
688  "html-open-file" => "3",
689  "html-open-url" => "3",
690  "html-resize" => "3",
691  "html-save-file" => "3",
692  "hwnd-find" => "3",
693  "hwnd-iconize" => "3",
694  "hwnd-move" => "3",
695  "hwnd-quit" => "3",
696  "hwnd-refresh" => "3",
697  "hwnd-send-message" => "3",
698  "hwnd-show" => "3",
699  "hypertext-block-add" => "3",
700  "hypertext-block-clear" => "3",
701  "hypertext-block-get-item" => "3",
702  "hypertext-block-get-text" => "3",
703  "hypertext-block-get-type" => "3",
704  "hypertext-block-selected" => "3",
705  "hypertext-block-set-type" => "3",
706  "hypertext-card-create" => "3",
707  "hypertext-card-get-current-char" => "3",
708  "hypertext-card-get-current-line" => "3",
709  "hypertext-card-get-first-selection" => "3",
710  "hypertext-card-get-line-length" => "3",
711  "hypertext-card-get-next-selection" => "3",
712  "hypertext-card-get-no-lines" => "3",
713  "hypertext-card-get-offset-position" => "3",
714  "hypertext-card-get-span-text" => "3",
715  "hypertext-card-insert-text" => "3",
716  "hypertext-card-load-file" => "3",
717  "hypertext-card-save-file" => "3",
718  "hypertext-card-string-search" => "3",
719  "hypertext-card-translate" => "3",
720  "hypertext-card-translator-close-file" => "3",
721  "hypertext-card-translator-open-file" => "3",
722  "hypertext-card-translator-output" => "3",
723  "hypertext-item-get-block" => "3",
724  "icon-create" => "3",
725  "icon-delete" => "3",
726  "icon-get-height" => "3",
727  "icon-get-width" => "3",
728  "icon-load-from-file" => "3",
729  "instance-table-add-entry" => "3",
730  "instance-table-delete-entry" => "3",
731  "instance-table-get-instance" => "3",
732  "item-get-first-link" => "3",
733  "item-get-kind" => "3",
734  "item-get-next-link" => "3",
735  "item-get-type" => "3",
736  "item-goto" => "3",
737  "item-set-kind" => "3",
738  "key-event-alt-down" => "3",
739  "key-event-control-down" => "3",
740  "key-event-get-key-code" => "3",
741  "key-event-position-x" => "3",
742  "key-event-position-y" => "3",
743  "key-event-shift-down" => "3",
744  "link-cards" => "3",
745  "link-get-card-from" => "3",
746  "link-get-card-to" => "3",
747  "link-get-item-from" => "3",
748  "link-get-item-to" => "3",
749  "link-get-kind" => "3",
750  "link-get-type" => "3",
751  "link-items" => "3",
752  "link-set-kind" => "3",
753  "list-box-append" => "3",
754  "list-box-clear" => "3",
755  "list-box-create" => "3",
756  "list-box-delete" => "3",
757  "list-box-find-string" => "3",
758  "list-box-get-first-selection" => "3",
759  "list-box-get-next-selection" => "3",
760  "list-box-get-selection" => "3",
761  "list-box-get-string" => "3",
762  "list-box-get-string-selection" => "3",
763  "list-box-number" => "3",
764  "list-box-set-selection" => "3",
765  "list-box-set-string-selection" => "3",
766  "load-resource-file" => "3",
767  "long-to-string" => "3",
768  "make-metafile-placeable" => "3",
769  "mci-send-string" => "3",
770  "media-block-create" => "3",
771  "media-block-get-item" => "3",
772  "media-block-get-position" => "3",
773  "media-block-get-type" => "3",
774  "media-block-set-type" => "3",
775  "media-card-append-text" => "3",
776  "media-card-apply-family" => "3",
777  "media-card-apply-foreground-colour" => "3",
778  "media-card-apply-point-size" => "3",
779  "media-card-apply-style" => "3",
780  "media-card-apply-underline" => "3",
781  "media-card-apply-weight" => "3",
782  "media-card-clear" => "3",
783  "media-card-clear-all-blocks" => "3",
784  "media-card-copy" => "3",
785  "media-card-create" => "3",
786  "media-card-cut" => "3",
787  "media-card-delete" => "3",
788  "media-card-find-string" => "3",
789  "media-card-get-character" => "3",
790  "media-card-get-first-block" => "3",
791  "media-card-get-last-position" => "3",
792  "media-card-get-line-for-position" => "3",
793  "media-card-get-line-length" => "3",
794  "media-card-get-next-block" => "3",
795  "media-card-get-number-of-lines" => "3",
796  "media-card-get-position-for-line" => "3",
797  "media-card-get-selection-end" => "3",
798  "media-card-get-selection-start" => "3",
799  "media-card-get-text" => "3",
800  "media-card-insert-image" => "3",
801  "media-card-insert-text" => "3",
802  "media-card-load-file" => "3",
803  "media-card-paste" => "3",
804  "media-card-redo" => "3",
805  "media-card-save-file" => "3",
806  "media-card-scroll-to-position" => "3",
807  "media-card-select-block" => "3",
808  "media-card-set-selection" => "3",
809  "media-card-undo" => "3",
810  "media-item-get-block" => "3",
811  "memory-dc-create" => "3",
812  "memory-dc-select-object" => "3",
813  "menu-append" => "3",
814  "menu-append-separator" => "3",
815  "menu-bar-append" => "3",
816  "menu-bar-check" => "3",
817  "menu-bar-checked" => "3",
818  "menu-bar-create" => "3",
819  "menu-bar-enable" => "3",
820  "menu-break" => "3",
821  "menu-check" => "3",
822  "menu-create" => "3",
823  "menu-enable" => "3",
824  "message-box" => "3",
825  "message-create" => "3",
826  "message-create-from-bitmap" => "3",
827  "metafile-dc-close" => "3",
828  "metafile-dc-create" => "3",
829  "metafile-delete" => "3",
830  "metafile-set-clipboard" => "3",
831  "mkdir" => "3",
832  "mouse-event-button" => "3",
833  "mouse-event-button-down" => "3",
834  "mouse-event-control-down" => "3",
835  "mouse-event-dragging" => "3",
836  "mouse-event-is-button" => "3",
837  "mouse-event-left-down" => "3",
838  "mouse-event-left-up" => "3",
839  "mouse-event-middle-down" => "3",
840  "mouse-event-middle-up" => "3",
841  "mouse-event-position-x" => "3",
842  "mouse-event-position-y" => "3",
843  "mouse-event-right-down" => "3",
844  "mouse-event-right-up" => "3",
845  "mouse-event-shift-down" => "3",
846  "multi-text-copy" => "3",
847  "multi-text-create" => "3",
848  "multi-text-cut" => "3",
849  "multi-text-get-insertion-point" => "3",
850  "multi-text-get-last-position" => "3",
851  "multi-text-get-line-length" => "3",
852  "multi-text-get-number-of-lines" => "3",
853  "multi-text-get-value" => "3",
854  "multi-text-paste" => "3",
855  "multi-text-position-to-char" => "3",
856  "multi-text-position-to-line" => "3",
857  "multi-text-remove" => "3",
858  "multi-text-replace" => "3",
859  "multi-text-set-insertion-point" => "3",
860  "multi-text-set-selection" => "3",
861  "multi-text-set-value" => "3",
862  "multi-text-show-position" => "3",
863  "multi-text-write" => "3",
864  "multi-text-xy-to-position" => "3",
865  "node-image-create" => "3",
866  "node-image-duplicate" => "3",
867  "node-image-get-container" => "3",
868  "node-image-get-container-parent" => "3",
869  "node-image-get-first-arc-image" => "3",
870  "node-image-get-first-child" => "3",
871  "node-image-get-first-container-region" => "3",
872  "node-image-get-next-arc-image" => "3",
873  "node-image-get-next-child" => "3",
874  "node-image-get-next-container-region" => "3",
875  "node-image-get-parent" => "3",
876  "node-image-is-composite" => "3",
877  "node-image-is-container" => "3",
878  "node-image-is-junction" => "3",
879  "node-image-order-arcs" => "3",
880  "node-object-get-first-arc-object" => "3",
881  "node-object-get-next-arc-object" => "3",
882  "now" => "3",
883  "object-get-type" => "3",
884  "object-is-valid" => "3",
885  "object-type-get-first-attribute-name" => "3",
886  "object-type-get-next-attribute-name" => "3",
887  "panel-create" => "3",
888  "panel-create-from-resource" => "3",
889  "panel-item-get-command-event" => "3",
890  "panel-item-get-label" => "3",
891  "panel-item-set-default" => "3",
892  "panel-item-set-label" => "3",
893  "panel-new-line" => "3",
894  "panel-set-button-font" => "3",
895  "panel-set-label-font" => "3",
896  "panel-set-label-position" => "3",
897  "pen-create" => "3",
898  "pen-delete" => "3",
899  "postscript-dc-create" => "3",
900  "printer-dc-create" => "3",
901  "quit" => "3",
902  "radio-box-create" => "3",
903  "radio-box-get-selection" => "3",
904  "radio-box-set-selection" => "3",
905  "read-string" => "3",
906  "recordset-create" => "3",
907  "recordset-delete" => "3",
908  "recordset-execute-sql" => "3",
909  "recordset-get-char-data" => "3",
910  "recordset-get-col-name" => "3",
911  "recordset-get-col-type" => "3",
912  "recordset-get-columns" => "3",
913  "recordset-get-data-sources" => "3",
914  "recordset-get-database" => "3",
915  "recordset-get-error-code" => "3",
916  "recordset-get-filter" => "3",
917  "recordset-get-float-data" => "3",
918  "recordset-get-foreign-keys" => "3",
919  "recordset-get-int-data" => "3",
920  "recordset-get-number-cols" => "3",
921  "recordset-get-number-fields" => "3",
922  "recordset-get-number-params" => "3",
923  "recordset-get-number-records" => "3",
924  "recordset-get-primary-keys" => "3",
925  "recordset-get-result-set" => "3",
926  "recordset-get-table-name" => "3",
927  "recordset-get-tables" => "3",
928  "recordset-goto" => "3",
929  "recordset-is-bof" => "3",
930  "recordset-is-col-nullable" => "3",
931  "recordset-is-eof" => "3",
932  "recordset-is-field-dirty" => "3",
933  "recordset-is-field-null" => "3",
934  "recordset-is-open" => "3",
935  "recordset-move" => "3",
936  "recordset-move-first" => "3",
937  "recordset-move-last" => "3",
938  "recordset-move-next" => "3",
939  "recordset-move-prev" => "3",
940  "recordset-query" => "3",
941  "recordset-set-table-name" => "3",
942  "register-event-handler" => "3",
943  "return-result" => "3",
944  "rmdir" => "3",
945  "server-create" => "3",
946  "set-work-proc" => "3",
947  "show-ide-window" => "3",
948  "sleep" => "3",
949  "slider-create" => "3",
950  "slider-get-value" => "3",
951  "slider-set-value" => "3",
952  "start-timer" => "3",
953  "string-sort" => "3",
954  "string-to-float" => "3",
955  "string-to-long" => "3",
956  "string-to-symbol" => "3",
957  "symbol-to-string" => "3",
958  "text-card-load-file" => "3",
959  "text-create" => "3",
960  "text-get-value" => "3",
961  "text-set-value" => "3",
962  "text-window-clear" => "3",
963  "text-window-copy" => "3",
964  "text-window-create" => "3",
965  "text-window-cut" => "3",
966  "text-window-discard-edits" => "3",
967  "text-window-get-contents" => "3",
968  "text-window-get-insertion-point" => "3",
969  "text-window-get-last-position" => "3",
970  "text-window-get-line-length" => "3",
971  "text-window-get-number-of-lines" => "3",
972  "text-window-load-file" => "3",
973  "text-window-modified" => "3",
974  "text-window-on-char" => "3",
975  "text-window-paste" => "3",
976  "text-window-position-to-char" => "3",
977  "text-window-position-to-line" => "3",
978  "text-window-remove" => "3",
979  "text-window-replace" => "3",
980  "text-window-save-file" => "3",
981  "text-window-set-editable" => "3",
982  "text-window-set-insertion-point" => "3",
983  "text-window-set-selection" => "3",
984  "text-window-show-position" => "3",
985  "text-window-write" => "3",
986  "text-window-xy-to-position" => "3",
987  "timer-create" => "3",
988  "timer-delete" => "3",
989  "timer-start" => "3",
990  "timer-stop" => "3",
991  "toolbar-add-separator" => "3",
992  "toolbar-add-tool" => "3",
993  "toolbar-clear-tools" => "3",
994  "toolbar-create" => "3",
995  "toolbar-create-tools" => "3",
996  "toolbar-enable-tool" => "3",
997  "toolbar-get-max-height" => "3",
998  "toolbar-get-max-width" => "3",
999  "toolbar-get-tool-client-data" => "3",
1000  "toolbar-get-tool-enabled" => "3",
1001  "toolbar-get-tool-long-help" => "3",
1002  "toolbar-get-tool-short-help" => "3",
1003  "toolbar-get-tool-state" => "3",
1004  "toolbar-layout" => "3",
1005  "toolbar-on-paint" => "3",
1006  "toolbar-set-default-size" => "3",
1007  "toolbar-set-margins" => "3",
1008  "toolbar-set-tool-long-help" => "3",
1009  "toolbar-set-tool-short-help" => "3",
1010  "toolbar-toggle-tool" => "3",
1011  "window-add-callback" => "3",
1012  "window-centre" => "3",
1013  "window-close" => "3",
1014  "window-delete" => "3",
1015  "window-enable" => "3",
1016  "window-fit" => "3",
1017  "window-get-client-height" => "3",
1018  "window-get-client-width" => "3",
1019  "window-get-height" => "3",
1020  "window-get-name" => "3",
1021  "window-get-next-child" => "3",
1022  "window-get-parent" => "3",
1023  "window-get-width" => "3",
1024  "window-get-x" => "3",
1025  "window-get-y" => "3",
1026  "window-is-shown" => "3",
1027  "window-make-modal" => "3",
1028  "window-popup-menu" => "3",
1029  "window-refresh" => "3",
1030  "window-remove-callback" => "3",
1031  "window-set-client-size" => "3",
1032  "window-set-cursor" => "3",
1033  "window-set-focus" => "3",
1034  "window-set-size" => "3",
1035  "window-set-size-hints" => "3",
1036  "window-show" => "3",
1037  "write-resource" => "3",
1038  "wxclips-object-exists" => "3",
1039  "yield" => "3",
1040  "CardDelete" => "4",
1041  "CardDeleteAllLinks" => "4",
1042  "CardDeleteLink" => "4",
1043  "CardEditFilename" => "4",
1044  "CardEditTitle" => "4",
1045  "CardGotoControlWindow" => "4",
1046  "CardLinkNewCard" => "4",
1047  "CardLinkToSelection" => "4",
1048  "CardOpenFile" => "4",
1049  "CardOrderLinks" => "4",
1050  "CardQuit" => "4",
1051  "CardSaveFile" => "4",
1052  "CardSaveFileAs" => "4",
1053  "CardSelectItem" => "4",
1054  "CardToggleLinkPanel" => "4",
1055  "DiagramAddAnnotation" => "4",
1056  "DiagramAddControl" => "4",
1057  "DiagramApplyDefinition" => "4",
1058  "DiagramBrowse" => "4",
1059  "DiagramChangeFont" => "4",
1060  "DiagramClearAll" => "4",
1061  "DiagramCopy" => "4",
1062  "DiagramCopyDiagram" => "4",
1063  "DiagramCopySelection" => "4",
1064  "DiagramCopyToClipboard" => "4",
1065  "DiagramCut" => "4",
1066  "DiagramDeleteAnnotation" => "4",
1067  "DiagramDeleteControl" => "4",
1068  "DiagramDeselectAll" => "4",
1069  "DiagramDuplicateSelection" => "4",
1070  "DiagramEditOptions" => "4",
1071  "DiagramFormatGraph" => "4",
1072  "DiagramFormatText" => "4",
1073  "DiagramFormatTree" => "4",
1074  "DiagramGotoRoot" => "4",
1075  "DiagramHelp" => "4",
1076  "DiagramHorizontalAlign" => "4",
1077  "DiagramHorizontalAlignBottom" => "4",
1078  "DiagramHorizontalAlignTop" => "4",
1079  "DiagramNewExpansion" => "4",
1080  "DiagramPaste" => "4",
1081  "DiagramPrint" => "4",
1082  "DiagramPrintAll" => "4",
1083  "DiagramPrintEPS" => "4",
1084  "DiagramPrintPreview" => "4",
1085  "DiagramRefresh" => "4",
1086  "DiagramSaveBitmap" => "4",
1087  "DiagramSaveMetafile" => "4",
1088  "DiagramSelectAll" => "4",
1089  "DiagramStraighten" => "4",
1090  "DiagramToBack" => "4",
1091  "DiagramToFront" => "4",
1092  "DiagramTogglePalette" => "4",
1093  "DiagramToggleToolbar" => "4",
1094  "DiagramVerticalAlign" => "4",
1095  "DiagramVerticalAlignLeft" => "4",
1096  "DiagramVerticalAlignRight" => "4",
1097  "DiagramZoom100" => "4",
1098  "DiagramZoom30" => "4",
1099  "DiagramZoom40" => "4",
1100  "DiagramZoom50" => "4",
1101  "DiagramZoom60" => "4",
1102  "DiagramZoom70" => "4",
1103  "DiagramZoom80" => "4",
1104  "DiagramZoom90" => "4",
1105  "HardyBrowseFiles" => "4",
1106  "HardyClearIndex" => "4",
1107  "HardyConfigure" => "4",
1108  "HardyDeselectAllItems" => "4",
1109  "HardyDrawTree" => "4",
1110  "HardyExit" => "4",
1111  "HardyFindOrphans" => "4",
1112  "HardyHelpAbout" => "4",
1113  "HardyHelpContents" => "4",
1114  "HardyHelpSearch" => "4",
1115  "HardyLoadApplication" => "4",
1116  "HardyLoadFile" => "4",
1117  "HardyPrint" => "4",
1118  "HardyPrintPreview" => "4",
1119  "HardyPrintSetup" => "4",
1120  "HardySaveFile" => "4",
1121  "HardySaveFileAs" => "4",
1122  "HardySearchCards" => "4",
1123  "HardyShowArcSymbolEditor" => "4",
1124  "HardyShowDevelopmentWindow" => "4",
1125  "HardyShowDiagramManager" => "4",
1126  "HardyShowHypertextManager" => "4",
1127  "HardyShowNodeSymbolEditor" => "4",
1128  "HardyShowPackageTool" => "4",
1129  "HardyShowSymbolLibrarian" => "4",
1130  "HardyViewTopCard" => "4");
1131 
1132 // Special extensions
1133 
1134 // Each category can specify a PHP function that returns an altered
1135 // version of the keyword.
1136 
1137 
1138 
1139 $this->linkscripts = array(
1140  "" => "donothing",
1141  "1" => "donothing",
1142  "2" => "donothing",
1143  "3" => "donothing",
1144  "4" => "donothing");
1145 }
1146 
1147 
1148 function donothing($keywordin)
1149 {
1150  return $keywordin;
1151 }
1152 
1153 }?>