2 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours =
array(
"blue",
"gray",
"purple");
25 $this->quotecolour =
"blue";
26 $this->blockcommentcolour =
"green";
27 $this->linecommentcolour =
"green";
31 $this->indent =
array(
"IF",
"DO CASE",
"SCAN",
"DO WHIL",
"FOR");
32 $this->unindent =
array(
"ELSE",
"ENDI",
"ENDC",
"ENDS",
"ENDF",
"CASE",
"DEFAULT");
36 $this->stringchars =
array();
37 $this->delimiters =
array(
"~",
"!",
"@",
"%",
"^",
"&",
"*",
"-",
"+",
"=",
"|",
"{",
"}",
"[",
"]",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
"?");
42 $this->linecommenton =
array(
"*");
43 $this->blockcommenton =
array(
"&&");
44 $this->blockcommentoff =
array(
"");
48 $this->keywords =
array(
154 "DEVELOPMENT" =>
"1",
180 "ENDPRINTJOB" =>
"1",
183 "ENVIRONMENT" =>
"1",
243 "INFORMATION" =>
"1",
296 "MULTISELECT" =>
"1",
307 "NOENVIRONMENT" =>
"1",
320 "NOOVERWRITE" =>
"1",
504 "\\\\SPOOLER" =>
"1",
522 "ASUBSCRIPT(" =>
"2",
552 "DDEAbortTrans(" =>
"2",
554 "DDEEnabled(" =>
"2",
555 "DDEExecute(" =>
"2",
556 "DDEInitiate(" =>
"2",
557 "DDELastError()" =>
"2",
559 "DDERequest(" =>
"2",
560 "DDESetOption(" =>
"2",
561 "DDESetService(" =>
"2",
562 "DDESetTopic(" =>
"2",
563 "DDETerminate(" =>
"2",
565 "DESCENDING(" =>
"2",
566 "DIFFERENCE(" =>
"2",
567 "DISKSPACE()" =>
"2",
593 "FONTMETRIC(" =>
"2",
613 "IDXCOLLATE(" =>
"2",
624 "ISREADONLY(" =>
"2",
672 "PARAMETERS()" =>
"2",
677 "PRINTSTATUS()" =>
"2",
843 $this->linkscripts =
array(
Create styles array
The data for the language used.