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_zmud extends HFile{
00006 function HFile_zmud(){
00007 $this->HFile();
00008
00009
00010
00011
00012
00013
00014 $this->nocase = "0";
00015 $this->notrim = "0";
00016 $this->perl = "0";
00017
00018
00019
00020 $this->colours = array("blue", "brown", "gray");
00021 $this->quotecolour = "blue";
00022 $this->blockcommentcolour = "green";
00023 $this->linecommentcolour = "green";
00024
00025
00026
00027 $this->indent = array();
00028 $this->unindent = array();
00029
00030
00031
00032 $this->stringchars = array();
00033 $this->delimiters = array("#", "$", "%", "&", ",", ".", " ", "/", "(", ")", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "<", "=", ">", "[", "\\", "]", "^", "_", "|", "~", "`", "@");
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 "ABORT" => "1",
00046 "ACTION" => "1",
00047 "ADD" => "1",
00048 "ADDITEM" => "1",
00049 "ADDKEY" => "1",
00050 "ALARM" => "1",
00051 "ALIAS" => "1",
00052 "ALL" => "1",
00053 "BACKUP" => "1",
00054 "BEEP" => "1",
00055 "BUTTON" => "1",
00056 "C+" => "1",
00057 "C-" => "1",
00058 "CAPTURE" => "1",
00059 "CASE" => "1",
00060 "CHARACTER" => "1",
00061 "CLASS" => "1",
00062 "CLOSE" => "1",
00063 "CLR" => "1",
00064 "COLOR" => "1",
00065 "CONFIGURE" => "1",
00066 "CONNECT" => "1",
00067 "CR" => "1",
00068 "CW" => "1",
00069 "DBCLOSE" => "1",
00070 "DBFIRST" => "1",
00071 "DBGET" => "1",
00072 "DBLOAD" => "1",
00073 "DBNEXT" => "1",
00074 "DBOFFLINE" => "1",
00075 "DBONLINE" => "1",
00076 "DBPREV" => "1",
00077 "DBPUT" => "1",
00078 "DBRESET" => "1",
00079 "DBSAVE" => "1",
00080 "DDE" => "1",
00081 "DEFAULT" => "1",
00082 "DELCLASS" => "1",
00083 "DELITEM" => "1",
00084 "DELKEY" => "1",
00085 "DELNITEM" => "1",
00086 "DESCRIBE" => "1",
00087 "DIR" => "1",
00088 "DISCONNECT" => "1",
00089 "DOOR" => "1",
00090 "ECHO" => "1",
00091 "ECHOPROMPT" => "1",
00092 "ERASE" => "1",
00093 "EVAL" => "1",
00094 "EXEC" => "1",
00095 "FILE" => "1",
00096 "FIND" => "1",
00097 "FORALL" => "1",
00098 "FREEZE" => "1",
00099 "FUNCTION" => "1",
00100 "GAG" => "1",
00101 "GAGBLOCK" => "1",
00102 "GAGOFF" => "1",
00103 "GAGON" => "1",
00104 "H+" => "1",
00105 "H-" => "1",
00106 "HELP" => "1",
00107 "HIGHLIGHT" => "1",
00108 "HISTORY" => "1",
00109 "HOST" => "1",
00110 "IF" => "1",
00111 "IGNORE" => "1",
00112 "INPUT" => "1",
00113 "KEY" => "1",
00114 "KILLALL" => "1",
00115 "LAUNCH" => "1",
00116 "LMAP" => "1",
00117 "LOAD" => "1",
00118 "LOG" => "1",
00119 "LOOK" => "1",
00120 "LOOP" => "1",
00121 "LOOPDB" => "1",
00122 "LOOPVIEW" => "1",
00123 "MAKEROOM" => "1",
00124 "MAP" => "1",
00125 "MARK" => "1",
00126 "MATH" => "1",
00127 "MEDIA" => "1",
00128 "MENU" => "1",
00129 "MERGE" => "1",
00130 "MESSAGE" => "1",
00131 "MOVE" => "1",
00132 "NAME" => "1",
00133 "NEW" => "1",
00134 "NODEF" => "1",
00135 "NODIR" => "1",
00136 "NOMAP" => "1",
00137 "NOOP" => "1",
00138 "OK" => "1",
00139 "PATH" => "1",
00140 "PAUSE" => "1",
00141 "PICK" => "1",
00142 "PLAY" => "1",
00143 "PLUGIN" => "1",
00144 "PROMPT" => "1",
00145 "PW" => "1",
00146 "QUERY" => "1",
00147 "READ" => "1",
00148 "RECALL" => "1",
00149 "RECORD" => "1",
00150 "RENAME" => "1",
00151 "RESET" => "1",
00152 "RETRACE" => "1",
00153 "SAVE" => "1",
00154 "SAY" => "1",
00155 "SAYPROMPT" => "1",
00156 "SCROLL" => "1",
00157 "SEND" => "1",
00158 "SENDPROMPT" => "1",
00159 "SESSION" => "1",
00160 "SHOW" => "1",
00161 "SHOWDB" => "1",
00162 "SHOWPROMPT" => "1",
00163 "SLOW" => "1",
00164 "STATUS" => "1",
00165 "STEP" => "1",
00166 "STOP" => "1",
00167 "STW" => "1",
00168 "SUBSTITUTE" => "1",
00169 "T+" => "1",
00170 "T-" => "1",
00171 "T?" => "1",
00172 "TAB" => "1",
00173 "TAG" => "1",
00174 "TELEPORT" => "1",
00175 "TEMP" => "1",
00176 "TIMER" => "1",
00177 "TRIGGER" => "1",
00178 "TS" => "1",
00179 "TYPE" => "1",
00180 "TZ" => "1",
00181 "UNALIAS" => "1",
00182 "UNBUTTON" => "1",
00183 "UNCLASS" => "1",
00184 "UNDIR" => "1",
00185 "UNGAG" => "1",
00186 "UNKEY" => "1",
00187 "UNMENU" => "1",
00188 "UNTIL" => "1",
00189 "UNTRIGGER" => "1",
00190 "UNVAR" => "1",
00191 "URL" => "1",
00192 "VARIABLE" => "1",
00193 "VERBATIM" => "1",
00194 "VERSION" => "1",
00195 "VIEW" => "1",
00196 "WAIT" => "1",
00197 "WALK" => "1",
00198 "WHILE" => "1",
00199 "WINDOW" => "1",
00200 "WIZLIST" => "1",
00201 "WRAP" => "1",
00202 "WRITE" => "1",
00203 "YESNO" => "1",
00204 "#" => "1",
00205 "abs" => "4",
00206 "additem" => "4",
00207 "addkey" => "4",
00208 "alias" => "4",
00209 "ansi" => "4",
00210 "ascii" => "4",
00211 "average" => "4",
00212 "begins" => "4",
00213 "bitand" => "4",
00214 "bitnot" => "4",
00215 "bitor" => "4",
00216 "bitxor" => "4",
00217 "btncol" => "4",
00218 "btnimage" => "4",
00219 "case" => "4",
00220 "char" => "4",
00221 "clip" => "4",
00222 "color" => "4",
00223 "concat" => "4",
00224 "copy" => "4",
00225 "count" => "4",
00226 "countlist" => "4",
00227 "db" => "4",
00228 "dbget" => "4",
00229 "dblist" => "4",
00230 "dbmax" => "4",
00231 "dbmin" => "4",
00232 "dde" => "4",
00233 "ddeclose" => "4",
00234 "ddemacro" => "4",
00235 "ddeopen" => "4",
00236 "ddepoke" => "4",
00237 "defined" => "4",
00238 "delete" => "4",
00239 "delitem" => "4",
00240 "delkey" => "4",
00241 "dice" => "4",
00242 "diceavg" => "4",
00243 "dicedev" => "4",
00244 "dicemax" => "4",
00245 "dicemin" => "4",
00246 "dups" => "4",
00247 "ends" => "4",
00248 "eval" => "4",
00249 "exec" => "4",
00250 "expand" => "4",
00251 "filesize" => "4",
00252 "find" => "4",
00253 "format" => "4",
00254 "getglobal" => "4",
00255 "grep" => "4",
00256 "handle" => "4",
00257 "if" => "4",
00258 "insert" => "4",
00259 "iskey" => "4",
00260 "ismember" => "4",
00261 "isnumber" => "4",
00262 "item" => "4",
00263 "lastdir" => "4",
00264 "left" => "4",
00265 "leftback" => "4",
00266 "len" => "4",
00267 "literal" => "4",
00268 "look" => "4",
00269 "lower" => "4",
00270 "max" => "4",
00271 "min" => "4",
00272 "mod" => "4",
00273 "null" => "4",
00274 "number" => "4",
00275 "numbuttons" => "4",
00276 "numitems" => "4",
00277 "numkeys" => "4",
00278 "numparam" => "4",
00279 "numrec" => "4",
00280 "numrooms" => "4",
00281 "numwords" => "4",
00282 "numzones" => "4",
00283 "param" => "4",
00284 "pick" => "4",
00285 "pos" => "4",
00286 "prompt" => "4",
00287 "proper" => "4",
00288 "query" => "4",
00289 "quote" => "4",
00290 "random" => "4",
00291 "read" => "4",
00292 "remove" => "4",
00293 "repeat" => "4",
00294 "replace" => "4",
00295 "right" => "4",
00296 "rightback" => "4",
00297 "roomcol" => "4",
00298 "roomcom" => "4",
00299 "roomcontents" => "4",
00300 "roomcost" => "4",
00301 "roomdesc" => "4",
00302 "roomexit" => "4",
00303 "roomflags" => "4",
00304 "roomid" => "4",
00305 "roomkind" => "4",
00306 "roomlink" => "4",
00307 "roomload" => "4",
00308 "roomname" => "4",
00309 "roomnote" => "4",
00310 "roomnum" => "4",
00311 "roomobj" => "4",
00312 "roomportal" => "4",
00313 "setglobal" => "4",
00314 "sort" => "4",
00315 "stdev" => "4",
00316 "sum" => "4",
00317 "time" => "4",
00318 "trigger" => "4",
00319 "trim" => "4",
00320 "trimleft" => "4",
00321 "trimright" => "4",
00322 "upper" => "4",
00323 "viewrec" => "4",
00324 "walk" => "4",
00325 "walkmode" => "4",
00326 "window" => "4",
00327 "word" => "4",
00328 "write" => "4",
00329 "yesno" => "4",
00330 "zonename" => "4",
00331 "zonenum" => "4",
00332 "%" => "4",
00333 "-" => "3",
00334 "+" => "3",
00335 "=" => "3",
00336 "@" => "3");
00337
00338
00339
00340
00341
00342
00343
00344
00345 $this->linkscripts = array(
00346 "1" => "donothing",
00347 "4" => "donothing",
00348 "3" => "donothing");
00349 }
00350
00351
00352 function donothing($keywordin)
00353 {
00354 return $keywordin;
00355 }
00356
00357 }?>