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(
"then", 
"else");
 
   28 $this->unindent                 = array(
"end", 
"end if", 
"end repeat");
 
   32 $this->stringchars              = array(
"\"");
 
   33 $this->delimiters               = array(
"~", 
"!", 
"@", 
"%", 
"^", 
"&", 
"*", 
"(", 
")", 
"-", 
"+", 
"=", 
"|", 
"\\", 
"/", 
"{", 
"}", 
"[", 
"]", 
":", 
";", 
"\"", 
"'", 
"<", 
">", 
" ", 
",", 
"      ", 
".", 
"?");
 
   38 $this->linecommenton            = array(
"--");
 
   39 $this->blockcommenton           = array(
"--");
 
   40 $this->blockcommentoff          = array(
"");
 
   44 $this->keywords                 = array(
 
   84                         "activateWindow" => 
"2", 
 
   85                         "activeCastLib" => 
"2", 
 
   86                         "activeWindow" => 
"2", 
 
   94                         "allowCustomCaching" => 
"2", 
 
   95                         "allowGraphicMenu" => 
"2", 
 
   96                         "allowSaveLocal" => 
"2", 
 
   97                         "allowTransportControl" => 
"2", 
 
   98                         "allowVolumeControl" => 
"2", 
 
   99                         "allowZooming" => 
"2", 
 
  100                         "alphaThreshold" => 
"2", 
 
  104                         "applicationPath" => 
"2", 
 
  111                         "beginRecording" => 
"2", 
 
  112                         "beginSprite" => 
"2", 
 
  118                         "boxDropShadow" => 
"2", 
 
  120                         "buttonStyle" => 
"2", 
 
  123                         "callAncestor" => 
"2", 
 
  124                         "cancelIdleLoad" => 
"2", 
 
  128                         "centerRegPoint" => 
"2", 
 
  129                         "centerStage" => 
"2", 
 
  131                         "channelCount" => 
"2", 
 
  133                         "charPosToLoc" => 
"2", 
 
  136                         "checkBoxAccess" => 
"2", 
 
  137                         "checkBoxType" => 
"2", 
 
  141                         "clearGlobals" => 
"2", 
 
  145                         "closeWindow" => 
"2", 
 
  149                         "commandDown" => 
"2", 
 
  154                         "controlDown" => 
"2", 
 
  156                         "copyToClipBoard" => 
"2", 
 
  159                         "cpuHogTicks" => 
"2", 
 
  162                         "cuePointNames" => 
"2", 
 
  163                         "cuePointTimes" => 
"2", 
 
  164                         "currentSpriteNum" => 
"2", 
 
  165                         "currentTime" => 
"2", 
 
  168                         "deactivateWindow" => 
"2", 
 
  173                         "deleteFrame" => 
"2", 
 
  177                         "deskTopRectList" => 
"2", 
 
  178                         "digitalVideoTimeScale" => 
"2", 
 
  179                         "digitalVideoType" => 
"2", 
 
  180                         "directToStage" => 
"2", 
 
  183                         "doubleClick" => 
"2", 
 
  188                         "duplicateFrame" => 
"2", 
 
  192                         "emulateMultiButtonMouse" => 
"2", 
 
  195                         "endRecording" => 
"2", 
 
  199                         "environment" => 
"2", 
 
  205                         "externalParamCount" => 
"2", 
 
  206                         "externalParamName" => 
"2", 
 
  207                         "externalParamValue" => 
"2", 
 
  215                         "findPosNear" => 
"2", 
 
  216                         "finishIdleLoad" => 
"2", 
 
  217                         "fixStageSize" => 
"2", 
 
  222                         "floatPrecision" => 
"2", 
 
  230                         "framePalette" => 
"2", 
 
  233                         "frameScript" => 
"2", 
 
  234                         "frameSound1" => 
"2", 
 
  235                         "frameSound2" => 
"2", 
 
  236                         "framesToHMS" => 
"2", 
 
  238                         "frameTransition" => 
"2", 
 
  241                         "frontWindow" => 
"2", 
 
  244                         "getBehaviorDescription" => 
"2", 
 
  245                         "getBehaviorTooltip" => 
"2", 
 
  247                         "getNthFileNameInFolder" => 
"2", 
 
  253                         "getPropertyDescriptionList" => 
"2", 
 
  259                         "HMStoFrames" => 
"2", 
 
  261                         "idleHandlerPeriod" => 
"2", 
 
  262                         "idleLoadDone" => 
"2", 
 
  263                         "idleLoadMode" => 
"2", 
 
  264                         "idleLoadPeriod" => 
"2", 
 
  265                         "idleLoadTag" => 
"2", 
 
  266                         "idleReadChunkSize" => 
"2", 
 
  267                         "importFileInto" => 
"2", 
 
  271                         "insertFrame" => 
"2", 
 
  273                         "installMenu" => 
"2", 
 
  279                         "isPastCuePoint" => 
"2", 
 
  281                         "itemDelimiter" => 
"2", 
 
  283                         "keyboardFocusSprite" => 
"2", 
 
  286                         "keyDownScript" => 
"2", 
 
  289                         "keyUpScript" => 
"2", 
 
  293                         "lastChannel" => 
"2", 
 
  303                         "lineDirection" => 
"2", 
 
  305                         "linePosToLocV" => 
"2", 
 
  313                         "locToCharPos" => 
"2", 
 
  315                         "locVToLinePos" => 
"2", 
 
  321                         "mapMemberToStage" => 
"2", 
 
  322                         "mapStageToMember" => 
"2", 
 
  334                         "milliseconds" => 
"2", 
 
  338                         "mostRecentCuePoint" => 
"2", 
 
  341                         "mouseDownScript" => 
"2", 
 
  346                         "mouseMember" => 
"2", 
 
  348                         "mouseUpOutside" => 
"2", 
 
  349                         "mouseUpScript" => 
"2", 
 
  351                         "mouseWithin" => 
"2", 
 
  354                         "moveableSprite" => 
"2", 
 
  356                         "moveToFront" => 
"2", 
 
  359                         "movieAboutInfo" => 
"2", 
 
  360                         "movieCopyrightInfo" => 
"2", 
 
  361                         "movieFileFreeSize" => 
"2", 
 
  362                         "movieFileSize" => 
"2", 
 
  367                         "movieXtraList" => 
"2", 
 
  371                         "netThrottleTicks" => 
"2", 
 
  379                         "openResFile" => 
"2", 
 
  383                         "organizationName" => 
"2", 
 
  386                         "paletteMapping" => 
"2", 
 
  391                         "pasteClipBoardInto" => 
"2", 
 
  395                         "pausedAtStart" => 
"2", 
 
  407                         "preLoadEventAbort" => 
"2", 
 
  408                         "preLoadMember" => 
"2", 
 
  409                         "preLoadMode" => 
"2", 
 
  410                         "preLoadMovie" => 
"2", 
 
  412                         "prepareFrame" => 
"2", 
 
  413                         "prepareMovie" => 
"2", 
 
  417                         "puppetPalette" => 
"2", 
 
  418                         "puppetSound" => 
"2", 
 
  419                         "puppetSprite" => 
"2", 
 
  420                         "puppetTempo" => 
"2", 
 
  421                         "puppetTransition" => 
"2", 
 
  422                         "purgePriority" => 
"2", 
 
  431                         "resizeWindow" => 
"2", 
 
  434                         "rightMouseDown" => 
"2", 
 
  435                         "rightMouseUp" => 
"2", 
 
  440                         "runPropertyDialog" => 
"2", 
 
  448                         "scoreSelection" => 
"2", 
 
  450                         "scriptInstanceList" => 
"2", 
 
  452                         "scriptsEnabled" => 
"2", 
 
  455                         "scrollByLine" => 
"2", 
 
  456                         "scrollByPage" => 
"2", 
 
  458                         "searchCurrentFolder" => 
"2", 
 
  460                         "searchPaths" => 
"2", 
 
  464                         "sendAllSprites" => 
"2", 
 
  466                         "serialNumber" => 
"2", 
 
  471                         "setTrackEnabled" => 
"2", 
 
  475                         "showGlobals" => 
"2", 
 
  477                         "showResFile" => 
"2", 
 
  486                         "soundDevice" => 
"2", 
 
  487                         "soundDeviceList" => 
"2", 
 
  488                         "soundEnabled" => 
"2", 
 
  489                         "soundKeepDevice" => 
"2", 
 
  497                         "stageBottom" => 
"2", 
 
  514                         "switchColorDepth" => 
"2", 
 
  525                         "timeoutKeyDown" => 
"2", 
 
  526                         "timeoutLapsed" => 
"2", 
 
  527                         "timeoutLength" => 
"2", 
 
  528                         "timeoutMouse" => 
"2", 
 
  529                         "timeoutPlay" => 
"2", 
 
  530                         "timeoutScript" => 
"2", 
 
  534                         "titleVisible" => 
"2", 
 
  538                         "traceLogFile" => 
"2", 
 
  540                         "trackEnabled" => 
"2", 
 
  541                         "trackNextKeyTime" => 
"2", 
 
  542                         "trackNextSampleTime" => 
"2", 
 
  543                         "trackPreviousKeyTime" => 
"2", 
 
  544                         "trackPreviousSampleTime" => 
"2", 
 
  545                         "trackStartTime" => 
"2", 
 
  546                         "trackStopTime" => 
"2", 
 
  549                         "transitionType" => 
"2", 
 
  554                         "unLoadMember" => 
"2", 
 
  555                         "unloadMovie" => 
"2", 
 
  556                         "updateFrame" => 
"2", 
 
  558                         "updateMovieEnabled" => 
"2", 
 
  559                         "updateStage" => 
"2", 
 
  565                         "videoForWindowsPresent" => 
"2", 
 
  573                         "windowPresent" => 
"2", 
 
  581                         "zoomWindow" => 
"2");
 
  590 $this->linkscripts      = array(