• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

syntax_highlight/php/HFile/HFile_palmrsc.php

Go to the documentation of this file.
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_palmrsc extends HFile{
00006    function HFile_palmrsc(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // Palm Pilot Resource Script
00011 /*************************************/
00012 // Flags
00013 
00014 $this->nocase                   = "0";
00015 $this->notrim                   = "0";
00016 $this->perl                     = "0";
00017 
00018 // Colours
00019 
00020 $this->colours          = array("blue", "gray", "purple", "brown");
00021 $this->quotecolour              = "blue";
00022 $this->blockcommentcolour       = "green";
00023 $this->linecommentcolour        = "green";
00024 
00025 // Indent Strings
00026 
00027 $this->indent                   = array("BEGIN");
00028 $this->unindent                 = array("END");
00029 
00030 // String characters and delimiters
00031 
00032 $this->stringchars              = array("\"", "'");
00033 $this->delimiters               = array("%", "*", "(", ")", "-", "+", "\\", "\"", "'", ",", "   ", ".", "?");
00034 $this->escchar                  = "";
00035 
00036 // Comment settings
00037 
00038 $this->linecommenton            = array("//");
00039 $this->blockcommenton           = array("/*");
00040 $this->blockcommentoff          = array("*/");
00041 
00042 // Keywords (keyword mapping to colour number)
00043 
00044 $this->keywords                 = array(
00045                         "ALERT" => "1", 
00046                         "APPLICATION" => "1", 
00047                         "APPLICATIONICONNAME" => "1", 
00048                         "AT" => "1", 
00049                         "BEGIN" => "1", 
00050                         "BITMAP" => "1", 
00051                         "BITMAPCOLOR" => "1", 
00052                         "BITMAPFAMILY" => "1", 
00053                         "BITMAPGREY" => "1", 
00054                         "BITMAPGREY16" => "1", 
00055                         "CATEGORIES" => "1", 
00056                         "END" => "1", 
00057                         "FONT" => "3", 
00058                         "FORM" => "1", 
00059                         "ICON" => "1", 
00060                         "ICONFAMILY" => "1", 
00061                         "ID" => "1", 
00062                         "MENU" => "1", 
00063                         "SMALLICON" => "1", 
00064                         "SMALLICONFAMILY" => "1", 
00065                         "STRING" => "1", 
00066                         "TRANSLATION" => "1", 
00067                         "TRAP" => "1", 
00068                         "VERSION" => "1", 
00069                         "BUTTON" => "2", 
00070                         "BUTTONS" => "2", 
00071                         "CHECKBOX" => "2", 
00072                         "FIELD" => "2", 
00073                         "FORMBITMAP" => "2", 
00074                         "GADGET" => "2", 
00075                         "GRAFFITISTATEINDICATOR" => "2", 
00076                         "LABEL" => "2", 
00077                         "LIST" => "2", 
00078                         "MESSAGE" => "2", 
00079                         "POPUPLIST" => "2", 
00080                         "POPUPTRIGGER" => "2", 
00081                         "PUSHBUTTON" => "2", 
00082                         "REPEATBUTTON" => "2", 
00083                         "SCROLLBAR" => "2", 
00084                         "SELECTORTRIGGER" => "2", 
00085                         "TABLE" => "2", 
00086                         "TITLE" => "2", 
00087                         "AUTO" => "3", 
00088                         "AUTOSHIFT" => "3", 
00089                         "BOLDFRAME" => "3", 
00090                         "BOTTOM" => "3", 
00091                         "CENTER" => "3", 
00092                         "CHECKED" => "3", 
00093                         "COLUMNS" => "3", 
00094                         "COLUMNWIDTHS" => "3", 
00095                         "DISABLED" => "3", 
00096                         "DYNAMICSIZE" => "3", 
00097                         "DEFAULTBUTTON" => "3", 
00098                         "EDITABLE" => "3", 
00099                         "ERROR" => "3", 
00100                         "FRAME" => "3", 
00101                         "GROUP" => "3", 
00102                         "HASSCROLLBAR" => "3", 
00103                         "LEFTALIGN" => "3", 
00104                         "LEFTANCHOR" => "3", 
00105                         "MAX" => "3", 
00106                         "MAXCHARS" => "3", 
00107                         "MIN" => "3", 
00108                         "MULTIPLELINES" => "3", 
00109                         "MODAL" => "3", 
00110                         "NOFRAME" => "3", 
00111                         "NONEDITABLE" => "3", 
00112                         "NONUSABLE" => "3", 
00113                         "NUMERIC" => "3", 
00114                         "PAGESIZE" => "3", 
00115                         "PREVBOTTOM" => "3", 
00116                         "PREVHEIGHT" => "3", 
00117                         "PREVLEFT" => "3", 
00118                         "PREVRIGHT" => "3", 
00119                         "PREVTOP" => "3", 
00120                         "PREVWIDTH" => "3", 
00121                         "RIGHT@" => "3", 
00122                         "RIGHTALIGN" => "3", 
00123                         "RIGHTANCHOR" => "3", 
00124                         "ROWS" => "3", 
00125                         "SINGLELINE" => "3", 
00126                         "TRANSPARENCY" => "3", 
00127                         "UNDERLINED" => "3", 
00128                         "USABLE" => "3", 
00129                         "VALUE" => "3", 
00130                         "VISIBLEITEMS" => "3", 
00131                         "MENUID" => "4", 
00132                         "HELPID" => "4", 
00133                         "AUTOID" => "4", 
00134                         "@" => "4", 
00135                         "+" => "4", 
00136                         "-" => "4", 
00137                         "*" => "4");
00138 
00139 // Special extensions
00140 
00141 // Each category can specify a PHP function that returns an altered
00142 // version of the keyword.
00143         
00144         
00145 
00146 $this->linkscripts      = array(
00147                         "1" => "donothing", 
00148                         "3" => "donothing", 
00149                         "2" => "donothing", 
00150                         "4" => "donothing");
00151 }
00152 
00153 
00154 function donothing($keywordin)
00155 {
00156         return $keywordin;
00157 }
00158 
00159 }?>

Generated on Fri Dec 13 2013 09:06:39 for ILIAS Release_3_4_x_branch .rev 46804 by  doxygen 1.7.1