2 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours =
array(
"blue",
"purple");
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(
101 "ADDPRINTERCONNECTION" =>
"2",
102 "ADDPROGRAMGROUP" =>
"2",
103 "ADDPROGRAMITEM" =>
"2",
105 "BACKUPEVENTLOG" =>
"2",
107 "CLEAREVENTLOG" =>
"2",
109 "COMPAREFILETIMES" =>
"2",
112 "DELPRINTERCONNECTION" =>
"2",
113 "DELPROGRAMGROUP" =>
"2",
114 "DELPROGRAMITEM" =>
"2",
120 "ENUMLOCALGROUP" =>
"2",
125 "EXPANDENVIRONMENTVARS" =>
"2",
126 "GETDISKSPACE" =>
"2",
127 "GETFILEATTR" =>
"2",
128 "GETFILESIZE" =>
"2",
129 "GETFILETIME" =>
"2",
130 "GETFILEVERSION" =>
"2",
141 "OLECALLFUNC" =>
"2",
142 "OLECALLPROC" =>
"2",
143 "OLECREATEOBJECT" =>
"2",
144 "OLEENUMOBJECT" =>
"2",
145 "OLEGETOBJECT" =>
"2",
146 "OLEGETPROPERTY" =>
"2",
147 "OLEGETSUBOBJECT" =>
"2",
148 "OLEPUTPROPERTY" =>
"2",
149 "OLERELEASEOBJECT" =>
"2",
152 "READPROFILESTRING" =>
"2",
155 "REDIRECTOUTPUT" =>
"2",
160 "SENDMESSAGE" =>
"2",
163 "SETDEFAULTPRINTER" =>
"2",
164 "SETFILEATTR" =>
"2",
166 "SETWALLPAPER" =>
"2",
167 "SHOWPROGRAMGROUP" =>
"2",
175 "WRITEPROFILESTRING" =>
"2",
176 "WRITEVALUE" =>
"2");
185 $this->linkscripts =
array(
Create styles array
The data for the language used.