2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"blue",
"purple",
"gray",
"brown",
"blue");
21 $this->quotecolour =
"blue";
22 $this->blockcommentcolour =
"green";
23 $this->linecommentcolour =
"green";
27 $this->indent = array();
28 $this->unindent = array();
32 $this->stringchars = array();
33 $this->delimiters = array(
"~",
"!",
"@",
"%",
"^",
"&",
"*",
"(",
")",
"+",
"=",
"|",
"\\",
"/",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
".",
"?");
38 $this->linecommenton = array(
"!");
39 $this->blockcommenton = array(
"!");
40 $this->blockcommentoff = array(
"!");
44 $this->keywords = array(
45 "begin-footing" =>
"1",
46 "begin-heading" =>
"1",
47 "begin-procedure" =>
"1",
48 "begin-program" =>
"1",
49 "begin-report" =>
"1",
53 "end-procedure" =>
"1",
58 "alter-printer" =>
"2",
59 "begin-document" =>
"2",
60 "begin-select" =>
"2",
62 "declare-chart" =>
"2",
63 "declare-image" =>
"2",
64 "declare-layout" =>
"2",
65 "declare-printer" =>
"2",
66 "declare-procedure" =>
"2",
67 "declare-report" =>
"2",
69 "end-document" =>
"2",
84 "array-divide" =>
"4",
85 "array-multiply" =>
"4",
86 "array-subtract" =>
"4",
96 "create-array" =>
"4",
101 "dollar-symbol" =>
"4",
104 "end-evaluate" =>
"4",
120 "money-symbol" =>
"4",
125 "next-column" =>
"4",
126 "next-listing" =>
"4",
127 "no-formfeed" =>
"4",
129 "page-number" =>
"4",
133 "print-bar-code" =>
"4",
134 "print-chart" =>
"4",
135 "print-direct" =>
"4",
136 "print-image" =>
"4",
137 "printer-deinit" =>
"4",
138 "printer-init" =>
"4",
150 "use-printer-type" =>
"4",
151 "use-procedure" =>
"4",
155 "#current-column" =>
"5",
156 "#current-line" =>
"5",
158 "#page-count" =>
"5",
159 "#return-status" =>
"5",
161 "#sql-status" =>
"5",
164 "$sqr-database" =>
"5",
165 "$sqr-platform" =>
"5",
166 "$sqr-program" =>
"5",
167 "$sqr-report" =>
"5",
175 "after-report" =>
"5",
184 "before-bold" =>
"5",
185 "before-page" =>
"5",
186 "before-report" =>
"5",
189 "bottom-margin" =>
"5",
201 "clear-screen" =>
"5",
223 "for-reading" =>
"5",
224 "for-reports" =>
"5",
225 "for-writing" =>
"5",
244 "left-margin" =>
"5",
246 "legend-placement" =>
"5",
247 "legend-presentation" =>
"5",
248 "legend-title" =>
"5",
250 "line-height" =>
"5",
260 "max-columns" =>
"5",
278 "orientation" =>
"5",
281 "pie-segment-explode" =>
"5",
282 "pie-segment-percent-display" =>
"5",
283 "pie-segment-quantity-display" =>
"5",
285 "point-markers" =>
"5",
288 "printer-type" =>
"5",
294 "return_value" =>
"5",
296 "right-margin" =>
"5",
310 "sqr-database" =>
"5",
311 "sqr-platform" =>
"5",
313 "startup-file" =>
"5",
342 "x-axis-grid" =>
"5",
343 "x-axis-label" =>
"5",
344 "x-axis-major-increment" =>
"5",
345 "x-axis-major-tick-marks" =>
"5",
346 "x-axis-max-value" =>
"5",
347 "x-axis-min-value" =>
"5",
348 "x-axis-minor-increment" =>
"5",
349 "x-axis-minor-tick-marks" =>
"5",
350 "x-axis-scale" =>
"5",
351 "x-axis-tick-mark-placement" =>
"5",
353 "y-axis-grid" =>
"5",
354 "y-axis-label" =>
"5",
355 "y-axis-major-increment" =>
"5",
356 "y-axis-major-tick-marks" =>
"5",
357 "y-axis-max-value" =>
"5",
358 "y-axis-min-value" =>
"5",
359 "y-axis-minor-increment" =>
"5",
360 "y-axis-minor-tick-marks" =>
"5",
361 "y-axis-scale" =>
"5",
362 "y-axis-tick-mark-placement" =>
"5");
371 $this->linkscripts = array(