2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"blue");
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(
"");
39 $this->blockcommenton = array(
"");
40 $this->blockcommentoff = array(
"");
44 $this->keywords = array(
63 "AppWaitClose" =>
"1",
65 "AskDirectory" =>
"1",
77 "BinaryClipGet" =>
"1",
78 "BinaryClipPut" =>
"1",
79 "BinaryCompare" =>
"1",
80 "BinaryConvert" =>
"1",
82 "BinaryEodGet" =>
"1",
83 "BinaryEodSet" =>
"1",
85 "BinaryHashRec" =>
"1",
89 "BinaryIncrFlt" =>
"1",
91 "BinaryIndexEx" =>
"1",
92 "BinaryOleType" =>
"1",
97 "BinaryPeekFlt" =>
"1",
98 "BinaryPeekStr" =>
"1",
100 "BinaryPoke2" =>
"1",
101 "BinaryPoke4" =>
"1",
102 "BinaryPokeFlt" =>
"1",
103 "BinaryPokeStr" =>
"1",
105 "BinaryReadEx" =>
"1",
107 "BinaryStrCnt" =>
"1",
108 "BinaryTagExtr" =>
"1",
109 "BinaryTagFind" =>
"1",
110 "BinaryTagInit" =>
"1",
111 "BinaryTagRepl" =>
"1",
112 "BinaryWrite" =>
"1",
113 "BinaryWriteEx" =>
"1",
116 "ButtonNames" =>
"1",
127 "CurrentFile" =>
"1",
128 "CurrFilePath" =>
"1",
129 "CurrentPath" =>
"1",
131 "DDEInitiate" =>
"1",
134 "DDETerminate" =>
"1",
158 "DiskVolInfo" =>
"1",
171 "Environment" =>
"1",
176 "Executestatement" =>
"1",
177 "ExeTypeInfo" =>
"1",
182 "FileAttrGet" =>
"1",
183 "FileAttrSet" =>
"1",
185 "FileCompare" =>
"1",
187 "FileCopyAttr" =>
"1",
190 "FileExtension" =>
"1",
191 "FileFullName" =>
"1",
192 "FileItemize" =>
"1",
194 "FileMapName" =>
"1",
196 "FileMoveAttr" =>
"1",
197 "FileNameLong" =>
"1",
198 "FileNameShort" =>
"1",
205 "FileTimeCode" =>
"1",
206 "FileTimeGet" =>
"1",
207 "FileTimeGetEx" =>
"1",
208 "FileTimeSet" =>
"1",
209 "FileTimeSetEx" =>
"1",
210 "FileTimeTouch" =>
"1",
211 "FileVerInfo" =>
"1",
217 "GetExactTime" =>
"1",
218 "GetTickCount" =>
"1",
221 "IconReplace" =>
"1",
224 "IniDeletePvt" =>
"1",
226 "IniItemizePvt" =>
"1",
230 "IniWritePvt" =>
"1",
231 "InstallFile" =>
"1",
239 "IsMenuChecked" =>
"1",
240 "IsMenuEnabled" =>
"1",
243 "ItemExtract" =>
"1",
248 "KeyToggleGet" =>
"1",
249 "KeyToggleSet" =>
"1",
259 "MouseClickBtn" =>
"1",
260 "MouseCoords" =>
"1",
270 "PlayWaveForm" =>
"1",
274 "RegCloseKey" =>
"1",
276 "RegCreateKey" =>
"1",
277 "RegDeleteKey" =>
"1",
278 "RegDelValue" =>
"1",
279 "RegEntryType" =>
"1",
280 "RegExistKey" =>
"1",
281 "RegExistValue" =>
"1",
282 "RegLoadHive" =>
"1",
284 "RegQueryBin" =>
"1",
285 "RegQueryDword" =>
"1",
287 "RegQueryExpSz" =>
"1",
288 "RegQueryItem" =>
"1",
289 "RegQueryKey" =>
"1",
290 "RegQueryKeys" =>
"1",
291 "RegQueryMulSz" =>
"1",
292 "RegQueryValue" =>
"1",
294 "RegSetDword" =>
"1",
296 "RegSetExpSz" =>
"1",
297 "RegSetMulSz" =>
"1",
298 "RegSetValue" =>
"1",
299 "RegUnloadHive" =>
"1",
305 "RunHideWait" =>
"1",
307 "RunIconWait" =>
"1",
311 "RunZoomWait" =>
"1",
312 "Selectvarname" =>
"1",
314 "SendKeysChild" =>
"1",
316 "SendMenusTo" =>
"1",
317 "ShellExecute" =>
"1",
318 "ShortcutDir" =>
"1",
319 "ShortcutEdit" =>
"1",
320 "ShortcutExtra" =>
"1",
321 "ShortcutInfo" =>
"1",
322 "ShortcutMake" =>
"1",
329 "StrCharCount" =>
"1",
333 "StrFixChars" =>
"1",
334 "StrFixCharsL" =>
"1",
339 "StrIndexWild" =>
"1",
349 "Switchvarname" =>
"1",
355 "TimeDayofWeek" =>
"1",
356 "TimeDayofYear" =>
"1",
359 "TimeDiffDays" =>
"1",
360 "TimeDiffSecs" =>
"1",
361 "TimeJulianDay" =>
"1",
362 "TimeJulToYmd" =>
"1",
363 "TimeSubtract" =>
"1",
372 "WinActivate" =>
"1",
373 "WinActivChild" =>
"1",
378 "WinExistChild" =>
"1",
379 "WinGetActive" =>
"1",
385 "WinItemChild" =>
"1",
387 "WinItemizeEx" =>
"1",
388 "WinItemNameId" =>
"1",
389 "WinItemProcID" =>
"1",
395 "WinPlaceGet" =>
"1",
396 "WinPlaceSet" =>
"1",
397 "WinPosition" =>
"1",
398 "WinResources" =>
"1",
404 "WinWaitChild" =>
"1",
405 "WinWaitClose" =>
"1",
406 "WinWaitExist" =>
"1",
418 $this->linkscripts = array(