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

syntax_highlight/php/HFile/HFile_realpix.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_realpix extends HFile{
00006    function HFile_realpix(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // RealPix
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                         "<a" => "1", 
00046                         "</a>" => "1", 
00047                         "<b>" => "1", 
00048                         "</b>" => "1", 
00049                         "<br/>" => "1", 
00050                         "<center>" => "1", 
00051                         "</center>" => "1", 
00052                         "<clear" => "1", 
00053                         "<crossfade" => "1", 
00054                         "<font" => "1", 
00055                         "</font>" => "1", 
00056                         "<fadein" => "1", 
00057                         "<fadeout" => "1", 
00058                         "<fill" => "1", 
00059                         "<head" => "1", 
00060                         "<hr" => "1", 
00061                         "<i>" => "1", 
00062                         "</i>" => "1", 
00063                         "<image" => "1", 
00064                         "<imfl>" => "1", 
00065                         "</imfl>" => "1", 
00066                         "<li>" => "1", 
00067                         "</li>" => "1", 
00068                         "<ol>" => "1", 
00069                         "</ol>" => "1", 
00070                         "<p>" => "1", 
00071                         "</p>" => "1", 
00072                         "<pos" => "1", 
00073                         "<pre>" => "1", 
00074                         "</pre>" => "1", 
00075                         "<required>" => "1", 
00076                         "</required>" => "1", 
00077                         "<time" => "1", 
00078                         "<tl>" => "1", 
00079                         "</tl>" => "1", 
00080                         "<tu>" => "1", 
00081                         "</tu>" => "1", 
00082                         "<u>" => "1", 
00083                         "</u>" => "1", 
00084                         "<ul>" => "1", 
00085                         "</ul>" => "1", 
00086                         "<viewchange" => "1", 
00087                         "<window>" => "1", 
00088                         "</window>" => "1", 
00089                         "<wipe>" => "1", 
00090                         "//" => "1", 
00091                         "/>" => "1", 
00092                         "aspect=" => "2", 
00093                         "author=" => "2", 
00094                         "begin=" => "2", 
00095                         "bgcolor=" => "2", 
00096                         "bitrate=" => "2", 
00097                         "charset=" => "2", 
00098                         "color=" => "2", 
00099                         "copyright=" => "2", 
00100                         "crawlrate=" => "2", 
00101                         "direction=" => "2", 
00102                         "dsth=" => "2", 
00103                         "dstw=" => "2", 
00104                         "dstx=" => "2", 
00105                         "dsty=" => "2", 
00106                         "duration=" => "2", 
00107                         "end=" => "2", 
00108                         "face=" => "2", 
00109                         "handle=" => "2", 
00110                         "height=" => "2", 
00111                         "href=" => "2", 
00112                         "link=" => "2", 
00113                         "loop=" => "2", 
00114                         "maxfps=" => "2", 
00115                         "name=" => "2", 
00116                         "preroll=" => "2", 
00117                         "scrollrate=" => "2", 
00118                         "size=" => "2", 
00119                         "srch=" => "2", 
00120                         "srcw=" => "2", 
00121                         "srcx=" => "2", 
00122                         "srcy=" => "2", 
00123                         "start=" => "2", 
00124                         "target=" => "2", 
00125                         "timeformat=" => "2", 
00126                         "title=" => "2", 
00127                         "type=" => "2", 
00128                         "underline_hyperlinks=" => "2", 
00129                         "url=" => "2", 
00130                         "width=" => "2", 
00131                         "wordwrap=" => "2", 
00132                         "x=" => "2", 
00133                         "y=" => "2", 
00134                         "=" => "2");
00135 
00136 // Special extensions
00137 
00138 // Each category can specify a PHP function that returns an altered
00139 // version of the keyword.
00140         
00141         
00142 
00143 $this->linkscripts      = array(
00144                         "1" => "donothing", 
00145                         "2" => "donothing");
00146 }
00147 
00148 
00149 function donothing($keywordin)
00150 {
00151         return $keywordin;
00152 }
00153 
00154 }?>

Generated on Fri Dec 13 2013 13:52:16 for ILIAS Release_3_7_x_branch .rev 46817 by  doxygen 1.7.1