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

syntax_highlight/php/HFile/HFile_nc.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_nc extends HFile{
00006    function HFile_nc(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // NC Files
00011 /*************************************/
00012 // Flags
00013 
00014 $this->nocase                   = "1";
00015 $this->notrim                   = "0";
00016 $this->perl                     = "0";
00017 
00018 // Colours
00019 
00020 $this->colours          = array("purple", "blue", "purple", "gray", "blue");
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("A", "B", "C", "I", "J", "K", "P", "Q", "R", "U", "V", "W", "X", "Y", "Z", "(", " ", ")", "=", "-", "+", "*");
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                         "**" => "6", 
00046                         "%" => "1", 
00047                         ":" => "1", 
00048                         "O" => "1", 
00049                         "H" => "1", 
00050                         "N" => "1", 
00051                         "M" => "2", 
00052                         "G" => "3", 
00053                         "D" => "5", 
00054                         "F" => "5", 
00055                         "S" => "5", 
00056                         "T" => "5", 
00057                         "E" => "6", 
00058                         "L" => "6", 
00059                         "-" => "6");
00060 
00061 // Special extensions
00062 
00063 // Each category can specify a PHP function that returns an altered
00064 // version of the keyword.
00065         
00066         
00067 
00068 $this->linkscripts      = array(
00069                         "6" => "donothing", 
00070                         "1" => "donothing", 
00071                         "2" => "donothing", 
00072                         "3" => "donothing", 
00073                         "5" => "donothing");
00074 }
00075 
00076 
00077 function donothing($keywordin)
00078 {
00079         return $keywordin;
00080 }
00081 
00082 }?>

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