2 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours =
array(
"blue",
"purple",
"gray",
"blue",
"purple",
"brown",
"gray",
"brown");
25 $this->quotecolour =
"blue";
26 $this->blockcommentcolour =
"green";
27 $this->linecommentcolour =
"green";
31 $this->indent =
array(
"Then",
"<TD>",
"<td>",
"<Td>");
32 $this->unindent =
array(
"End",
"Next",
"End If",
"End Select",
"</td>",
"</Td>");
36 $this->stringchars =
array();
37 $this->delimiters =
array(
"~",
"!",
"@",
"$",
"%",
"^",
"&",
"*",
"(",
")",
"+",
"=",
"|",
"\\",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
".",
"?");
42 $this->linecommenton =
array(
"'");
43 $this->blockcommenton =
array(
"<!--");
44 $this->blockcommentoff =
array(
"-->");
48 $this->keywords =
array(
81 "<BLOCKQUOTE>" =>
"1",
83 "</BLOCKQUOTE>" =>
"1",
108 "</COLGROUP>" =>
"1",
138 "</FIELDSET>" =>
"1",
147 "</FRAMESET>" =>
"1",
214 "</MULTICOL>" =>
"1",
219 "</NOFRAMES>" =>
"1",
225 "</NOSCRIPT>" =>
"1",
236 "</OPTGROUP>" =>
"1",
297 "</TEXTAREA>" =>
"1",
328 "ACCEPT-CHARSET=" =>
"2",
337 "BACKGROUND=" =>
"2",
342 "CELLPADDING=" =>
"2",
343 "CELLSPACING=" =>
"2",
371 "FRAMEBORDER=" =>
"2",
372 "FRAMESPACING=" =>
"2",
379 "HTTP-EQUIV=" =>
"2",
389 "MARGINHEIGHT=" =>
"2",
390 "MARGINWIDTH=" =>
"2",
404 "ONKEYPRESS=" =>
"2",
412 "ONDBLCLICK=" =>
"2",
413 "ONMOUSEDOWN=" =>
"2",
414 "ONMOUSEMOVE=" =>
"2",
415 "ONMOUSEOUT=" =>
"2",
416 "ONMOUSEOVER=" =>
"2",
477 "CreateObject" =>
"3",
499 "FileDateTime" =>
"3",
505 "GetAllStrings" =>
"3",
507 "GetAutoServerSettings" =>
"3",
535 "LoadPicture" =>
"3",
602 "AddFromFile" =>
"5",
603 "AddFromTemplate" =>
"5",
606 "AddToAddInToolbar" =>
"5",
607 "AddToolboxProgID" =>
"5",
609 "AppendChunk" =>
"5",
613 "BatchUpdate" =>
"5",
617 "CacheControl" =>
"5",
619 "CancelAsyncRead" =>
"5",
620 "CancelBatch" =>
"5",
621 "CancelUpdate" =>
"5",
622 "CanPropertyChange" =>
"5",
623 "CaptureImage" =>
"5",
629 "ClearFields" =>
"5",
631 "ClearSelCols" =>
"5",
635 "ColContaining" =>
"5",
637 "CommitTrans" =>
"5",
638 "CompactDatabase" =>
"5",
641 "ContentType" =>
"5",
643 "CopyQueryDef" =>
"5",
644 "CreateDatabase" =>
"5",
645 "CreateDragImage" =>
"5",
646 "CreateEmbed" =>
"5",
647 "CreateField" =>
"5",
648 "CreateGroup" =>
"5",
649 "CreateIndex" =>
"5",
651 "CreatePreparedStatement" =>
"5",
652 "CreatePropery" =>
"5",
653 "CreateQuery" =>
"5",
654 "CreateQueryDef" =>
"5",
655 "CreateRelation" =>
"5",
656 "CreateTableDef" =>
"5",
658 "CreateWorkspace" =>
"5",
661 "DeleteColumnLabels" =>
"5",
662 "DeleteColumns" =>
"5",
663 "DeleteRowLabels" =>
"5",
672 "EnsureVisible" =>
"5",
673 "EstablishConnection" =>
"5",
676 "ExpiresAbsolute" =>
"5",
677 "ExtractIcon" =>
"5",
687 "FindPrevious" =>
"5",
689 "GetBookmark" =>
"5",
691 "GetClipString" =>
"5",
693 "GetFirstVisible" =>
"5",
696 "GetLineFromChar" =>
"5",
697 "GetNumTicks" =>
"5",
699 "GetSelectedPart" =>
"5",
701 "GetVisibleCount" =>
"5",
709 "InitializeLabels" =>
"5",
710 "InsertColumnLabels" =>
"5",
711 "InsertColumns" =>
"5",
712 "InsertObjDlg" =>
"5",
713 "InsertRowLabels" =>
"5",
715 "IsClientConnected" =>
"5",
720 "LinkExecute" =>
"5",
722 "LinkRequest" =>
"5",
726 "LoadResData" =>
"5",
727 "LoadResPicture" =>
"5",
728 "LoadResString" =>
"5",
730 "MakeCompileFile" =>
"5",
731 "MakeReplica" =>
"5",
733 "MoreResults" =>
"5",
739 "MovePrevious" =>
"5",
742 "NewPassword" =>
"5",
743 "NextRecordset" =>
"5",
745 "OnAddinsUpdate" =>
"5",
746 "OnConnection" =>
"5",
747 "OnDisconnection" =>
"5",
748 "OnStartupComplete" =>
"5",
750 "OpenConnection" =>
"5",
751 "OpenDatabase" =>
"5",
752 "OpenQueryDef" =>
"5",
753 "OpenRecordset" =>
"5",
754 "OpenResultset" =>
"5",
757 "PaintPicture" =>
"5",
759 "PastSpecialDlg" =>
"5",
763 "PopulatePartial" =>
"5",
767 "PropertyChanged" =>
"5",
771 "RandomDataFill" =>
"5",
772 "RandomFillColumns" =>
"5",
773 "RandomFillRows" =>
"5",
774 "rdoCreateEnvironment" =>
"5",
775 "rdoRegisterDataSource" =>
"5",
776 "ReadFromFile" =>
"5",
777 "ReadProperty" =>
"5",
781 "RefreshLink" =>
"5",
782 "RegisterDatabase" =>
"5",
785 "RemoveAddInFromToolbar" =>
"5",
788 "RepairDatabase" =>
"5",
792 "ResetCustom" =>
"5",
793 "ResetCustomLabel" =>
"5",
794 "ResolveName" =>
"5",
795 "RestoreToolbar" =>
"5",
798 "RollbackTrans" =>
"5",
799 "RowBookmark" =>
"5",
800 "RowContaining" =>
"5",
806 "SaveToolbar" =>
"5",
807 "SaveToOle1File" =>
"5",
811 "ScriptTimeout" =>
"5",
821 "SetAutoServerSettings" =>
"5",
827 "SetViewport" =>
"5",
833 "ShowPrinter" =>
"5",
835 "ShowWhatsThis" =>
"5",
840 "SplitContaining" =>
"5",
841 "StartLabelEdit" =>
"5",
842 "StartLogging" =>
"5",
845 "Synchronize" =>
"5",
850 "TwipsToChartPart" =>
"5",
851 "TypeByChartType" =>
"5",
853 "UpdateControls" =>
"5",
854 "UpdateRecord" =>
"5",
858 "WhatsThisMode" =>
"5",
860 "WriteProperty" =>
"5",
862 "AccessKeyPress" =>
"6",
864 "AfterAddFile" =>
"6",
865 "AfterChangeFileName" =>
"6",
866 "AfterCloseFile" =>
"6",
867 "AfterColEdit" =>
"6",
868 "AfterColUpdate" =>
"6",
869 "AfterDelete" =>
"6",
870 "AfterInsert" =>
"6",
871 "AfterLabelEdit" =>
"6",
872 "AfterRemoveFile" =>
"6",
873 "AfterUpdate" =>
"6",
874 "AfterWriteFile" =>
"6",
875 "AmbienChanged" =>
"6",
876 "AppendToLog" =>
"6",
877 "ApplyChanges" =>
"6",
879 "AsyncReadComplete" =>
"6",
880 "AxisActivated" =>
"6",
881 "AxisLabelActivated" =>
"6",
882 "AxisLabelSelected" =>
"6",
883 "AxisLabelUpdated" =>
"6",
884 "AxisSelected" =>
"6",
885 "AxisTitleActivated" =>
"6",
886 "AxisTitleSelected" =>
"6",
887 "AxisTitleUpdated" =>
"6",
888 "AxisUpdated" =>
"6",
889 "BeforeClick" =>
"6",
890 "BeforeColEdit" =>
"6",
891 "BeforeColUpdate" =>
"6",
892 "BeforeConnect" =>
"6",
893 "BeforeDelete" =>
"6",
894 "BeforeInsert" =>
"6",
895 "BeforeLabelEdit" =>
"6",
896 "BeforeLoadFile" =>
"6",
897 "BeforeUpdate" =>
"6",
898 "BinaryWrite" =>
"6",
899 "ButtonClick" =>
"6",
900 "ButtonCompleted" =>
"6",
901 "ButtonGotFocus" =>
"6",
902 "ButtonLostFocus" =>
"6",
904 "ChartActivated" =>
"6",
905 "ChartSelected" =>
"6",
906 "ChartUpdated" =>
"6",
911 "ColumnClick" =>
"6",
913 "ConfigChageCancelled" =>
"6",
914 "ConfigChanged" =>
"6",
915 "ConnectionRequest" =>
"6",
916 "DataArrival" =>
"6",
917 "DataChanged" =>
"6",
918 "DataUpdated" =>
"6",
921 "DeviceArrival" =>
"6",
922 "DeviceOtherEvent" =>
"6",
923 "DeviceQueryRemove" =>
"6",
924 "DeviceQueryRemoveFailed" =>
"6",
925 "DeviceRemoveComplete" =>
"6",
926 "DeviceRemovePending" =>
"6",
927 "DevModeChange" =>
"6",
929 "DisplayChanged" =>
"6",
931 "DoGetNewFileName" =>
"6",
933 "DonePainting" =>
"6",
938 "EditProperty" =>
"6",
944 "FootnoteActivated" =>
"6",
945 "FootnoteSelected" =>
"6",
946 "FootnoteUpdated" =>
"6",
949 "InfoMessage" =>
"6",
951 "IniProperties" =>
"6",
952 "ItemActivated" =>
"6",
956 "ItemReloaded" =>
"6",
957 "ItemRemoved" =>
"6",
958 "ItemRenamed" =>
"6",
959 "ItemSeletected" =>
"6",
964 "LegendActivated" =>
"6",
965 "LegendSelected" =>
"6",
966 "LegendUpdated" =>
"6",
978 "OLECompleteDrag" =>
"6",
979 "OLEDragDrop" =>
"6",
980 "OLEDragOver" =>
"6",
981 "OLEGiveFeedback" =>
"6",
983 "OLEStartDrag" =>
"6",
990 "PanelDblClick" =>
"6",
992 "PatternChange" =>
"6",
993 "PlotActivated" =>
"6",
994 "PlotSelected" =>
"6",
995 "PlotUpdated" =>
"6",
996 "PointActivated" =>
"6",
997 "PointLabelActivated" =>
"6",
998 "PointLabelSelected" =>
"6",
999 "PointLabelUpdated" =>
"6",
1000 "PointSelected" =>
"6",
1001 "PointUpdated" =>
"6",
1002 "PowerQuerySuspend" =>
"6",
1003 "PowerResume" =>
"6",
1004 "PowerStatusChanged" =>
"6",
1005 "PowerSuspend" =>
"6",
1006 "QueryChangeConfig" =>
"6",
1007 "QueryComplete" =>
"6",
1008 "QueryCompleted" =>
"6",
1009 "QueryTimeout" =>
"6",
1010 "QueryUnload" =>
"6",
1011 "ReadProperties" =>
"6",
1013 "Reposition" =>
"6",
1014 "RequestChangeFileName" =>
"6",
1015 "RequestWriteFile" =>
"6",
1017 "ResultsChanged" =>
"6",
1018 "RowColChange" =>
"6",
1019 "RowCurrencyChange" =>
"6",
1021 "RowStatusChanged" =>
"6",
1023 "SelectionChanged" =>
"6",
1024 "SendComplete" =>
"6",
1025 "SendProgress" =>
"6",
1026 "SeriesActivated" =>
"6",
1027 "SeriesSelected" =>
"6",
1028 "SeriesUpdated" =>
"6",
1029 "SettingChanged" =>
"6",
1030 "SplitChange" =>
"6",
1031 "StateChanged" =>
"6",
1032 "StatusUpdate" =>
"6",
1033 "SysColorsChanged" =>
"6",
1035 "TimeChanged" =>
"6",
1036 "TitleActivated" =>
"6",
1037 "TitleSelected" =>
"6",
1038 "UnboundAddData" =>
"6",
1039 "UnboundDeleteRow" =>
"6",
1040 "UnboundGetRelativeBookmark" =>
"6",
1041 "UnboundReadData" =>
"6",
1042 "UnboundWriteData" =>
"6",
1047 "ValidationError" =>
"6",
1048 "WillAssociate" =>
"6",
1049 "WillChangeData" =>
"6",
1050 "WillDissociate" =>
"6",
1051 "WillExecute" =>
"6",
1052 "WillUpdateRows" =>
"6",
1053 "WriteProperties" =>
"6",
1054 "AppActivate" =>
"4",
1075 "DeleteSetting" =>
"4",
1094 "Implements" =>
"4",
1110 "RaiseEvent" =>
"4",
1118 "SavePicture" =>
"4",
1119 "SaveSetting" =>
"4",
1131 "Application" =>
"7",
1133 "ClientCertificate" =>
"7",
1134 "ObjectContext" =>
"7",
1136 "QueryString" =>
"7",
1140 "ServerVariables" =>
"7",
1144 "ForAppending" =>
"8",
1145 "ForReading" =>
"8",
1146 "ForWriting" =>
"8",
1152 "vbBinaryCompare" =>
"8",
1159 "vbCurrency" =>
"8",
1161 "vbDataObject" =>
"8",
1168 "vbFirstFourDays" =>
"8",
1169 "vbFirstFullWeek" =>
"8",
1170 "vbFirstJan1" =>
"8",
1171 "vbFormFeed" =>
"8",
1173 "vbGeneralDate" =>
"8",
1178 "vbLongDate" =>
"8",
1179 "vbLongTime" =>
"8",
1185 "vbNullChar" =>
"8",
1186 "vbNullString" =>
"8",
1188 "vbObjectError" =>
"8",
1190 "vbSaturday" =>
"8",
1191 "vbShortDate" =>
"8",
1192 "vbShortTime" =>
"8",
1197 "vbTextCompare" =>
"8",
1198 "vbThursday" =>
"8",
1201 "vbUseSystem" =>
"8",
1202 "vbUseSystemDayOfWeek" =>
"8",
1204 "vbVerticalTab" =>
"8",
1205 "vbWednesday" =>
"8",
1216 $this->linkscripts =
array(
1225 "8" =>
"donothing");
Create styles array
The data for the language used.