2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
 
    4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
 
   20 $this->colours          = array(
"blue", 
"purple", 
"gray", 
"brown");
 
   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(
 
   80                         "appwaitclose" => 
"2", 
 
   82                         "askdirectory" => 
"2", 
 
   94                         "binaryclipget" => 
"2", 
 
   95                         "binaryclipput" => 
"2", 
 
   96                         "binarycompare" => 
"2", 
 
   97                         "binaryconvert" => 
"2", 
 
   99                         "binaryeodget" => 
"2", 
 
  100                         "binaryeodset" => 
"2", 
 
  102                         "binaryhashrec" => 
"2", 
 
  104                         "binaryincr2" => 
"2", 
 
  105                         "binaryincr4" => 
"2", 
 
  106                         "binaryincrflt" => 
"2", 
 
  107                         "binaryindex" => 
"2", 
 
  108                         "binaryindexex" => 
"2", 
 
  109                         "binaryindexnc" => 
"2", 
 
  110                         "binaryoletype" => 
"2", 
 
  113                         "binarypeek2" => 
"2", 
 
  114                         "binarypeek4" => 
"2", 
 
  115                         "binarypeekflt" => 
"2", 
 
  116                         "binarypeekstr" => 
"2", 
 
  118                         "binarypoke2" => 
"2", 
 
  119                         "binarypoke4" => 
"2", 
 
  120                         "binarypokeflt" => 
"2", 
 
  121                         "binarypokestr" => 
"2", 
 
  123                         "binaryreadex" => 
"2", 
 
  125                         "binarystrcnt" => 
"2", 
 
  126                         "binarytagextr" => 
"2", 
 
  127                         "binarytagfind" => 
"2", 
 
  128                         "binarytaginit" => 
"2", 
 
  129                         "binarytagrepl" => 
"2", 
 
  130                         "binarywrite" => 
"2", 
 
  131                         "binarywriteex" => 
"2", 
 
  133                         "boxbuttondraw" => 
"2", 
 
  134                         "boxbuttonkill" => 
"2", 
 
  135                         "boxbuttonstat" => 
"2", 
 
  136                         "boxbuttonwait" => 
"2", 
 
  139                         "boxdataclear" => 
"2", 
 
  142                         "boxdrawcircle" => 
"2", 
 
  143                         "boxdrawline" => 
"2", 
 
  144                         "boxdrawrect" => 
"2", 
 
  145                         "boxdrawtext" => 
"2", 
 
  153                         "boxtextcolor" => 
"2", 
 
  154                         "boxtextfont" => 
"2", 
 
  157                         "buttonnames" => 
"2", 
 
  168                         "ddeinitiate" => 
"2", 
 
  171                         "ddeterminate" => 
"2", 
 
  195                         "diskvolinfo" => 
"2", 
 
  204                         "environment" => 
"2", 
 
  208                         "exetypeinfo" => 
"2", 
 
  212                         "fileattrget" => 
"2", 
 
  213                         "fileattrset" => 
"2", 
 
  215                         "filecompare" => 
"2", 
 
  219                         "fileextension" => 
"2", 
 
  220                         "filefullname" => 
"2", 
 
  221                         "fileitemize" => 
"2", 
 
  223                         "filemapname" => 
"2", 
 
  225                         "filenameeval1" => 
"2", 
 
  226                         "filenameeval2" => 
"2", 
 
  227                         "filenamelong" => 
"2", 
 
  228                         "filenameshort" => 
"2", 
 
  235                         "filetimecode" => 
"2", 
 
  236                         "filetimeget" => 
"2", 
 
  237                         "filetimegetex" => 
"2", 
 
  238                         "filetimeset" => 
"2", 
 
  239                         "filetimesetex" => 
"2", 
 
  240                         "filetimetouch" => 
"2", 
 
  241                         "fileverinfo" => 
"2", 
 
  246                         "getexacttime" => 
"2", 
 
  247                         "gettickcount" => 
"2", 
 
  248                         "iconarrange" => 
"2", 
 
  249                         "iconreplace" => 
"2", 
 
  250                         "ignoreinput" => 
"2", 
 
  252                         "inideletepvt" => 
"2", 
 
  254                         "iniitemizepvt" => 
"2", 
 
  258                         "iniwritepvt" => 
"2", 
 
  259                         "installfile" => 
"2", 
 
  268                         "itemextract" => 
"2", 
 
  275                         "keytoggleget" => 
"2", 
 
  276                         "keytoggleset" => 
"2", 
 
  286                         "mouseclickbtn" => 
"2", 
 
  293                         "objectaccess" => 
"2", 
 
  294                         "objectclose" => 
"2", 
 
  300                         "playwaveform" => 
"2", 
 
  304                         "regclosekey" => 
"2", 
 
  306                         "regcreatekey" => 
"2", 
 
  307                         "regdeletekey" => 
"2", 
 
  308                         "regdelvalue" => 
"2", 
 
  309                         "regentrytype" => 
"2", 
 
  310                         "regexistkey" => 
"2", 
 
  311                         "regexistvalue" => 
"2", 
 
  312                         "regloadhive" => 
"2", 
 
  314                         "regquerybin" => 
"2", 
 
  315                         "regquerydword" => 
"2", 
 
  317                         "regqueryexpsz" => 
"2", 
 
  318                         "regqueryitem" => 
"2", 
 
  319                         "regquerykey" => 
"2", 
 
  320                         "regquerykeys" => 
"2", 
 
  321                         "regquerymulsz" => 
"2", 
 
  322                         "regqueryvalue" => 
"2", 
 
  324                         "regsetdword" => 
"2", 
 
  326                         "regsetexpsz" => 
"2", 
 
  327                         "regsetmulsz" => 
"2", 
 
  328                         "regsetvalue" => 
"2", 
 
  329                         "regunloadhive" => 
"2", 
 
  336                         "runhidewait" => 
"2", 
 
  338                         "runiconwait" => 
"2", 
 
  342                         "runzoomwait" => 
"2", 
 
  344                         "sendkeyschild" => 
"2", 
 
  346                         "sendmenusto" => 
"2", 
 
  347                         "sendmenustoex" => 
"2", 
 
  348                         "shellexecute" => 
"2", 
 
  349                         "shortcutdir" => 
"2", 
 
  350                         "shortcutedit" => 
"2", 
 
  351                         "shortcutextra" => 
"2", 
 
  352                         "shortcutinfo" => 
"2", 
 
  353                         "shortcutmake" => 
"2", 
 
  360                         "strcharcount" => 
"2", 
 
  364                         "strfixchars" => 
"2", 
 
  365                         "strfixcharsl" => 
"2", 
 
  370                         "strindexwild" => 
"2", 
 
  384                         "textboxsort" => 
"2", 
 
  390                         "timediffdays" => 
"2", 
 
  391                         "timediffsecs" => 
"2", 
 
  392                         "timejulianday" => 
"2", 
 
  393                         "timejultoymd" => 
"2", 
 
  394                         "timesubtract" => 
"2", 
 
  401                         "webbaseconv" => 
"2", 
 
  402                         "webcloselog" => 
"2", 
 
  409                         "webdumperror" => 
"2", 
 
  410                         "webhashcode" => 
"2", 
 
  416                         "webparamdata" => 
"2", 
 
  417                         "webparambuf" => 
"2", 
 
  418                         "webparamnames" => 
"2", 
 
  419                         "websettimeout" => 
"2", 
 
  420                         "webverifycard" => 
"2", 
 
  421                         "winactivate" => 
"2", 
 
  422                         "winactivchild" => 
"2", 
 
  425                         "winclosenot" => 
"2", 
 
  429                         "winexistchild" => 
"2", 
 
  430                         "wingetactive" => 
"2", 
 
  436                         "winitemchild" => 
"2", 
 
  438                         "winitemizeex" => 
"2", 
 
  439                         "winitemnameid" => 
"2", 
 
  440                         "winitemprocid" => 
"2", 
 
  446                         "winplaceget" => 
"2", 
 
  447                         "winplaceset" => 
"2", 
 
  448                         "winposition" => 
"2", 
 
  449                         "winresources" => 
"2", 
 
  455                         "winwaitchild" => 
"2", 
 
  456                         "winwaitclose" => 
"2", 
 
  457                         "winwaitexist" => 
"2", 
 
  461                         "@aboveicons" => 
"3", 
 
  462                         "@acc_attrib" => 
"3", 
 
  463                         "@acc_chng_nt" => 
"3", 
 
  464                         "@acc_control" => 
"3", 
 
  465                         "@acc_create" => 
"3", 
 
  466                         "@acc_delete" => 
"3", 
 
  467                         "@acc_full_95" => 
"3", 
 
  468                         "@acc_full_nt" => 
"3", 
 
  470                         "@acc_pfull_nt" => 
"3", 
 
  471                         "@acc_pmang_nt" => 
"3", 
 
  472                         "@acc_print_nt" => 
"3", 
 
  474                         "@acc_read_95" => 
"3", 
 
  475                         "@acc_read_nt" => 
"3", 
 
  501                         "@commonformat" => 
"3", 
 
  507                         "@descending" => 
"3", 
 
  519                         "@globalgroup" => 
"3", 
 
  521                         "@goldenratio" => 
"3", 
 
  522                         "@gravitation" => 
"3", 
 
  531                         "@localgroup" => 
"3", 
 
  534                         "@mbokcancel" => 
"3", 
 
  542                         "@ncsaformat" => 
"3", 
 
  556                         "@planckergs" => 
"3", 
 
  557                         "@planckjoules" => 
"3", 
 
  563                         "@regclasses" => 
"3", 
 
  564                         "@regcurrent" => 
"3", 
 
  565                         "@regmachine" => 
"3", 
 
  570                         "@scrolllock" => 
"3", 
 
  583                         "@wholesection" => 
"3", 
 
  590                         "cClickButton" => 
"4", 
 
  591                         "cEnableState" => 
"4", 
 
  593                         "cGetEditText" => 
"4", 
 
  596                         "cPostButton" => 
"4", 
 
  597                         "cPostMessage" => 
"4", 
 
  598                         "cRadioButton" => 
"4", 
 
  599                         "cSendMessage" => 
"4", 
 
  601                         "cSetEditText" => 
"4", 
 
  603                         "cSetTABItem" => 
"4", 
 
  604                         "cWndByClass" => 
"4", 
 
  609                         "dosboxcursorx" => 
"4", 
 
  610                         "dosboxcursory" => 
"4", 
 
  611                         "dosboxgetall" => 
"4", 
 
  612                         "dosboxgetdata" => 
"4", 
 
  613                         "dosboxheight" => 
"4", 
 
  614                         "dosboxscrmode" => 
"4", 
 
  615                         "dosboxversion" => 
"4", 
 
  616                         "dosboxwidth" => 
"4", 
 
  618                         "dunConnectEx" => 
"4", 
 
  619                         "dunDisconnect" => 
"4", 
 
  621                         "edosgetinfo" => 
"4", 
 
  623                         "edoslistvars" => 
"4", 
 
  624                         "edospathadd" => 
"4", 
 
  625                         "edospathchk" => 
"4", 
 
  626                         "edospathdel" => 
"4", 
 
  630                         "envlistvars" => 
"4", 
 
  638                         "ftpFirewall" => 
"4", 
 
  646                         "hCompatible" => 
"4", 
 
  647                         "hGetVarNames" => 
"4", 
 
  648                         "hGetVarValue" => 
"4", 
 
  650                         "httpFirewall" => 
"4", 
 
  651                         "httpGetAnchor" => 
"4", 
 
  653                         "httpGetFile" => 
"4", 
 
  654                         "httpGetPath" => 
"4", 
 
  655                         "httpGetQuery" => 
"4", 
 
  656                         "httpGetServer" => 
"4", 
 
  657                         "httpRecvFile" => 
"4", 
 
  658                         "httpRecvQryF" => 
"4", 
 
  659                         "httpRecvQuery" => 
"4", 
 
  660                         "httpRecvText" => 
"4", 
 
  661                         "httpStripHTML" => 
"4", 
 
  662                         "hVersionInfo" => 
"4", 
 
  665                         "iContentData" => 
"4", 
 
  666                         "iContentFile" => 
"4", 
 
  668                         "iDialHangup" => 
"4", 
 
  669                         "iDialItemize" => 
"4", 
 
  672                         "iFtpDirChange" => 
"4", 
 
  674                         "iFtpDirMake" => 
"4", 
 
  675                         "iFtpDirRemove" => 
"4", 
 
  676                         "iFtpFindInit" => 
"4", 
 
  677                         "iFtpFindNext" => 
"4", 
 
  682                         "iGetConState" => 
"4", 
 
  683                         "iGetLastError" => 
"4", 
 
  684                         "iGetResponse" => 
"4", 
 
  685                         "iHostConnect" => 
"4", 
 
  686                         "iHttpHeaders" => 
"4", 
 
  689                         "iLocFindInit" => 
"4", 
 
  690                         "iLocFindNext" => 
"4", 
 
  698                         "n3captureend" => 
"4", 
 
  699                         "n3captureget" => 
"4", 
 
  700                         "n3captureprt" => 
"4", 
 
  701                         "n3chgpassword" => 
"4", 
 
  703                         "n3dirattrget" => 
"4", 
 
  704                         "n3dirattrset" => 
"4", 
 
  705                         "n3DirTimeGet" => 
"4", 
 
  706                         "n3drivepath" => 
"4", 
 
  707                         "n3drivestatus" => 
"4", 
 
  708                         "n3fileattrget" => 
"4", 
 
  709                         "n3fileattrset" => 
"4", 
 
  710                         "n3FileTimeGet" => 
"4", 
 
  711                         "n3getmapped" => 
"4", 
 
  712                         "n3getnetaddr" => 
"4", 
 
  714                         "n3getuserid" => 
"4", 
 
  717                         "n3mapdelete" => 
"4", 
 
  720                         "n3memberdel" => 
"4", 
 
  721                         "n3memberget" => 
"4", 
 
  722                         "n3memberset" => 
"4", 
 
  724                         "n3msgsendall" => 
"4", 
 
  725                         "n3serverinfo" => 
"4", 
 
  726                         "n3serverlist" => 
"4", 
 
  727                         "n3usergroups" => 
"4", 
 
  730                         "n4captureend" => 
"4", 
 
  731                         "n4captureget" => 
"4", 
 
  732                         "n4captureprt" => 
"4", 
 
  733                         "n4chgpassword" => 
"4", 
 
  735                         "n4dirattrget" => 
"4", 
 
  736                         "n4dirattrset" => 
"4", 
 
  737                         "n4DirTimeGet" => 
"4", 
 
  738                         "n4drivepath" => 
"4", 
 
  739                         "n4drivestatus" => 
"4", 
 
  740                         "n4fileattrget" => 
"4", 
 
  741                         "n4FileTimeGet" => 
"4", 
 
  742                         "n4getcontext" => 
"4", 
 
  743                         "n4getloginid" => 
"4", 
 
  744                         "n4getmapped" => 
"4", 
 
  745                         "n4getnetaddr" => 
"4", 
 
  747                         "n4getuserid" => 
"4", 
 
  750                         "n4logouttree" => 
"4", 
 
  752                         "n4mapdelete" => 
"4", 
 
  755                         "n4memberdel" => 
"4", 
 
  756                         "n4memberget" => 
"4", 
 
  757                         "n4memberset" => 
"4", 
 
  759                         "n4msgsendall" => 
"4", 
 
  760                         "n4nameconvert" => 
"4", 
 
  761                         "n4objectinfo" => 
"4", 
 
  762                         "n4objectlist" => 
"4", 
 
  763                         "n4objectprops" => 
"4", 
 
  764                         "n4serverinfo" => 
"4", 
 
  765                         "n4serverlist" => 
"4", 
 
  766                         "n4SetContext" => 
"4", 
 
  767                         "n4setsrchdrv" => 
"4", 
 
  768                         "n4usergroupex" => 
"4", 
 
  769                         "n4usergroups" => 
"4", 
 
  771                         "netadddrive" => 
"4", 
 
  772                         "netaddprinter" => 
"4", 
 
  773                         "netcancelcon" => 
"4", 
 
  774                         "netdirdialog" => 
"4", 
 
  777                         "netresources" => 
"4", 
 
  787                         "pCaptureLog" => 
"4", 
 
  788                         "pCaptureOff" => 
"4", 
 
  790                         "pCheckBinary" => 
"4", 
 
  793                         "pComControl" => 
"4", 
 
  799                         "pGetLastError" => 
"4", 
 
  802                         "pModemAnsCall" => 
"4", 
 
  803                         "pModemAnsRing" => 
"4", 
 
  804                         "pModemCommand" => 
"4", 
 
  805                         "pModemConnect" => 
"4", 
 
  806                         "pModemControl" => 
"4", 
 
  808                         "pModemHangup" => 
"4", 
 
  810                         "pModemParams" => 
"4", 
 
  823                         "qAllocConnect" => 
"4", 
 
  829                         "qDataSources" => 
"4", 
 
  830                         "qDisconnect" => 
"4", 
 
  832                         "qExecDirect" => 
"4", 
 
  834                         "qFreeConnect" => 
"4", 
 
  839                         "qSetConnOpt" => 
"4", 
 
  841                         "qVersionInfo" => 
"4", 
 
  843                         "sByteOrder16" => 
"4", 
 
  844                         "SByteOrder32" => 
"4", 
 
  848                         "smtpSendFile" => 
"4", 
 
  849                         "smtpSendText" => 
"4", 
 
  856                         "sRecvBinary" => 
"4", 
 
  859                         "sSendBinary" => 
"4", 
 
  862                         "sSendString" => 
"4", 
 
  863                         "textoutbufdel" => 
"4", 
 
  864                         "textoutbuffer" => 
"4", 
 
  865                         "textoutdebug" => 
"4", 
 
  866                         "textoutfree" => 
"4", 
 
  867                         "textoutinfo" => 
"4", 
 
  868                         "textoutreset" => 
"4", 
 
  869                         "textouttrack" => 
"4", 
 
  870                         "textouttrackb" => 
"4", 
 
  871                         "textouttrackp" => 
"4", 
 
  872                         "textoutwait" => 
"4", 
 
  875                         "urlGetScheme" => 
"4", 
 
  877                         "w3cancelcon" => 
"4", 
 
  878                         "w3dirbrowse" => 
"4", 
 
  881                         "w3netdialog" => 
"4", 
 
  882                         "w3netgetuser" => 
"4", 
 
  883                         "w3prtbrowse" => 
"4", 
 
  885                         "w95accessadd" => 
"4", 
 
  886                         "w95accessdel" => 
"4", 
 
  887                         "w95adddrive" => 
"4", 
 
  888                         "w95addprinter" => 
"4", 
 
  889                         "w95cancelcon" => 
"4", 
 
  890                         "w95dirdialog" => 
"4", 
 
  891                         "w95fileclose" => 
"4", 
 
  894                         "w95resources" => 
"4", 
 
  895                         "w95servertype" => 
"4", 
 
  896                         "w95serviceat" => 
"4", 
 
  897                         "w95serviceinf" => 
"4", 
 
  898                         "w95shareadd" => 
"4", 
 
  899                         "w95sharedel" => 
"4", 
 
  900                         "w95shareinfo" => 
"4", 
 
  901                         "w95shareset" => 
"4", 
 
  903                         "w9xaccessadd" => 
"4", 
 
  904                         "w9xaccessdel" => 
"4", 
 
  905                         "w9xaccessget" => 
"4", 
 
  906                         "w9xaccesslist" => 
"4", 
 
  907                         "w9xlistgroups" => 
"4", 
 
  908                         "w9xmemberdel" => 
"4", 
 
  909                         "w9xmemberget" => 
"4", 
 
  910                         "w9xmembergrps" => 
"4", 
 
  911                         "w9xmemberlist" => 
"4", 
 
  912                         "w9xmemberset" => 
"4", 
 
  913                         "w9xserverlist" => 
"4", 
 
  914                         "w9xserviceat" => 
"4", 
 
  915                         "w9xshareadd" => 
"4", 
 
  916                         "w9xsharedel" => 
"4", 
 
  917                         "w9xshareinfo" => 
"4", 
 
  918                         "w9xshareset" => 
"4", 
 
  919                         "w9xuserinfo" => 
"4", 
 
  920                         "w9xuserprops" => 
"4", 
 
  923                         "wncancelcon" => 
"4", 
 
  924                         "wncmptrinfo" => 
"4", 
 
  926                         "wndlgbrowse" => 
"4", 
 
  931                         "wndlgdiscon" => 
"4", 
 
  932                         "wndlgnoshare" => 
"4", 
 
  941                         "wnsharename" => 
"4", 
 
  942                         "wnsharepath" => 
"4", 
 
  944                         "wntaccessadd" => 
"4", 
 
  945                         "wntaccessdel" => 
"4", 
 
  946                         "wntaccessget" => 
"4", 
 
  947                         "wntaccesslist" => 
"4", 
 
  948                         "wntadddrive" => 
"4", 
 
  949                         "wntaddprinter" => 
"4", 
 
  950                         "wntcancelcon" => 
"4", 
 
  952                         "wntdirdialog" => 
"4", 
 
  953                         "wntfileclose" => 
"4", 
 
  956                         "wntgroupinfo" => 
"4", 
 
  957                         "wntlistgroups" => 
"4", 
 
  958                         "wntmemberdel" => 
"4", 
 
  959                         "wntmemberget" => 
"4", 
 
  960                         "wntmembergrps" => 
"4", 
 
  961                         "wntmemberlist" => 
"4", 
 
  962                         "wntmemberset" => 
"4", 
 
  963                         "wntownerget" => 
"4", 
 
  964                         "wntownerset" => 
"4", 
 
  965                         "wntresources" => 
"4", 
 
  966                         "wntresources2" => 
"4", 
 
  967                         "wntserverlist" => 
"4", 
 
  968                         "wntservertype" => 
"4", 
 
  969                         "wntserviceat" => 
"4", 
 
  970                         "wntserviceinf" => 
"4", 
 
  971                         "wntshareadd" => 
"4", 
 
  972                         "wntsharedel" => 
"4", 
 
  973                         "wntshareinfo" => 
"4", 
 
  974                         "wntshareset" => 
"4", 
 
  975                         "wntsvccontrol" => 
"4", 
 
  976                         "wntsvcstart" => 
"4", 
 
  977                         "wntsvcstatus" => 
"4", 
 
  979                         "wntuseradddat" => 
"4", 
 
  981                         "wntusergetdat" => 
"4", 
 
  982                         "wntuserinfo" => 
"4", 
 
  983                         "wntuserprops" => 
"4", 
 
  984                         "wntuserrename" => 
"4", 
 
  985                         "wntusersetdat" => 
"4", 
 
  988                         "wnwrkgroups" => 
"4", 
 
  989                         "wwenvunload" => 
"4", 
 
  990                         "wxAddr2Host" => 
"4", 
 
  991                         "wxGetErrDesc" => 
"4", 
 
  993                         "wxGetLastErr" => 
"4", 
 
  994                         "wxHost2Addr" => 
"4", 
 
  995                         "wxMsgGetBody" => 
"4", 
 
  996                         "wxMsgGetHdr" => 
"4", 
 
 1000                         "xbaseconvert" => 
"4", 
 
 1001                         "xcursorset" => 
"4", 
 
 1002                         "xdisklabelget" => 
"4", 
 
 1003                         "xdriveready" => 
"4", 
 
 1004                         "xejectmedia" => 
"4", 
 
 1005                         "xextenderinfo" => 
"4", 
 
 1006                         "xgetchildhwnd" => 
"4", 
 
 1007                         "xgetelapsed" => 
"4", 
 
 1009                         "xmemcompact" => 
"4", 
 
 1010                         "xmessagebox" => 
"4", 
 
 1011                         "xsendmessage" => 
"4", 
 
 1012                         "xverifyccard" => 
"4");
 
 1021 $this->linkscripts      = array(
 
 1025                         "4" => 
"donothing");