00001 <?php
00002 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00003 if (!isset ($BEAUT_PATH)) return;
00004 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00005 class HFile_uemacro extends HFile{
00006 function HFile_uemacro(){
00007 $this->HFile();
00008
00009
00010
00011
00012
00013
00014 $this->nocase = "1";
00015 $this->notrim = "0";
00016 $this->perl = "0";
00017
00018
00019
00020 $this->colours = array("blue", "purple", "gray", "brown", "blue", "purple");
00021 $this->quotecolour = "blue";
00022 $this->blockcommentcolour = "green";
00023 $this->linecommentcolour = "green";
00024
00025
00026
00027 $this->indent = array("Else", "IfCharIs", "IfColNum", "IfEof", "IfFound", "IfNotFound", "IfSel", "Loop", "StartSelect");
00028 $this->unindent = array("Else", "EndIf", "EndLoop", "EndSelect");
00029
00030
00031
00032 $this->stringchars = array();
00033 $this->delimiters = array("~", "!", "@", "$", "%", "^", "&", "*", "(", ")", "_", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", ".", "?", "/");
00034 $this->escchar = "";
00035
00036
00037
00038 $this->linecommenton = array("*");
00039 $this->blockcommenton = array("*");
00040 $this->blockcommentoff = array("*");
00041
00042
00043
00044 $this->keywords = array(
00045 "AnsiToOem" => "1",
00046 "Bottom" => "1",
00047 "CloseFile" => "1",
00048 "ColumnModeOff" => "1",
00049 "ColumnModeOn" => "1",
00050 "ColumnCut" => "1",
00051 "ColumnDelete" => "1",
00052 "ColumnInsert" => "1",
00053 "ColumnInsertNum" => "1",
00054 "Copy" => "1",
00055 "Cut" => "1",
00056 "Delete" => "1",
00057 "DeleteLine" => "1",
00058 "DeleteToEndOfLine" => "1",
00059 "DeleteToStartOfLine" => "1",
00060 "DosToMac" => "1",
00061 "DosToUnix" => "1",
00062 "ExitMacro" => "1",
00063 "GetString" => "1",
00064 "GetValue" => "1",
00065 "GotoBookMark" => "1",
00066 "GotoLine" => "1",
00067 "GotoPage" => "1",
00068 "HexDelete" => "1",
00069 "HexInsert" => "1",
00070 "HexOff" => "1",
00071 "HexOn" => "1",
00072 "InsertMode" => "1",
00073 "InsertPageBreak" => "1",
00074 "InvertCase" => "1",
00075 "NextWindow" => "1",
00076 "NewFile" => "1",
00077 "OemToAnsi" => "1",
00078 "Open" => "1",
00079 "OverStrikeMode" => "1",
00080 "Paste" => "1",
00081 "PlayMacro" => "1",
00082 "PreviousWindow" => "1",
00083 "ReturnToWarp" => "1",
00084 "Save" => "1",
00085 "SaveAs" => "1",
00086 "SelectAll" => "1",
00087 "SelectToBottom" => "1",
00088 "SelectToTop" => "1",
00089 "SelectWord" => "1",
00090 "SpacesToTabs" => "1",
00091 "SpacesToTabsAll" => "1",
00092 "TabsToSpaces" => "1",
00093 "TimeDate" => "1",
00094 "ToCaps" => "1",
00095 "ToggleBookMark" => "1",
00096 "ToLower" => "1",
00097 "Top" => "1",
00098 "ToUpper" => "1",
00099 "TrimTrailingSpaces" => "1",
00100 "UnixMactoDos" => "1",
00101 "WrapToReturn" => "1",
00102 "Template" => "2",
00103 "Else" => "3",
00104 "EndIf" => "3",
00105 "EndLoop" => "3",
00106 "EndSelect" => "3",
00107 "ExitLoop" => "3",
00108 "IfCharIs" => "3",
00109 "IfColNum" => "3",
00110 "IfEof" => "3",
00111 "IfFound" => "3",
00112 "IfNotFound" => "3",
00113 "IfSel" => "3",
00114 "Loop" => "3",
00115 "StartSelect" => "3",
00116 "**" => "4",
00117 "Ctrl+" => "4",
00118 "All" => "4",
00119 "ARROW" => "4",
00120 "AllFiles" => "4",
00121 "Backspace" => "4",
00122 "DEL" => "4",
00123 "DOWN" => "4",
00124 "END" => "4",
00125 "HOME" => "4",
00126 "IgnoreCase" => "5",
00127 "Key" => "4",
00128 "LEFT" => "4",
00129 "PGDN" => "4",
00130 "PGUP" => "4",
00131 "RemoveDup" => "5",
00132 "RIGHT" => "4",
00133 "Selected" => "4",
00134 "Text" => "4",
00135 "UP" => "4",
00136 "SortAsc" => "5",
00137 "SortDes" => "5",
00138 "Find" => "6",
00139 "MatchCase" => "6",
00140 "MatchWord" => "6",
00141 "RegExp" => "6",
00142 "Replace" => "6",
00143 "Select" => "6",
00144 "SelectText" => "6");
00145
00146
00147
00148
00149
00150
00151
00152
00153 $this->linkscripts = array(
00154 "1" => "donothing",
00155 "2" => "donothing",
00156 "3" => "donothing",
00157 "4" => "donothing",
00158 "5" => "donothing",
00159 "6" => "donothing");
00160 }
00161
00162
00163 function donothing($keywordin)
00164 {
00165 return $keywordin;
00166 }
00167
00168 }?>