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(
"REM");
43 $this->blockcommenton =
array(
"");
44 $this->blockcommentoff =
array(
"");
48 $this->keywords =
array(
59 "@AllChildren" =>
"1",
60 "@AllDescendants" =>
"1",
65 "@AttachmentLengths" =>
"1",
66 "@AttachmentNames" =>
"1",
67 "@Attachments" =>
"1",
70 "@Certificate" =>
"1",
72 "@CheckAlarms" =>
"1",
88 "@DDEInitiate" =>
"1",
90 "@DDETerminate" =>
"1",
91 "@DeleteDocument" =>
"1",
92 "@DeleteField" =>
"1",
95 "@DocChildren" =>
"1",
96 "@DocDescendants" =>
"1",
102 "@DocParentNumber" =>
"1",
103 "@DocSiblings" =>
"1",
104 "@DocumentUniqueID" =>
"1",
107 "@EditUserECL" =>
"1",
109 "@EnableAlarms" =>
"1",
111 "@Environment" =>
"1",
117 "@GetDocField" =>
"1",
118 "@GetPortsList" =>
"1",
119 "@GetProfileField" =>
"1",
123 "@InheritedDocumentUniqueID" =>
"1",
125 "@IsAgentEnabled" =>
"1",
126 "@IsAvailable" =>
"1",
127 "@IsCategory" =>
"1",
128 "@IsDocBeingEdited" =>
"1",
129 "@IsDocBeingLoaded" =>
"1",
130 "@IsDocBeingMailed" =>
"1",
131 "@IsDocBeingRecalculated" =>
"1",
132 "@IsDocBeingSaved" =>
"1",
133 "@IsDocTruncated" =>
"1",
135 "@IsExpandable" =>
"1",
137 "@IsModalHelp" =>
"1",
139 "@IsNotMember" =>
"1",
141 "@IsResponseDoc" =>
"1",
144 "@IsUnavailable" =>
"1",
154 "@MailDbName" =>
"1",
155 "@MailEncryptSavedPreference" =>
"1",
156 "@MailEncryptSentPreference" =>
"1",
157 "@MailSavePreference" =>
"1",
159 "@MailSignPreference" =>
"1",
164 "@MiddleBack" =>
"1",
175 "@OptimizeMailAddress" =>
"1",
180 "@PostedCommand" =>
"1",
183 "@ProperCase" =>
"1",
185 "@RefreshECL" =>
"1",
188 "@ReplaceSubstring" =>
"1",
197 "@SetDocField" =>
"1",
198 "@SetEnvironment" =>
"1",
200 "@SetProfileField" =>
"1",
210 "@TextToNumber" =>
"1",
211 "@TextToTime" =>
"1",
217 "@Unavailable" =>
"1",
220 "@URLGetHeader" =>
"1",
221 "@URLHistory" =>
"1",
223 "@UserAccess" =>
"1",
225 "@UserPrivileges" =>
"1",
228 "@V3UserName" =>
"1",
248 $this->linkscripts =
array(
Create styles array
The data for the language used.