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_uniface72 extends HFile{
00006 function HFile_uniface72(){
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(")", "params", "variables");
00028 $this->unindent = array("else", "end", "endif", "endparams", "endselectcase");
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 "\"endvariables\"" => "",
00046 "\"endwhile\"" => "",
00047 "/Marker" => "",
00048 "Characters" => "",
00049 "\"$$\"" => "",
00050 "activate" => "1",
00051 "addmonths" => "1",
00052 "apexit" => "1",
00053 "apstart" => "1",
00054 "askmess" => "1",
00055 "blockdata" => "1",
00056 "break" => "1",
00057 "by" => "1",
00058 "call" => "1",
00059 "case" => "1",
00060 "clear" => "1",
00061 "close" => "1",
00062 "clrmess" => "1",
00063 "commit" => "1",
00064 "compare" => "1",
00065 "compute" => "1",
00066 "creocc" => "1",
00067 "curocc_video" => "1",
00068 "debug" => "1",
00069 "delete" => "1",
00070 "delete_instance" => "1",
00071 "delitem" => "1",
00072 "discard" => "1",
00073 "display" => "1",
00074 "done" => "1",
00075 "edit" => "1",
00076 "eject" => "1",
00077 "else" => "1",
00078 "elsecase" => "1",
00079 "elseif" => "1",
00080 "end" => "1",
00081 "endif" => "1",
00082 "endparams" => "1",
00083 "endselectcase" => "1",
00084 "endvariables" => "1",
00085 "endwhile" => "1",
00086 "entry" => "1",
00087 "erase" => "1",
00088 "exit" => "1",
00089 "field_syntax" => "1",
00090 "field_video" => "1",
00091 "filebox" => "1",
00092 "filedump" => "1",
00093 "file_dump" => "1",
00094 "fileload" => "1",
00095 "file_load" => "1",
00096 "findkey" => "1",
00097 "from" => "1",
00098 "getitem" => "1",
00099 "getlistitems" => "1",
00100 "goto" => "1",
00101 "help" => "1",
00102 "if" => "1",
00103 "length" => "1",
00104 "lock" => "1",
00105 "lookup" => "1",
00106 "lowercase" => "1",
00107 "macro" => "1",
00108 "message" => "1",
00109 "new_instance" => "1",
00110 "nodebug" => "1",
00111 "numgen" => "1",
00112 "numset" => "1",
00113 "open" => "1",
00114 "operation" => "1",
00115 "order" => "1",
00116 "params" => "1",
00117 "perform" => "1",
00118 "postmessage" => "1",
00119 "pragma" => "1",
00120 "previous" => "1",
00121 "print" => "1",
00122 "print_break" => "1",
00123 "pulldown" => "1",
00124 "putitem" => "1",
00125 "putlistitems" => "1",
00126 "putmess" => "1",
00127 "read" => "1",
00128 "refresh" => "1",
00129 "release" => "1",
00130 "reload" => "1",
00131 "remocc" => "1",
00132 "repeat" => "1",
00133 "reset" => "1",
00134 "retrieve" => "1",
00135 "return" => "1",
00136 "rollback" => "1",
00137 "run" => "1",
00138 "scan" => "1",
00139 "selectcase" => "1",
00140 "selectdb" => "1",
00141 "sendmessage" => "1",
00142 "set" => "1",
00143 "setformfocus" => "1",
00144 "setocc" => "1",
00145 "skip" => "1",
00146 "sort" => "1",
00147 "spawn" => "1",
00148 "sql" => "1",
00149 "store" => "1",
00150 "to" => "1",
00151 "u_where" => "1",
00152 "until" => "1",
00153 "uppercase" => "1",
00154 "using" => "1",
00155 "validate" => "1",
00156 "validatefield" => "1",
00157 "validatekey" => "1",
00158 "validateocc" => "1",
00159 "variables" => "1",
00160 "webgen" => "1",
00161 "webget" => "1",
00162 "where" => "1",
00163 "while" => "1",
00164 "write" => "1",
00165 "append" => "2",
00166 "ask" => "2",
00167 "async" => "2",
00168 "attached" => "2",
00169 "complete" => "2",
00170 "desc" => "2",
00171 "dump" => "2",
00172 "e" => "3",
00173 "error" => "2",
00174 "field" => "2",
00175 "global" => "2",
00176 "hint" => "2",
00177 "id" => "2",
00178 "image" => "2",
00179 "info" => "2",
00180 "init" => "2",
00181 "keyword" => "2",
00182 "list" => "2",
00183 "load" => "2",
00184 "local" => "2",
00185 "menu" => "2",
00186 "mod" => "2",
00187 "net" => "2",
00188 "next" => "2",
00189 "nobeep" => "2",
00190 "noborder" => "2",
00191 "nolock" => "2",
00192 "noterm" => "2",
00193 "nowander" => "2",
00194 "o" => "2",
00195 "occ" => "2",
00196 "query" => "2",
00197 "raw" => "2",
00198 "save" => "2",
00199 "sync" => "2",
00200 "topic" => "2",
00201 "truncate" => "2",
00202 "v5profile" => "2",
00203 "v6profile" => "2",
00204 "warning" => "2",
00205 "x" => "2",
00206 ":a" => "2",
00207 ":ascending" => "2",
00208 ":d" => "2",
00209 ":descending" => "2",
00210 "$applname" => "3",
00211 "$batch" => "3",
00212 "$char" => "3",
00213 "$check" => "3",
00214 "$clock" => "3",
00215 "$componentname" => "3",
00216 "$componenttype" => "3",
00217 "$curhits" => "3",
00218 "$curkey" => "3",
00219 "$curline" => "3",
00220 "$curocc" => "3",
00221 "$curword" => "3",
00222 "$dataerrorcontext" => "3",
00223 "$date" => "3",
00224 "$datim" => "3",
00225 "$dberror" => "3",
00226 "$dbocc" => "3",
00227 "$detachedinstances" => "3",
00228 "$direction" => "3",
00229 "$disable" => "3",
00230 "$display" => "3",
00231 "$empty" => "3",
00232 "$entinfo" => "3",
00233 "$entname" => "3",
00234 "$error" => "3",
00235 "$fieldcheck" => "3",
00236 "$fielddbmod" => "3",
00237 "$fieldendmod" => "3",
00238 "$fieldindb" => "3",
00239 "$fieldinfo" => "3",
00240 "$fieldmod" => "3",
00241 "$fieldname" => "3",
00242 "$fieldprofile" => "3",
00243 "$fieldproperties" => "3",
00244 "$fieldvalidation" => "3",
00245 "$fieldvalrep" => "3",
00246 "$foreign" => "3",
00247 "$format" => "3",
00248 "$formdb" => "3",
00249 "$formdbmod" => "3",
00250 "$formfocus" => "3",
00251 "$formmod" => "3",
00252 "$formmodality" => "3",
00253 "$formname" => "3",
00254 "$formtitle" => "3",
00255 "$framedepth" => "3",
00256 "$gui" => "3",
00257 "$hide" => "3",
00258 "$hits" => "3",
00259 "$instancechildren" => "3",
00260 "$instancedb" => "3",
00261 "$instancedbmod" => "3",
00262 "$instancemod" => "3",
00263 "$instancename" => "3",
00264 "$instanceparent" => "3",
00265 "$instancepath" => "3",
00266 "$instancevalidation" => "3",
00267 "$ioprint" => "3",
00268 "$keyboard" => "3",
00269 "$keycheck" => "3",
00270 "$keyfields" => "3",
00271 "$keymod" => "3",
00272 "$keytype" => "3",
00273 "$keyvalidation" => "3",
00274 "$language" => "3",
00275 "$lines" => "3",
00276 "$logical" => "3",
00277 "$msgdata" => "3",
00278 "$msgdst" => "3",
00279 "$msgid" => "3",
00280 "$msginfo" => "3",
00281 "$msgsrc" => "3",
00282 "$next" => "3",
00283 "$nls_sort_order" => "3",
00284 "$nmforms" => "3",
00285 "$number" => "3",
00286 "$occcheck" => "3",
00287 "$occdbmod" => "3",
00288 "$occdel" => "3",
00289 "$occdepth" => "3",
00290 "$occmod" => "3",
00291 "$occvalidation" => "3",
00292 "$oprsys" => "3",
00293 "$outer" => "3",
00294 "$page" => "3",
00295 "$paintedocc" => "3",
00296 "$password" => "3",
00297 "$previous" => "3",
00298 "$printing" => "3",
00299 "$procerror" => "3",
00300 "$procerrorcontext" => "3",
00301 "$prompt" => "3",
00302 "$properties" => "3",
00303 "$putmess" => "3",
00304 "$relation" => "3",
00305 "$result" => "3",
00306 "$rettype" => "3",
00307 "$runmode" => "3",
00308 "$secureprotocol" => "3",
00309 "$selblk" => "3",
00310 "$status" => "3",
00311 "$storetype" => "3",
00312 "$syntax" => "3",
00313 "$text" => "3",
00314 "$textexist" => "3",
00315 "$time" => "3",
00316 "$totdbocc" => "3",
00317 "$totkeys" => "3",
00318 "$totlines" => "3",
00319 "$totocc" => "3",
00320 "$user" => "3",
00321 "$valrep" => "3",
00322 "$variation" => "3",
00323 "$web" => "3",
00324 "abs" => "3",
00325 "acos" => "3",
00326 "asin" => "3",
00327 "atan" => "3",
00328 "condition" => "3",
00329 "cos" => "3",
00330 "exp" => "3",
00331 "expression" => "3",
00332 "fact" => "3",
00333 "frac" => "3",
00334 "int" => "3",
00335 "log" => "3",
00336 "log10" => "3",
00337 "pi" => "3",
00338 "power" => "3",
00339 "sin" => "3",
00340 "sqrt" => "3",
00341 "tan" => "3",
00342 "(" => "5",
00343 ")" => "5",
00344 "[" => "5",
00345 "]" => "5",
00346 "+" => "5",
00347 "-" => "5",
00348 "*" => "5",
00349 "/" => "5",
00350 "=" => "5",
00351 ";" => "5",
00352 "%" => "5",
00353 "&" => "5",
00354 ">" => "5",
00355 "<" => "5",
00356 "<=" => "5",
00357 ">=" => "5",
00358 "^" => "5",
00359 "!" => "5",
00360 "|" => "5",
00361 "%\\" => "5",
00362 "." => "5",
00363 "," => "5",
00364 "$" => "5",
00365 "$$" => "5",
00366 "<>" => "5");
00367
00368
00369
00370
00371
00372
00373
00374
00375 $this->linkscripts = array(
00376 "" => "donothing",
00377 "1" => "donothing",
00378 "2" => "donothing",
00379 "3" => "donothing",
00380 "5" => "donothing");
00381 }
00382
00383
00384 function donothing($keywordin)
00385 {
00386 return $keywordin;
00387 }
00388
00389 }?>