2 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours =
array(
"blue",
"purple",
"gray",
"brown",
"blue");
25 $this->quotecolour =
"blue";
26 $this->blockcommentcolour =
"green";
27 $this->linecommentcolour =
"green";
31 $this->indent =
array();
32 $this->unindent =
array();
36 $this->stringchars =
array();
37 $this->delimiters =
array(
"~",
"!",
"@",
"%",
"^",
"&",
"*",
"(",
")",
"+",
"=",
"|",
"\\",
"/",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
".",
"?");
42 $this->linecommenton =
array(
"!");
43 $this->blockcommenton =
array(
"!");
44 $this->blockcommentoff =
array(
"!");
48 $this->keywords =
array(
49 "begin-footing" =>
"1",
50 "begin-heading" =>
"1",
51 "begin-procedure" =>
"1",
52 "begin-program" =>
"1",
53 "begin-report" =>
"1",
57 "end-procedure" =>
"1",
62 "alter-printer" =>
"2",
63 "begin-document" =>
"2",
64 "begin-select" =>
"2",
66 "declare-chart" =>
"2",
67 "declare-image" =>
"2",
68 "declare-layout" =>
"2",
69 "declare-printer" =>
"2",
70 "declare-procedure" =>
"2",
71 "declare-report" =>
"2",
73 "end-document" =>
"2",
88 "array-divide" =>
"4",
89 "array-multiply" =>
"4",
90 "array-subtract" =>
"4",
100 "create-array" =>
"4",
105 "dollar-symbol" =>
"4",
108 "end-evaluate" =>
"4",
124 "money-symbol" =>
"4",
129 "next-column" =>
"4",
130 "next-listing" =>
"4",
131 "no-formfeed" =>
"4",
133 "page-number" =>
"4",
137 "print-bar-code" =>
"4",
138 "print-chart" =>
"4",
139 "print-direct" =>
"4",
140 "print-image" =>
"4",
141 "printer-deinit" =>
"4",
142 "printer-init" =>
"4",
154 "use-printer-type" =>
"4",
155 "use-procedure" =>
"4",
159 "#current-column" =>
"5",
160 "#current-line" =>
"5",
162 "#page-count" =>
"5",
163 "#return-status" =>
"5",
165 "#sql-status" =>
"5",
168 "$sqr-database" =>
"5",
169 "$sqr-platform" =>
"5",
170 "$sqr-program" =>
"5",
171 "$sqr-report" =>
"5",
179 "after-report" =>
"5",
188 "before-bold" =>
"5",
189 "before-page" =>
"5",
190 "before-report" =>
"5",
193 "bottom-margin" =>
"5",
205 "clear-screen" =>
"5",
227 "for-reading" =>
"5",
228 "for-reports" =>
"5",
229 "for-writing" =>
"5",
248 "left-margin" =>
"5",
250 "legend-placement" =>
"5",
251 "legend-presentation" =>
"5",
252 "legend-title" =>
"5",
254 "line-height" =>
"5",
264 "max-columns" =>
"5",
282 "orientation" =>
"5",
285 "pie-segment-explode" =>
"5",
286 "pie-segment-percent-display" =>
"5",
287 "pie-segment-quantity-display" =>
"5",
289 "point-markers" =>
"5",
292 "printer-type" =>
"5",
298 "return_value" =>
"5",
300 "right-margin" =>
"5",
314 "sqr-database" =>
"5",
315 "sqr-platform" =>
"5",
317 "startup-file" =>
"5",
346 "x-axis-grid" =>
"5",
347 "x-axis-label" =>
"5",
348 "x-axis-major-increment" =>
"5",
349 "x-axis-major-tick-marks" =>
"5",
350 "x-axis-max-value" =>
"5",
351 "x-axis-min-value" =>
"5",
352 "x-axis-minor-increment" =>
"5",
353 "x-axis-minor-tick-marks" =>
"5",
354 "x-axis-scale" =>
"5",
355 "x-axis-tick-mark-placement" =>
"5",
357 "y-axis-grid" =>
"5",
358 "y-axis-label" =>
"5",
359 "y-axis-major-increment" =>
"5",
360 "y-axis-major-tick-marks" =>
"5",
361 "y-axis-max-value" =>
"5",
362 "y-axis-min-value" =>
"5",
363 "y-axis-minor-increment" =>
"5",
364 "y-axis-minor-tick-marks" =>
"5",
365 "y-axis-scale" =>
"5",
366 "y-axis-tick-mark-placement" =>
"5");
375 $this->linkscripts =
array(
Create styles array
The data for the language used.