2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"blue",
"gray",
"purple",
"gray",
"purple",
"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(
108 "ambientColor" =>
"2",
109 "ambientColorController" =>
"2",
110 "animButtonEnabled" =>
"2",
111 "animButtonState" =>
"2",
112 "animationRange" =>
"2",
113 "backgroundColor" =>
"2",
114 "backgroundColorController" =>
"2",
115 "backgroundImageFileName" =>
"2",
120 "cui.commandPanelOpen" =>
"2",
121 "currentMaterialLibrary" =>
"2",
122 "currentTime" =>
"2",
123 "displayGamma" =>
"3",
124 "displaySafeFrames" =>
"3",
126 "dontcollect" =>
"2",
128 "editorFontSize" =>
"2",
129 "editorTabWidth" =>
"2",
130 "environmentMap" =>
"2",
131 "escapeEnable" =>
"2",
133 "fileInGamma" =>
"3",
134 "fileOutGamma" =>
"3",
137 "globalTracks" =>
"2",
141 "hardwareLockID" =>
"2",
144 "hotspotAngleSeparation" =>
"2",
145 "inputTextColor" =>
"2",
146 "keyboard.Pressed" =>
"2",
147 "keyboard.altPressed" =>
"2",
148 "keyboard.controlPressed" =>
"2",
150 "lightLevelController" =>
"2",
151 "lightTintColor" =>
"2",
152 "lightTintColorController" =>
"2",
154 "logsystem.quietmode" =>
"2",
156 "maxFileName" =>
"2",
157 "maxFilePath" =>
"2",
158 "meditMaterials" =>
"2",
160 "messageTextColor" =>
"2",
162 "numAtmospherics" =>
"2",
164 "numSubObjectLevels" =>
"2",
167 "outputTextColor" =>
"2",
168 "playActiveOnly" =>
"2",
169 "preferences.constantReferenceSystem" =>
"2",
170 "preferences.flyOffTime" =>
"2",
171 "preferences.maximumGBufferLayer" =>
"2",
172 "preferences.spinnerWrap" =>
"2",
173 "preferences.useLargeVertexDots" =>
"2",
174 "preferences.useTransformGizmos" =>
"2",
175 "preferences.useVertexDots" =>
"2",
177 "realTimePlayback" =>
"2",
179 "rendOutputFilename" =>
"2",
180 "renderDisplacements" =>
"2",
181 "renderEffects" =>
"2",
182 "renderHeight" =>
"2",
183 "renderPixelAspect" =>
"2",
184 "renderWidth" =>
"2",
187 "scanlineRender.antiAliasFilter" =>
"2",
188 "scanlineRender.antiAliasFilterSize" =>
"2",
189 "scanlineRender.enablePixelSampler" =>
"2",
190 "sceneMaterials" =>
"2",
191 "scriptsPath" =>
"2",
192 "seEnvironmentMap" =>
"2",
193 "selectionSets" =>
"2",
195 "showEndResult" =>
"2",
196 "skipRenderedFrames" =>
"2",
198 "snapMode.active" =>
"2",
199 "snapMode.type" =>
"2",
201 "subObjectLevel" =>
"2",
202 "ticksPerFrame" =>
"2",
203 "timeConfiguration.playActiveOnly" =>
"2",
204 "timeConfiguration.realTimePlayback" =>
"2",
205 "timeConfiguration.useTrackBar" =>
"2",
206 "trackViewNodes" =>
"2",
207 "trackbar.filter" =>
"2",
208 "trackbar.visible" =>
"2",
212 "videoPostTracks" =>
"2",
214 "viewport.activeViewport" =>
"2",
215 "viewport.numViews" =>
"2",
229 "#animatedTracks" =>
"3",
233 "#baseObjects" =>
"3",
244 "#colorChannel" =>
"3",
245 "#colorChannelTab" =>
"3",
247 "#colorVerts" =>
"3",
250 "#controllerTypes" =>
"3",
263 "#driverConfig" =>
"3",
264 "#dualPlanes" =>
"3",
267 "#filenameTab" =>
"3",
275 "#hideCameras" =>
"3",
276 "#hideGeometry" =>
"3",
277 "#hideHelpers" =>
"3",
278 "#hideLights" =>
"3",
279 "#hideShapes" =>
"3",
280 "#hideSpacewarps" =>
"3",
284 "#horizontal" =>
"3",
290 "#incrUpdate" =>
"3",
291 "#instanceOnly" =>
"3",
305 "#materialParameters" =>
"3",
306 "#materialTab" =>
"3",
307 "#materialsMaps" =>
"3",
310 "#maxObjectTab" =>
"3",
313 "#modifiedObjects" =>
"3",
323 "#noteTracks" =>
"3",
329 "#paintDoesBlit" =>
"3",
332 "#percentTab" =>
"3",
333 "#perspCorrect" =>
"3",
345 "#production" =>
"3",
347 "#promptDups" =>
"3",
348 "#radiobtnIndex" =>
"3",
349 "#radiobtnIndexTab" =>
"3",
351 "#redrawViews" =>
"3",
352 "#relativeRepeat" =>
"3",
367 "#selectedObjects" =>
"3",
368 "#selectedTracks" =>
"3",
370 "#shadeCverts" =>
"3",
371 "#shaderColor" =>
"3",
372 "#shaderTransparency" =>
"3",
374 "#smallCircle" =>
"3",
375 "#smallDiamond" =>
"3",
376 "#smallHollowBox" =>
"3",
377 "#smallTriangle" =>
"3",
379 "#spacewarpBindings" =>
"3",
382 "#staticValues" =>
"3",
391 "#texturedBkg" =>
"3",
392 "#texturemap" =>
"3",
393 "#texturemapTab" =>
"3",
395 "#timeChange" =>
"3",
397 "#transforms" =>
"3",
401 "#txtCorrect" =>
"3",
411 "#virtualVpts" =>
"3",
412 "#visibilityTracks" =>
"3",
413 "#visibleObjects" =>
"3",
416 "#wireframeStrips" =>
"3",
418 "#worldUnitsTab" =>
"3",
419 "#worldunits" =>
"3",
422 "Adobe_Photoshop_Plug_In_Filter" =>
"3",
423 "Adobe_Premiere_Video_Filter" =>
"3",
424 "BombBinding" =>
"3",
425 "ClearSelection" =>
"3",
426 "Cubic_Morph_Controller" =>
"3",
428 "DeflectorBinding" =>
"3",
429 "DeleteSplineModifier" =>
"3",
430 "DisplaceBinidng" =>
"3",
431 "FFD_Binding" =>
"3",
435 "GetAllShortcuts" =>
"3",
436 "GetBoneName" =>
"3",
437 "GetCommandName" =>
"3",
439 "GetDefaultUIColor" =>
"3",
441 "GravityBinding" =>
"3",
450 "PDynaFlectMod" =>
"3",
452 "POmniFlectMod" =>
"3",
453 "PathFollowMod" =>
"3",
455 "RippleBinding" =>
"3",
456 "SDeflectMod" =>
"3",
458 "SDynaFlectMod" =>
"3",
459 "SOmineFlect" =>
"3",
460 "SOmniFlectMod" =>
"3",
461 "SimpleOSMToWSMMod" =>
"3",
462 "SpaceCameraMap" =>
"3",
463 "SpaceConform" =>
"3",
464 "SpacePatchDeform" =>
"3",
465 "SpacePathDeform" =>
"3",
466 "SpaceSurfDeform" =>
"3",
467 "Target_point" =>
"3",
470 "UDeflectorMod" =>
"3",
472 "UDynaFlectMod" =>
"3",
474 "UOmniFlectMod" =>
"3",
475 "Vertex_Colors" =>
"3",
476 "WaveBinding" =>
"3",
477 "WindBinding" =>
"3",
484 "addAtmospheric" =>
"3",
486 "addEaseCurve" =>
"3",
488 "addFocalNode" =>
"3",
492 "addLightNode" =>
"3",
494 "addModToSelection" =>
"3",
495 "addModifier" =>
"3",
496 "addMorphTarget" =>
"3",
497 "addMultiplerCurve" =>
"3",
498 "addNURBSSet" =>
"3",
500 "addNewNoteKey" =>
"3",
501 "addNewSpline" =>
"3",
502 "addNewXRefFile" =>
"3",
503 "addNewsXRefObject" =>
"3",
504 "addNoteTrack" =>
"3",
505 "addPluginRollouts" =>
"3",
506 "addProperty" =>
"3",
514 "addTrackViewController" =>
"3",
516 "affect_region" =>
"3",
517 "allowBlending" =>
"3",
520 "animateVertex" =>
"3",
522 "appendCurve" =>
"3",
523 "appendCurveByID" =>
"3",
524 "appendGizmo" =>
"3",
525 "appendObject" =>
"3",
526 "appendSubSelSet" =>
"3",
527 "appendUCurveByID" =>
"3",
528 "appendVCurve" =>
"3",
529 "appendVCurveByID" =>
"3",
530 "applyEaseCurve" =>
"3",
531 "applyOffset" =>
"3",
539 "attachMultiple" =>
"3",
540 "attachObjects" =>
"3",
541 "attemptUnresolvedXRefs" =>
"3",
544 "audiopoint3" =>
"3",
545 "audioposition" =>
"3",
546 "audiorotation" =>
"3",
549 "averageSelVertCenter" =>
"3",
550 "averageSelVertNormal" =>
"3",
552 "axisTripodLocked" =>
"3",
556 "bevel_profile" =>
"3",
558 "bezier_color" =>
"3",
559 "bezier_float" =>
"3",
560 "bezier_position" =>
"3",
561 "bezier_rotation" =>
"3",
562 "bezier_scale" =>
"3",
566 "bindSpaceWarp" =>
"3",
571 "boolObj.createBooleanObject" =>
"3",
574 "boxPickNode" =>
"3",
577 "breakSurface" =>
"3",
578 "broadcastCallback" =>
"3",
579 "buildTVFaces" =>
"3",
580 "buildVCFaces" =>
"3",
585 "canConvertTo" =>
"3",
592 "checkForSave" =>
"3",
594 "checkbutton" =>
"3",
596 "circlePickNode" =>
"3",
599 "clearAllAppData" =>
"3",
600 "clearCurSelSet" =>
"3",
601 "clearEdgeVertices" =>
"3",
602 "clearFilter" =>
"3",
603 "clearListener" =>
"3",
604 "clearNodeSelection" =>
"3",
605 "clearProdTess" =>
"3",
606 "clearScreen" =>
"3",
607 "clearSubSelSets" =>
"3",
608 "clearUndoBuffer" =>
"3",
609 "clearViewTess" =>
"3",
612 "closeRolloutFloater" =>
"3",
614 "closeUtility" =>
"3",
617 "collapseFace" =>
"3",
618 "collapseStack" =>
"3",
619 "colorpicker" =>
"3",
622 "completeRedraw" =>
"3",
625 "configureBitmapPaths" =>
"3",
626 "conformSpaceWarp" =>
"3",
627 "conformToShape" =>
"3",
631 "convertToMesh" =>
"3",
632 "convertToNURBSCurve" =>
"3",
633 "convertToNURBSSurface" =>
"3",
634 "convertToRigid" =>
"3",
635 "convertToSplineShape" =>
"3",
641 "createBooleanObject" =>
"3",
643 "createInstance" =>
"3",
644 "createLockKey" =>
"3",
645 "createMorphObject" =>
"3",
646 "createOLEObject" =>
"3",
647 "createPreview" =>
"3",
648 "createReaction" =>
"3",
649 "createShapeFromEdges" =>
"3",
651 "crossSection" =>
"3",
652 "curveLength" =>
"3",
657 "defaultVCFaces" =>
"3",
661 "deleteAllChangeHandlers" =>
"3",
662 "deleteAllXRefs" =>
"3",
663 "deleteAppData" =>
"3",
664 "deleteAtmosheric" =>
"3",
666 "deleteCamByName" =>
"3",
667 "deleteChangeHandler" =>
"3",
668 "deleteEaseCurve" =>
"3",
669 "deleteEffect" =>
"3",
670 "deleteElement" =>
"3",
671 "deleteElementByName" =>
"3",
674 "deleteFocalNode" =>
"3",
675 "deleteFocalNodeByName" =>
"3",
676 "deleteGizmo" =>
"3",
681 "deleteLight" =>
"3",
682 "deleteLightByName" =>
"3",
684 "deleteModifier" =>
"3",
685 "deleteMorphTarget" =>
"3",
686 "deleteMultiplierCurve" =>
"3",
687 "deleteNoteKey" =>
"3",
688 "deleteNoteKeys" =>
"3",
689 "deleteNoteTrack" =>
"3",
690 "deleteObjects" =>
"3",
691 "deleteProperty" =>
"3",
692 "deleteReaction" =>
"3",
693 "deleteSplie" =>
"3",
695 "deleteTrackViewController" =>
"3",
696 "deleteTrackViewNode" =>
"3",
700 "deselectHiddenEdges" =>
"3",
701 "deselectHiddenFaces" =>
"3",
702 "deselectJey" =>
"3",
703 "deselectKeys" =>
"3",
704 "deselectNode" =>
"3",
706 "directionalLight" =>
"3",
707 "disableSceneRedraw" =>
"3",
708 "disableStatusXYZ" =>
"3",
710 "disp_approx" =>
"3",
712 "displace_Mesh" =>
"3",
713 "displace_NURBS" =>
"3",
715 "displayTempPrompt" =>
"3",
720 "dropdownlist" =>
"3",
723 "editAtmosphere" =>
"3",
724 "editAtmospheric" =>
"3",
728 "edit_spline" =>
"3",
730 "elargeUpdateRect" =>
"3",
733 "enableCoordCenter" =>
"3",
734 "enableEscape" =>
"3",
736 "enablePixelSampler" =>
"3",
737 "enableRefCoordSys" =>
"3",
738 "enableSceneRedraw" =>
"3",
739 "enableShowEndRes" =>
"3",
740 "enableStatusXYZ" =>
"3",
741 "enableSubObjSel" =>
"3",
743 "encryptFile" =>
"3",
744 "encryptScript" =>
"3",
745 "enumerateFiles" =>
"3",
748 "evalTangent" =>
"3",
749 "evalUTangents" =>
"3",
750 "evalVTangents" =>
"3",
751 "exclusionListDlg" =>
"3",
756 "explodeGroup" =>
"3",
758 "extrudeFace" =>
"3",
759 "face_extrude" =>
"3",
760 "fencePickNode" =>
"3",
761 "fetchMaxFile" =>
"3",
770 "fileProperties" =>
"3",
771 "fileSaveAsMatLib" =>
"3",
772 "fileSaveMatLib" =>
"3",
773 "filenameFromPath" =>
"3",
774 "fileopenMathLib" =>
"3",
775 "fillet_chamfer" =>
"3",
776 "filterString" =>
"3",
778 "findProperty" =>
"3",
780 "findUnresolvedXrefs" =>
"3",
782 "flagChanged" =>
"3",
783 "flagForeground" =>
"3",
787 "float_expression" =>
"3",
789 "float_motion_capture" =>
"3",
795 "forceCompleteRedraw" =>
"3",
797 "fractalNoise" =>
"3",
798 "freeSceneBitmaps" =>
"3",
807 "getActiveCamera" =>
"3",
808 "getAfterORT" =>
"3",
810 "getAtmospheric" =>
"3",
811 "getBackGroundController" =>
"3",
813 "getBipedExportInterface" =>
"3",
814 "getBkgFrameNum" =>
"3",
815 "getBkgImageAnim" =>
"3",
816 "getBkgImageAspect" =>
"3",
817 "getBkgORType" =>
"3",
818 "getBkgRangeVal" =>
"3",
819 "getBkgStartTime" =>
"3",
820 "getBkgSyncFrame" =>
"3",
821 "getBoolCutType" =>
"3",
826 "getCVertModel" =>
"3",
829 "getChannelAsMask" =>
"3",
830 "getCommandPanelTaksMode" =>
"3",
831 "getConfigFile" =>
"3",
832 "getCoordCenter" =>
"3",
833 "getCrossing" =>
"3",
834 "getCurrentObject" =>
"3",
835 "getCurrentSelection" =>
"3",
838 "getCurveStartPoint" =>
"3",
839 "getDimensions" =>
"3",
841 "getDirectories" =>
"3",
842 "getDisplacementMapping" =>
"3",
843 "getDisplayResult" =>
"3",
844 "getDriverString" =>
"3",
846 "getEdgeSelection" =>
"3",
849 "getEulerMatAngleRatio" =>
"3",
850 "getEulerQuatAngleRation" =>
"3",
853 "getFaceMatID" =>
"3",
854 "getFaceNormal" =>
"3",
860 "inlineHelper" =>
"3",
866 "linear_float" =>
"3",
867 "linear_position" =>
"3",
868 "linear_rotation" =>
"3",
869 "linear_scale" =>
"3",
870 "link_control" =>
"3",
871 "linked_xform" =>
"3",
876 "macroScript" =>
"3",
878 "materialByElement" =>
"3",
879 "materialModifier" =>
"3",
880 "materialbutton" =>
"3",
884 "mesh_select" =>
"3",
886 "modPanel.addModToSelection" =>
"3",
887 "moise_point3" =>
"3",
891 "noiseModifier" =>
"3",
892 "noise_float" =>
"3",
893 "noise_positi/C4" =>
"3",
894 "normalModifier" =>
"3",
895 "normalize_spray" =>
"3",
902 "patchDeform" =>
"3",
904 "path_Follow" =>
"3",
911 "point3_expression" =>
"3",
912 "point3_list" =>
"3",
913 "point3_motion_capture" =>
"3",
914 "position_expression" =>
"3",
915 "position_list" =>
"3",
916 "position_motion_capture" =>
"3",
919 "progressBar" =>
"3",
927 "radiobuttons" =>
"3",
933 "rotation_list" =>
"3",
934 "rotation_motion_capture" =>
"3",
935 "scale_expression" =>
"3",
937 "scale_motion_capture" =>
"3",
942 "sliceModifier" =>
"3",
944 "slidingDoor" =>
"3",
945 "slidingWindow" =>
"3",
950 "spaceDisplace" =>
"3",
951 "spaceFFDBox" =>
"3",
952 "spaceFFDCyl" =>
"3",
954 "spaceRipple" =>
"3",
956 "spaceStretch" =>
"3",
962 "sphereGizmo" =>
"3",
966 "splineSelect" =>
"3",
977 "surface_mapper" =>
"3",
981 "targetCamera" =>
"3",
982 "targetDirectionalLight" =>
"3",
984 "targetobject" =>
"3",
992 "touchSensor" =>
"3",
993 "trim_extend" =>
"3",
1001 "vertexPaint" =>
"3",
1002 "volumeselect" =>
"3",
1007 "xrefs.addNewXRefObject" =>
"3",
1056 "simpleObject" =>
"7",
1057 "controller" =>
"8",
1065 ".inTangent" =>
"8",
1066 ".outTangent" =>
"8",
1067 ".inTangentType" =>
"8",
1068 ".outTangentType" =>
"8",
1072 ".constantVelocity" =>
"8",
1075 ".thickness" =>
"8",
1076 ".mapCoords" =>
"8",
1078 ".renderable" =>
"8",
1083 "animatable:" =>
"9",
1086 "controller:" =>
"9",
1089 "errPrompt:" =>
"9",
1091 "fieldwidth:" =>
"9",
1093 "framerange:" =>
"9",
1096 "highlightColor:" =>
"9",
1098 "invisible:" =>
"9",
1105 "outputwidth:" =>
"9",
1109 "replaceUI:" =>
"9",
1112 "silentErrors:" =>
"9",
1116 "tabSizeVariable:" =>
"9",
1117 "terminators:" =>
"9",
1133 $this->linkscripts = array(
1140 "9" =>
"donothing");