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_uniface6 extends HFile{
00006 function HFile_uniface6(){
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", "blue");
00021 $this->quotecolour = "blue";
00022 $this->blockcommentcolour = "green";
00023 $this->linecommentcolour = "green";
00024
00025
00026
00027 $this->indent = array(")");
00028 $this->unindent = array("else", "end", "endif", "endwhile");
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 "/Marker" => "",
00046 "Characters" => "",
00047 "\"$$\"" => "",
00048 "addmonths" => "1",
00049 "apexit" => "1",
00050 "askmess" => "1",
00051 "blockdata" => "1",
00052 "break" => "1",
00053 "by" => "1",
00054 "call" => "1",
00055 "clear" => "1",
00056 "close" => "1",
00057 "clrmess" => "1",
00058 "commit" => "1",
00059 "compare" => "1",
00060 "compute" => "1",
00061 "creocc" => "1",
00062 "debug" => "1",
00063 "delete" => "1",
00064 "delitem" => "1",
00065 "discard" => "1",
00066 "display" => "1",
00067 "done" => "1",
00068 "edit" => "1",
00069 "eject" => "1",
00070 "else" => "1",
00071 "end" => "1",
00072 "endif" => "1",
00073 "endwhile" => "1",
00074 "entry" => "1",
00075 "erase" => "1",
00076 "exit" => "1",
00077 "field_syntax" => "1",
00078 "field_video" => "1",
00079 "filebox" => "1",
00080 "filedump" => "1",
00081 "file_dump" => "1",
00082 "fileload" => "1",
00083 "file_load" => "1",
00084 "from" => "1",
00085 "getitem" => "1",
00086 "getlistitems" => "1",
00087 "goto" => "1",
00088 "help" => "1",
00089 "if" => "1",
00090 "length" => "1",
00091 "lock" => "1",
00092 "lookup" => "1",
00093 "lowercase" => "1",
00094 "macro" => "1",
00095 "message" => "1",
00096 "nodebug" => "1",
00097 "numgen" => "1",
00098 "numset" => "1",
00099 "open" => "1",
00100 "order" => "1",
00101 "perform" => "1",
00102 "pragma" => "1",
00103 "previous" => "1",
00104 "print" => "1",
00105 "print_break" => "1",
00106 "pulldown" => "1",
00107 "putitem" => "1",
00108 "putlistitems" => "1",
00109 "putmess" => "1",
00110 "read" => "1",
00111 "refresh" => "1",
00112 "release" => "1",
00113 "reload" => "1",
00114 "remocc" => "1",
00115 "repeat" => "1",
00116 "reset" => "1",
00117 "retrieve" => "1",
00118 "return" => "1",
00119 "rollback" => "1",
00120 "run" => "1",
00121 "scan" => "1",
00122 "selectdb" => "1",
00123 "set" => "1",
00124 "setocc" => "1",
00125 "skip" => "1",
00126 "sort" => "1",
00127 "spawn" => "1",
00128 "sql" => "1",
00129 "store" => "1",
00130 "to" => "1",
00131 "u_where" => "1",
00132 "until" => "1",
00133 "uppercase" => "1",
00134 "using" => "1",
00135 "where" => "1",
00136 "while" => "1",
00137 "write" => "1",
00138 "append" => "2",
00139 "ask" => "2",
00140 "complete" => "2",
00141 "desc" => "2",
00142 "dump" => "2",
00143 "e" => "2",
00144 "error" => "2",
00145 "field" => "2",
00146 "global" => "2",
00147 "hint" => "2",
00148 "id" => "2",
00149 "image" => "2",
00150 "info" => "2",
00151 "init" => "2",
00152 "list" => "2",
00153 "load" => "2",
00154 "local" => "2",
00155 "menu" => "2",
00156 "mod" => "2",
00157 "net" => "2",
00158 "next" => "2",
00159 "nobeep" => "2",
00160 "noborder" => "2",
00161 "nolock" => "2",
00162 "noterm" => "2",
00163 "nowander" => "2",
00164 "o" => "2",
00165 "occ" => "2",
00166 "query" => "2",
00167 "raw" => "2",
00168 "save" => "2",
00169 "truncate" => "2",
00170 "warning" => "2",
00171 "x" => "2",
00172 ":a" => "2",
00173 ":ascending" => "2",
00174 ":d" => "2",
00175 ":descending" => "2",
00176 "$applname" => "3",
00177 "$batch" => "3",
00178 "$char" => "3",
00179 "$check" => "3",
00180 "$clock" => "3",
00181 "$curline" => "3",
00182 "$curocc" => "3",
00183 "$currhits" => "3",
00184 "$curword" => "3",
00185 "$date" => "3",
00186 "$datim" => "3",
00187 "$dberror" => "3",
00188 "$dbocc" => "3",
00189 "$direction" => "3",
00190 "$disable" => "3",
00191 "$display" => "3",
00192 "$empty" => "3",
00193 "$entname" => "3",
00194 "$error" => "3",
00195 "$fieldcheck" => "3",
00196 "$fieldendmod" => "3",
00197 "$fieldmod" => "3",
00198 "$fieldname" => "3",
00199 "$fieldprofile" => "3",
00200 "$fieldproperties" => "3",
00201 "$fieldvalrep" => "3",
00202 "$format" => "3",
00203 "$formdb" => "3",
00204 "$formdbmod" => "3",
00205 "$formmod" => "3",
00206 "$formname" => "3",
00207 "$formtitle" => "3",
00208 "$framedepth" => "3",
00209 "$gui" => "3",
00210 "$hide" => "3",
00211 "$hits" => "3",
00212 "$ioprint" => "3",
00213 "$keyboard" => "3",
00214 "$language" => "3",
00215 "$lines" => "3",
00216 "$next" => "3",
00217 "$number" => "3",
00218 "$occcheck" => "3",
00219 "$occdel" => "3",
00220 "$occdepth" => "3",
00221 "$occmod" => "3",
00222 "$oprsys" => "3",
00223 "$page" => "3",
00224 "$password" => "3",
00225 "$previous" => "3",
00226 "$printing" => "3",
00227 "$prompt" => "3",
00228 "$properties" => "3",
00229 "$putmess" => "3",
00230 "$relation" => "3",
00231 "$result" => "3",
00232 "$rettype" => "3",
00233 "$selblk" => "3",
00234 "$status" => "3",
00235 "$storetype" => "3",
00236 "$syntax" => "3",
00237 "$text" => "3",
00238 "$time" => "3",
00239 "$totdbocc" => "3",
00240 "$totlines" => "3",
00241 "$totocc" => "3",
00242 "$user" => "3",
00243 "$valrep" => "3",
00244 "$variation" => "3",
00245 "!" => "5",
00246 "$" => "5",
00247 "%" => "5",
00248 "&" => "5",
00249 "(" => "5",
00250 ")" => "5",
00251 "*" => "5",
00252 "+" => "5",
00253 "," => "5",
00254 "-" => "5",
00255 "." => "5",
00256 "/" => "5",
00257 ":" => "5",
00258 ";" => "5",
00259 "<" => "5",
00260 "=" => "5",
00261 ">" => "5",
00262 "[" => "5",
00263 "\\" => "5",
00264 "]" => "5",
00265 "^" => "5",
00266 "|" => "5",
00267 "$$" => "5");
00268
00269
00270
00271
00272
00273
00274
00275
00276 $this->linkscripts = array(
00277 "" => "donothing",
00278 "1" => "donothing",
00279 "2" => "donothing",
00280 "3" => "donothing",
00281 "5" => "donothing");
00282 }
00283
00284
00285 function donothing($keywordin)
00286 {
00287 return $keywordin;
00288 }
00289
00290 }?>