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

syntax_highlight/php/HFile/HFile_vtml.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_vtml extends HFile{
00006    function HFile_vtml(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // VTML
00011 /*************************************/
00012 // Flags
00013 
00014 $this->nocase                   = "1";
00015 $this->notrim                   = "0";
00016 $this->perl                     = "0";
00017 
00018 // Colours
00019 
00020 $this->colours          = array("blue", "purple");
00021 $this->quotecolour              = "blue";
00022 $this->blockcommentcolour       = "green";
00023 $this->linecommentcolour        = "green";
00024 
00025 // Indent Strings
00026 
00027 $this->indent                   = array();
00028 $this->unindent                 = array();
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                         "<ATTRIB" => "1", 
00046                         "<ATTRIBUTES>" => "1", 
00047                         "</ATTRIBUTES>" => "1", 
00048                         "<CONTAINER" => "1", 
00049                         "</CONTAINER>" => "1", 
00050                         "<CONTROL" => "1", 
00051                         "<EDITORLAYOUT" => "1", 
00052                         "</EDITORLAYOUT>" => "1", 
00053                         "<TAG>" => "1", 
00054                         "<TAG" => "1", 
00055                         "</TAG>" => "1", 
00056                         "<TAGLAYOUT>" => "1", 
00057                         "</TAGLAYOUT>" => "1", 
00058                         "<WIZBREAK>" => "1", 
00059                         "<WIZCONTINUE>" => "1", 
00060                         "<WIZIF" => "1", 
00061                         "</WIZIF>" => "1", 
00062                         "<WIZELSE>" => "1", 
00063                         "<WIZLOOP" => "1", 
00064                         "</WIZLOOP>" => "1", 
00065                         "<WZISET" => "1", 
00066                         "ALIGN=" => "2", 
00067                         "ALLOWDECIMALPOINT=" => "2", 
00068                         "ALLOWNEGATIVE=" => "2", 
00069                         "ANCHOR=" => "2", 
00070                         "ATTRIBUTES" => "2", 
00071                         "AUTOSELECT=" => "2", 
00072                         "AUTOSIZE=" => "2", 
00073                         "BODYEDITING=" => "2", 
00074                         "CAPTION=" => "2", 
00075                         "CENTER=" => "2", 
00076                         "CHARCASE=" => "2", 
00077                         "CHECKED=" => "2", 
00078                         "CONDITION=" => "2", 
00079                         "CONTROL=" => "2", 
00080                         "CORNER=" => "2", 
00081                         "DEFAULT=" => "2", 
00082                         "DIRONLY=" => "2", 
00083                         "DOWN=" => "2", 
00084                         "DSNAMECONTROL=" => "2", 
00085                         "EDITABLE=" => "2", 
00086                         "FILENAMEONLY=" => "2", 
00087                         "FILEPATH=" => "2", 
00088                         "FILTER=" => "2", 
00089                         "FROM=" => "2", 
00090                         "HEIGHT=" => "2", 
00091                         "HORIZRESIZE=" => "2", 
00092                         "INDEX=" => "2", 
00093                         "LFHEIGHT=" => "2", 
00094                         "LFWIDTH=" => "2", 
00095                         "LIST=" => "2", 
00096                         "MAXHEIGHTPADDING=" => "2", 
00097                         "MAXLENGTH=" => "2", 
00098                         "MAXWIDTHPADDING=" => "2", 
00099                         "MULTILINE=" => "2", 
00100                         "NAME=" => "2", 
00101                         "PASSWORDCHAR=" => "2", 
00102                         "QUERYNAMECONTROL=" => "2", 
00103                         "RELATIVE=" => "2", 
00104                         "RIGHT=" => "2", 
00105                         "SCROLLBAR=" => "2", 
00106                         "SELECTED=" => "2", 
00107                         "STEP=" => "2", 
00108                         "TO=" => "2", 
00109                         "TRANSPARENT=" => "2", 
00110                         "TYPE=" => "2", 
00111                         "VALIGN=" => "2", 
00112                         "VALUE=" => "2", 
00113                         "VERTRESIZE=" => "2", 
00114                         "WIDTH=" => "2", 
00115                         "WRAP=" => "2");
00116 
00117 // Special extensions
00118 
00119 // Each category can specify a PHP function that returns an altered
00120 // version of the keyword.
00121         
00122         
00123 
00124 $this->linkscripts      = array(
00125                         "1" => "donothing", 
00126                         "2" => "donothing");
00127 }
00128 
00129 
00130 function donothing($keywordin)
00131 {
00132         return $keywordin;
00133 }
00134 
00135 }?>

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