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_winrex extends HFile{
00006 function HFile_winrex(){
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");
00021 $this->quotecolour = "blue";
00022 $this->blockcommentcolour = "green";
00023 $this->linecommentcolour = "green";
00024
00025
00026
00027 $this->indent = array("do");
00028 $this->unindent = array("end");
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 "ABBREV" => "1",
00046 "ABS" => "1",
00047 "ADDRESS" => "1",
00048 "ARG" => "1",
00049 "BITAND" => "1",
00050 "BITOR" => "1",
00051 "BITXOR" => "1",
00052 "B2X" => "1",
00053 "CENTER" => "1",
00054 "CHARIN" => "1",
00055 "CHAROUT" => "1",
00056 "CHARS" => "1",
00057 "COMPARE" => "1",
00058 "CONDITION" => "1",
00059 "COPIES" => "1",
00060 "C2D" => "1",
00061 "C2X" => "1",
00062 "DATATYPE" => "1",
00063 "DATE" => "1",
00064 "DELSTR" => "1",
00065 "DELWORD" => "1",
00066 "DIGITS" => "1",
00067 "D2C" => "1",
00068 "D2X" => "1",
00069 "ERRORTEXT" => "1",
00070 "FORM" => "1",
00071 "FORMAT" => "1",
00072 "FUZZ" => "1",
00073 "filespec" => "1",
00074 "INSERT" => "1",
00075 "LASTPOS" => "1",
00076 "LEFT" => "1",
00077 "LENGTH" => "1",
00078 "LINEIN" => "1",
00079 "LINEOUT" => "1",
00080 "LINES" => "1",
00081 "MAX" => "1",
00082 "MIN" => "1",
00083 "nop" => "1",
00084 "OVERLAY" => "1",
00085 "POS" => "1",
00086 "QUEUED" => "1",
00087 "RANDOM" => "1",
00088 "REVERSE" => "1",
00089 "RIGHT" => "1",
00090 "SIGN" => "1",
00091 "SOURCELINE" => "1",
00092 "SPACE" => "1",
00093 "STREAM" => "1",
00094 "STRIP" => "1",
00095 "SUBSTR" => "1",
00096 "SUBWORD" => "1",
00097 "SYMBOL" => "1",
00098 "TIME" => "1",
00099 "TRACE" => "1",
00100 "TRANSLATE" => "1",
00101 "TRUNC" => "1",
00102 "VALUE" => "1",
00103 "VERIFY" => "1",
00104 "WORD" => "1",
00105 "WORDINDEX" => "1",
00106 "WORDLENGTH" => "1",
00107 "WORDPOS" => "1",
00108 "WORDS" => "1",
00109 "XRANGE" => "1",
00110 "X2B" => "1",
00111 "X2C" => "1",
00112 "X2D" => "1",
00113 "say" => "2",
00114 "signal" => "2",
00115 "call" => "3",
00116 "do" => "3",
00117 "end" => "3",
00118 "exit" => "3",
00119 "if" => "3",
00120 "otherwise" => "3",
00121 "select" => "3",
00122 "then" => "3",
00123 "when" => "3");
00124
00125
00126
00127
00128
00129
00130
00131
00132 $this->linkscripts = array(
00133 "1" => "donothing",
00134 "2" => "donothing",
00135 "3" => "donothing");
00136 }
00137
00138
00139 function donothing($keywordin)
00140 {
00141 return $keywordin;
00142 }
00143
00144 }?>