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

syntax_highlight/php/HFile/HFile_alphascript.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_alphascript extends HFile{
00006    function HFile_alphascript(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // AlphaScript
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", "purple", "gray", "brown");
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                         "@command" => "1", 
00046                         "@date" => "1", 
00047                         "@fileout" => "1", 
00048                         "@listout" => "1", 
00049                         "@regout" => "1", 
00050                         "@scriptfile" => "1", 
00051                         "@textout" => "1", 
00052                         "@time" => "1", 
00053                         "@user" => "1", 
00054                         "@ver" => "1", 
00055                         "!quit" => "2", 
00056                         "!#BEGIN" => "3", 
00057                         "!#END" => "3", 
00058                         "!about" => "4", 
00059                         "!clearallvars" => "4", 
00060                         "!copy" => "4", 
00061                         "!del" => "4", 
00062                         "!delay" => "4", 
00063                         "!else" => "4", 
00064                         "!email" => "4", 
00065                         "!emptyfile" => "4", 
00066                         "!exe" => "4", 
00067                         "!exist" => "4", 
00068                         "!fileread" => "4", 
00069                         "!goto" => "4", 
00070                         "!if" => "4", 
00071                         "!input" => "4", 
00072                         "!iscancel" => "4", 
00073                         "!isfault" => "4", 
00074                         "!isnotfound" => "4", 
00075                         "!isok" => "4", 
00076                         "!let" => "4", 
00077                         "!list" => "4", 
00078                         "!listadd" => "4", 
00079                         "!listclear" => "4", 
00080                         "!log" => "4", 
00081                         "!msg" => "4", 
00082                         "!multitask" => "4", 
00083                         "!openfolder" => "4", 
00084                         "!regcreate" => "4", 
00085                         "!regread" => "4", 
00086                         "!regwrite" => "4", 
00087                         "!skeys" => "4", 
00088                         "!then" => "4", 
00089                         "!winactive" => "4", 
00090                         "!winkill" => "4", 
00091                         "!winwait" => "4", 
00092                         "!_closelogwindow" => "4", 
00093                         "!_openlogwindow" => "4", 
00094                         "!_pauselogwindow" => "4");
00095 
00096 // Special extensions
00097 
00098 // Each category can specify a PHP function that returns an altered
00099 // version of the keyword.
00100         
00101         
00102 
00103 $this->linkscripts      = array(
00104                         "1" => "donothing", 
00105                         "2" => "donothing", 
00106                         "3" => "donothing", 
00107                         "4" => "donothing");
00108 }
00109 
00110 
00111 function donothing($keywordin)
00112 {
00113         return $keywordin;
00114 }
00115 
00116 }?>

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