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

syntax_highlight/php/HFile/HFile_lumonics.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_lumonics extends HFile{
00006    function HFile_lumonics(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // Lumonics Gcode
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", "brown", "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("B", "E", "I", "J", "K", "L", "P", "Q", "R", "U", "V", "W", "(", " ", ")", "=", "-", "+", "*");
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                         "N" => "1", 
00047                         "%" => "2", 
00048                         ":" => "2", 
00049                         "O" => "2", 
00050                         "H" => "2", 
00051                         "F" => "2", 
00052                         "S" => "2", 
00053                         "T" => "2", 
00054                         "G" => "3", 
00055                         "M" => "3", 
00056                         "A" => "4", 
00057                         "C" => "4", 
00058                         "D" => "4", 
00059                         "X" => "5", 
00060                         "Z" => "5", 
00061                         "Y" => "6");
00062 
00063 // Special extensions
00064 
00065 // Each category can specify a PHP function that returns an altered
00066 // version of the keyword.
00067         
00068         
00069 
00070 $this->linkscripts      = array(
00071                         "6" => "donothing", 
00072                         "1" => "donothing", 
00073                         "2" => "donothing", 
00074                         "3" => "donothing", 
00075                         "4" => "donothing", 
00076                         "5" => "donothing");
00077 }
00078 
00079 
00080 function donothing($keywordin)
00081 {
00082         return $keywordin;
00083 }
00084 
00085 }?>

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