2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"blue",
"purple");
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(
"REM");
39 $this->blockcommenton = array(
"");
40 $this->blockcommentoff = array(
"");
44 $this->keywords = array(
55 "@AllChildren" =>
"1",
56 "@AllDescendants" =>
"1",
61 "@AttachmentLengths" =>
"1",
62 "@AttachmentNames" =>
"1",
63 "@Attachments" =>
"1",
66 "@Certificate" =>
"1",
68 "@CheckAlarms" =>
"1",
84 "@DDEInitiate" =>
"1",
86 "@DDETerminate" =>
"1",
87 "@DeleteDocument" =>
"1",
88 "@DeleteField" =>
"1",
91 "@DocChildren" =>
"1",
92 "@DocDescendants" =>
"1",
98 "@DocParentNumber" =>
"1",
99 "@DocSiblings" =>
"1",
100 "@DocumentUniqueID" =>
"1",
103 "@EditUserECL" =>
"1",
105 "@EnableAlarms" =>
"1",
107 "@Environment" =>
"1",
113 "@GetDocField" =>
"1",
114 "@GetPortsList" =>
"1",
115 "@GetProfileField" =>
"1",
119 "@InheritedDocumentUniqueID" =>
"1",
121 "@IsAgentEnabled" =>
"1",
122 "@IsAvailable" =>
"1",
123 "@IsCategory" =>
"1",
124 "@IsDocBeingEdited" =>
"1",
125 "@IsDocBeingLoaded" =>
"1",
126 "@IsDocBeingMailed" =>
"1",
127 "@IsDocBeingRecalculated" =>
"1",
128 "@IsDocBeingSaved" =>
"1",
129 "@IsDocTruncated" =>
"1",
131 "@IsExpandable" =>
"1",
133 "@IsModalHelp" =>
"1",
135 "@IsNotMember" =>
"1",
137 "@IsResponseDoc" =>
"1",
140 "@IsUnavailable" =>
"1",
150 "@MailDbName" =>
"1",
151 "@MailEncryptSavedPreference" =>
"1",
152 "@MailEncryptSentPreference" =>
"1",
153 "@MailSavePreference" =>
"1",
155 "@MailSignPreference" =>
"1",
160 "@MiddleBack" =>
"1",
171 "@OptimizeMailAddress" =>
"1",
176 "@PostedCommand" =>
"1",
179 "@ProperCase" =>
"1",
181 "@RefreshECL" =>
"1",
184 "@ReplaceSubstring" =>
"1",
193 "@SetDocField" =>
"1",
194 "@SetEnvironment" =>
"1",
196 "@SetProfileField" =>
"1",
206 "@TextToNumber" =>
"1",
207 "@TextToTime" =>
"1",
213 "@Unavailable" =>
"1",
216 "@URLGetHeader" =>
"1",
217 "@URLHistory" =>
"1",
219 "@UserAccess" =>
"1",
221 "@UserPrivileges" =>
"1",
224 "@V3UserName" =>
"1",
244 $this->linkscripts = array(