Public Member Functions | |
HFile_clipper () | |
donothing ($keywordin) |
Definition at line 5 of file HFile_clipper.php.
HFile_clipper::donothing | ( | $ | keywordin | ) |
Definition at line 462 of file HFile_clipper.php.
{
return $keywordin;
}
HFile_clipper::HFile_clipper | ( | ) |
Definition at line 6 of file HFile_clipper.php.
References HFile::HFile().
{ $this->HFile(); /*************************************/ // Beautifier Highlighting Configuration File // Clipper /*************************************/ // Flags $this->nocase = "1"; $this->notrim = "0"; $this->perl = "0"; // Colours $this->colours = array("blue", "purple", "gray", "blue"); $this->quotecolour = "blue"; $this->blockcommentcolour = "green"; $this->linecommentcolour = "green"; // Indent Strings $this->indent = array("{"); $this->unindent = array("}"); // String characters and delimiters $this->stringchars = array("\"", "'"); $this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?"); $this->escchar = ""; // Comment settings $this->linecommenton = array("//"); $this->blockcommenton = array("/*"); $this->blockcommentoff = array("*/"); // Keywords (keyword mapping to colour number) $this->keywords = array( "accept" => "1", "append" => "1", "all" => "1", "alternate" => "1", "box" => "1", "blank" => "1", "bell" => "1", "call" => "1", "cancel" => "1", "clear" => "1", "close" => "1", "commit" => "1", "continue" => "1", "copy" => "1", "count" => "1", "create" => "1", "century" => "1", "color" => "1", "confirm" => "1", "console" => "1", "cursor" => "1", "delete" => "1", "dir" => "1", "display" => "1", "date" => "1", "decimals" => "1", "default" => "1", "deleted" => "1", "delimiters" => "1", "device" => "1", "eject" => "1", "erase" => "1", "extended" => "1", "epoch" => "1", "escape" => "1", "exact" => "1", "exclusive" => "1", "file" => "1", "find" => "1", "form" => "1", "from" => "1", "filter" => "1", "fixed" => "1", "format" => "1", "function" => "1", "get" => "1", "gets" => "1", "go" => "1", "index" => "1", "init" => "1", "input" => "1", "intensity" => "1", "join" => "1", "keyboard" => "1", "key" => "1", "label" => "1", "list" => "1", "locate" => "1", "memory" => "1", "menu" => "1", "margin" => "1", "message" => "1", "note" => "1", "order" => "1", "pack" => "1", "procedure" => "1", "prompt" => "1", "path" => "1", "printer" => "1", "quit" => "1", "read" => "1", "recall" => "1", "reindex" => "1", "release" => "1", "rename" => "1", "replace" => "1", "report" => "1", "restore" => "1", "run" => "1", "relation" => "1", "say" => "1", "screen" => "1", "structure" => "1", "save" => "1", "seek" => "1", "select" => "1", "set" => "1", "scoreboard" => "1", "softseek" => "1", "skip" => "1", "sort" => "1", "store" => "1", "sum" => "1", "to" => "1", "typeahead" => "1", "text" => "1", "total" => "1", "type" => "1", "unique" => "1", "unlock" => "1", "update" => "1", "use" => "1", "wrap" => "1", "wait" => "1", "zap" => "1", "#define" => "1", "#error" => "1", "#include" => "1", "#elif" => "1", "#if" => "1", "#line" => "1", "#else" => "1", "#ifdef" => "1", "#pragma" => "1", "#endif" => "1", "#ifndef" => "1", "#undef" => "1", "#command" => "1", "#translate" => "1", "#stdout" => "1", "#xcommand" => "1", "#xtranslate" => "1", "announce" => "2", "begin" => "2", "break" => "2", "case" => "2", "declare" => "2", "do" => "2", "elseif" => "2", "else" => "2", "endif" => "2", "enddo" => "2", "end" => "2", "endcase" => "2", "exit" => "2", "external" => "2", "field" => "2", "for" => "2", "if" => "2", "local" => "2", "loop" => "2", "memvar" => "2", "next" => "2", "otherwise" => "2", "parameters" => "2", "private" => "2", "public" => "2", "recover" => "2", "request" => "2", "return" => "2", "sequence" => "2", "step" => "2", "static" => "2", "using" => "2", "while" => "2", "with" => "2", "aadd" => "3", "abs" => "3", "achoice" => "3", "aclone" => "3", "acopy" => "3", "adel" => "3", "adir" => "3", "aeval" => "3", "afields" => "3", "afill" => "3", "ains" => "3", "alert" => "3", "alias" => "3", "alltrim" => "3", "altd" => "3", "array" => "3", "asc" => "3", "ascan" => "3", "asize" => "3", "asort" => "3", "at" => "3", "atail" => "3", "average" => "3", "bin2i" => "3", "bin2l" => "3", "bin2w" => "3", "bof" => "3", "browse" => "3", "cdow" => "3", "chr" => "3", "cmonth" => "3", "col" => "3", "colorselect" => "3", "ctod" => "3", "curdir" => "3", "day" => "3", "dbappend" => "3", "dbclearfilter" => "3", "dbclearindex" => "3", "dbclearrelation" => "3", "dbcloseall" => "3", "dbclosearea" => "3", "dbcommit" => "3", "dbcommitall" => "3", "dbcreate" => "3", "dbcreateindex" => "3", "dbdelete" => "3", "dbedit" => "3", "dbeval" => "3", "dbf" => "3", "dbfilter" => "3", "dbgobottom" => "3", "dbgoto" => "3", "dbgotop" => "3", "dbrecall" => "3", "dbreindex" => "3", "dbrelation" => "3", "dbrselect" => "3", "dbseek" => "3", "dbselectarea" => "3", "dbsetdriver" => "3", "dbsetfilter" => "3", "dbsetindex" => "3", "dbsetorder" => "3", "dbsetrelation" => "3", "dbskip" => "3", "dbstruct" => "3", "dbunlock" => "3", "dbunlockall" => "3", "dbusearea" => "3", "descend" => "3", "devout" => "3", "devoutpict" => "3", "devpos" => "3", "directory" => "3", "diskspace" => "3", "dispbegin" => "3", "dispbox" => "3", "dispcount" => "3", "dispend" => "3", "dispout" => "3", "doserror" => "3", "dow" => "3", "dtoc" => "3", "dtos" => "3", "empty" => "3", "eof" => "3", "errorblock" => "3", "errorlevel" => "3", "eval" => "3", "exp" => "3", "fclose" => "3", "fcount" => "3", "fcreate" => "3", "ferase" => "3", "ferror" => "3", "fieldblock" => "3", "fieldget" => "3", "fieldname" => "3", "fieldpos" => "3", "fieldput" => "3", "fieldwblock" => "3", "fklabel" => "3", "fkmax" => "3", "flock" => "3", "fopen" => "3", "found" => "3", "fread" => "3", "freadstr" => "3", "frename" => "3", "fseek" => "3", "fwrite" => "3", "getenv" => "3", "hardcr" => "3", "header" => "3", "i2bin" => "3", "indexext" => "3", "indexkey" => "3", "indexord" => "3", "inkey" => "3", "int" => "3", "isalpha" => "3", "iscolor" => "3", "isdigit" => "3", "islower" => "3", "isprinter" => "3", "isupper" => "3", "l2bin" => "3", "lastkey" => "3", "lastrec" => "3", "left" => "3", "len" => "3", "log" => "3", "lower" => "3", "ltrim" => "3", "lupdate" => "3", "max" => "3", "maxcol" => "3", "maxrow" => "3", "memoedit" => "3", "memoline" => "3", "memoread" => "3", "memotran" => "3", "memowrit" => "3", "memvarblock" => "3", "min" => "3", "mlcount" => "3", "mlctopos" => "3", "mlpos" => "3", "mod" => "3", "month" => "3", "mpostolc" => "3", "neterr" => "3", "netname" => "3", "nextkey" => "3", "nosnow" => "3", "os" => "3", "outerr" => "3", "outstd" => "3", "pad" => "3", "pcol" => "3", "pcount" => "3", "procline" => "3", "procname" => "3", "prow" => "3", "qout" => "3", "rat" => "3", "readexit" => "3", "readinsert" => "3", "readkey" => "3", "readmodal" => "3", "readvar" => "3", "reccount" => "3", "recno" => "3", "recsize" => "3", "replicate" => "3", "restscreen" => "3", "right" => "3", "rlock" => "3", "round" => "3", "row" => "3", "rtrim" => "3", "savescreen" => "3", "scroll" => "3", "seconds" => "3", "setblink" => "3", "setcancel" => "3", "setcolor" => "3", "setcursor" => "3", "setkey" => "3", "setmode" => "3", "setpos" => "3", "setprc" => "3", "soundex" => "3", "space" => "3", "sqrt" => "3", "str" => "3", "strtran" => "3", "stuff" => "3", "substr" => "3", "time" => "3", "tone" => "3", "transform" => "3", "updated" => "3", "upper" => "3", "val" => "3", "valtype" => "3", "version" => "3", "word" => "3", "year" => "3", "and" => "5", "not" => "5", "or" => "5", "+" => "5", "-" => "5", "=" => "5", "==" => "5", "//" => "5", "/" => "5", "%" => "5", "$" => "5", "&" => "5", ">" => "5", ">=" => "5", "<" => "5", "<=" => "5", "<>" => "5", "^" => "5", "!" => "5", "!=" => "5", "|" => "5", "(" => "5", ")" => "5", "*" => "5", ":" => "5", ":=" => "5", "#" => "5", "?" => "5", "??" => "5", "@" => "5", "[" => "5", "]" => "5", "{" => "5", "}" => "5", "." => "5"); // Special extensions // Each category can specify a PHP function that returns an altered // version of the keyword. $this->linkscripts = array( "1" => "donothing", "2" => "donothing", "3" => "donothing", "5" => "donothing"); }