<?php
$BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
if (!isset ($BEAUT_PATH)) return;
require_once("$BEAUT_PATH/Beautifier/HFile.php");
  class HFile_omnimark extends HFile{
   function HFile_omnimark(){
     $this->HFile();	
/*************************************/
// Beautifier Highlighting Configuration File 
// 
/*************************************/
// Flags

$this->nocase            	= "0";
$this->notrim            	= "0";
$this->perl              	= "0";

// Colours

$this->colours        	= array("blue", "purple", "gray");
$this->quotecolour       	= "blue";
$this->blockcommentcolour	= "green";
$this->linecommentcolour 	= "green";

// Indent Strings

$this->indent            	= array();
$this->unindent          	= array();

// String characters and delimiters

$this->stringchars       	= array();
$this->delimiters        	= array("~", "@", "$", "%", "^", "&", "*", "(", ")", "_", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", ".", "	", "?", "/");
$this->escchar           	= "";

// Comment settings

$this->linecommenton     	= array("");
$this->blockcommenton    	= array("");
$this->blockcommentoff   	= array("");

// Keywords (keyword mapping to colour number)

$this->keywords          	= array(
			"/L10" => "", 
			"\"Omnimark\"" => "", 
			"Line" => "", 
			"Comment" => "", 
			"=" => "", 
			";" => "", 
			"Nocase" => "", 
			"File" => "", 
			"Extensions" => "", 
			"XOM" => "", 
			"ACTIVATE" => "1", 
			"AGAIN" => "1", 
			"CATCH" => "1", 
			"CLEAR" => "1", 
			"CLOSE" => "1", 
			"COPY" => "1", 
			"COPY-CLEAR" => "1", 
			"CROSS-TRANSLATE" => "1", 
			"DEACTIVATE" => "1", 
			"DECLARE" => "1", 
			"DECREMENT" => "1", 
			"DEFINE" => "1", 
			"DISCARD" => "1", 
			"DIVIDE" => "1", 
			"DO" => "1", 
			"DOCUMENT-END" => "1", 
			"DOCUMENT-START" => "1", 
			"DONE" => "1", 
			"DTD-START" => "1", 
			"ELEMENT" => "1", 
			"ELSE" => "1", 
			"ESCAPE" => "1", 
			"EXIT" => "1", 
			"FAIL" => "1", 
			"FIND" => "1", 
			"FIND-END" => "1", 
			"FIND-START" => "1", 
			"FORMAT" => "1", 
			"GROUP" => "1", 
			"HALT" => "1", 
			"HALT-EVERYTHING" => "1", 
			"IGNORE" => "1", 
			"IMPLIED" => "1", 
			"INCLUDE" => "1", 
			"INCLUDE-END" => "1", 
			"INCLUDE-START" => "1", 
			"INCREMENT" => "1", 
			"INPUT" => "1", 
			"JOIN" => "1", 
			"LINE-END" => "1", 
			"LINE-START" => "1", 
			"LOG" => "1", 
			"LOOKAHEAD" => "1", 
			"MACRO" => "1", 
			"MACRO-END" => "1", 
			"MARKED-SECTION" => "1", 
			"MARKUP-COMMENT" => "1", 
			"MARKUP-ERROR" => "1", 
			"MARKUP-PARSER" => "1", 
			"MASK" => "1", 
			"MATCH" => "1", 
			"MINUS" => "1", 
			"MODULO" => "1", 
			"NEW" => "1", 
			"NEWLINE" => "1", 
			"NEXT" => "1", 
			"OPEN" => "1", 
			"OUTPUT" => "1", 
			"OUTPUT-TO" => "1", 
			"OVER" => "1", 
			"PROCESS" => "1", 
			"PROCESS-END" => "1", 
			"PROCESS-START" => "1", 
			"PROCESSING-INSTRUCTION" => "1", 
			"PROLOG-END" => "1", 
			"PROLOG-IN-ERROR" => "1", 
			"PUT" => "1", 
			"REMOVE" => "1", 
			"REOPEN" => "1", 
			"REPEAT" => "1", 
			"RESET" => "1", 
			"RETHROW" => "1", 
			"RETURN" => "1", 
			"SAVE" => "1", 
			"SAVE-CLEAR" => "1", 
			"SCAN" => "1", 
			"SELECT" => "1", 
			"SET" => "1", 
			"SGML" => "1", 
			"SGML-COMMENT" => "1", 
			"SGML-DECLARATION-END" => "1", 
			"SGML-DTD" => "1", 
			"SGML-DTDS" => "1", 
			"SGML-ERROR" => "1", 
			"SGML-IN" => "1", 
			"SGML-OUT" => "1", 
			"SGML-PARSE" => "1", 
			"SGML-PARSER" => "1", 
			"SHIFT" => "1", 
			"SUBMIT" => "1", 
			"SUCCEED" => "1", 
			"SUPPRESS" => "1", 
			"SYSTEM-CALL" => "1", 
			"TEST-SYSTEM" => "1", 
			"THROW" => "1", 
			"TO" => "1", 
			"TRANSLATE" => "1", 
			"UC" => "1", 
			"UL" => "1", 
			"UNLESS" => "1", 
			"UP-TRANSLATE" => "1", 
			"WHEN" => "1", 
			"WHITE-SPACE" => "1", 
			"XML-PARSE" => "1", 
			"ACTIVE" => "2", 
			"AFTER" => "2", 
			"ANCESTOR" => "2", 
			"AND" => "2", 
			"ANOTHER" => "2", 
			"ARG" => "2", 
			"AS" => "2", 
			"ATTACHED" => "2", 
			"ATTRIBUTE" => "2", 
			"ATTRIBUTES" => "2", 
			"BASE" => "2", 
			"BEFORE" => "2", 
			"BINARY" => "2", 
			"BINARY-INPUT" => "2", 
			"BINARY-MODE" => "2", 
			"BINARY-OUTPUT" => "2", 
			"BREAK-WIDTH" => "2", 
			"BUFFER" => "2", 
			"BY" => "2", 
			"CASE" => "2", 
			"CHILDREN" => "2", 
			"CLOSED" => "2", 
			"COMPILED-DATE" => "2", 
			"COMPLEMENT" => "2", 
			"CONREF" => "2", 
			"CONTENT" => "2", 
			"CONTEXT-TRANSLATE" => "2", 
			"COUNTER" => "2", 
			"CREATED" => "2", 
			"CREATING" => "2", 
			"CREATOR" => "2", 
			"CURRENT" => "2", 
			"DATA-ATTRIBUTE" => "2", 
			"DATA-ATTRIBUTES" => "2", 
			"DATA-CONTENT" => "2", 
			"DATA-LETTERS" => "2", 
			"DATE" => "2", 
			"DECLARED-CONREF" => "2", 
			"DECLARED-CURRENT" => "2", 
			"DECLARED-DEFAULTED" => "2", 
			"DECLARED-FIXED" => "2", 
			"DECLARED-IMPLIED" => "2", 
			"DECLARED-REQUIRED" => "2", 
			"DEFAULT-ENTITY" => "2", 
			"DEFAULTED" => "2", 
			"DEFAULTING" => "2", 
			"DELIMITER" => "2", 
			"DIFFERENCE" => "2", 
			"DIRECTORY" => "2", 
			"DOCTYPE" => "2", 
			"DOCUMENT" => "2", 
			"DOCUMENT-ELEMENT" => "2", 
			"DOMAIN-FREE" => "2", 
			"DOWN-TRANSLATE" => "2", 
			"DTD" => "2", 
			"DTD-END" => "2", 
			"DTDS" => "2", 
			"ELEMENTS" => "2", 
			"ELSEWHERE" => "2", 
			"EMPTY" => "2", 
			"ENTITIES" => "2", 
			"ENTITY" => "2", 
			"EPILOG-START" => "2", 
			"EQUAL" => "2", 
			"EXCEPT" => "2", 
			"EXISTS" => "2", 
			"EXTERNAL" => "2", 
			"EXTERNAL-DATA-ENTITY" => "2", 
			"EXTERNAL-ENTITY" => "2", 
			"EXTERNAL-FUNCTION" => "2", 
			"EXTERNAL-OUTPUT-FUNCTION" => "2", 
			"EXTERNAL-TEXT-ENTITY" => "2", 
			"FALSE" => "2", 
			"FILE" => "2", 
			"FUNCTION" => "2", 
			"FUNCTION-LIBRARY" => "2", 
			"GENERAL" => "2", 
			"GLOBAL" => "2", 
			"GREATER-EQUAL" => "2", 
			"GREATER-THAN" => "2", 
			"GROUPS" => "2", 
			"HAS" => "2", 
			"HASNT" => "2", 
			"HERALDED-NAMES" => "2", 
			"ID" => "2", 
			"ID-CHECKING" => "2", 
			"IDREF" => "2", 
			"IDREFS" => "2", 
			"IN" => "2", 
			"IN-LIBRARY" => "2", 
			"INCLUSION" => "2", 
			"INITIAL" => "2", 
			"INITIAL-SIZE" => "2", 
			"INSERTION-BREAK" => "2", 
			"INSTANCE" => "2", 
			"INTERNAL" => "2", 
			"INVALID-DATA" => "2", 
			"IS" => "2", 
			"ISNT" => "2", 
			"ITEM" => "2", 
			"KEY" => "2", 
			"KEYED" => "2", 
			"LAST" => "2", 
			"LASTMOST" => "2", 
			"LC" => "2", 
			"LENGTH" => "2", 
			"LESS-EQUAL" => "2", 
			"LESS-THAN" => "2", 
			"LETTERS" => "2", 
			"LIBRARY" => "2", 
			"LITERAL" => "2", 
			"LOCAL" => "2", 
			"MATCHES" => "2", 
			"MIXED" => "2", 
			"MODIFIABLE" => "2", 
			"NAME" => "2", 
			"NAME-LETTERS" => "2", 
			"NAMECASE" => "2", 
			"NAMED" => "2", 
			"NAMES" => "2", 
			"NDATA-ENTITY" => "2", 
			"NEGATE" => "2", 
			"NESTED-REFERENTS" => "2", 
			"NMTOKEN" => "2", 
			"NMTOKENS" => "2", 
			"NO" => "2", 
			"NO-DEFAULT-IO" => "2", 
			"NON-CDATA" => "2", 
			"NON-IMPLIED" => "2", 
			"NON-SDATA" => "2", 
			"NOT" => "2", 
			"NOTATION" => "2", 
			"NUMBER-OF" => "2", 
			"NUMBERS" => "2", 
			"NUTOKEN" => "2", 
			"NUTOKENS" => "2", 
			"OCCURRENCE" => "2", 
			"OF" => "2", 
			"OPAQUE" => "2", 
			"OPTIONAL" => "2", 
			"OR" => "2", 
			"PARAMETER" => "2", 
			"PARENT" => "2", 
			"PAST" => "2", 
			"PATTERN" => "2", 
			"PLUS" => "2", 
			"PREPARENT" => "2", 
			"PREVIOUS" => "2", 
			"PROPER" => "2", 
			"PUBLIC" => "2", 
			"READ-ONLY" => "2", 
			"READABLE" => "2", 
			"REFERENT" => "2", 
			"REFERENTS" => "2", 
			"REFERENTS-ALLOWED" => "2", 
			"REFERENTS-DISPLAYED" => "2", 
			"REFERENTS-NOT-ALLOWED" => "2", 
			"REMAINDER" => "2", 
			"REPEATED" => "2", 
			"REPLACEMENT-BREAK" => "2", 
			"REVERSED" => "2", 
			"SILENT-REFERENT" => "2", 
			"SIZE" => "2", 
			"SKIP" => "2", 
			"SOURCE" => "2", 
			"SPECIFIED" => "2", 
			"STATUS" => "2", 
			"STREAM" => "2", 
			"SUBDOC-ENTITY" => "2", 
			"SUBDOCUMENT" => "2", 
			"SUBDOCUMENTS" => "2", 
			"SUBELEMENT" => "2", 
			"SWITCH" => "2", 
			"SYMBOL" => "2", 
			"SYSTEM" => "2", 
			"TEXT-MODE" => "2", 
			"THIS" => "2", 
			"TIMES" => "2", 
			"TOKEN" => "2", 
			"TRUE" => "2", 
			"UNANCHORED" => "2", 
			"UNATTACHED" => "2", 
			"UNION" => "2", 
			"USEMAP" => "2", 
			"USING" => "2", 
			"VALUE" => "2", 
			"VALUED" => "2", 
			"VARIABLE" => "2", 
			"WITH" => "2", 
			"WRITABLE" => "2", 
			"XML" => "2", 
			"XML-DTD" => "2", 
			"XML-DTDS" => "2", 
			"YES" => "2", 
			"#ADDITIONAL-INFO" => "2", 
			"#APPINFO" => "2", 
			"#CAPACITY" => "2", 
			"#CHARSET" => "2", 
			"#CLASS" => "2", 
			"#COMMAND-LINE-NAMES" => "2", 
			"#CONSOLE" => "2", 
			"#CURRENT-INPUT" => "2", 
			"#CURRENT-OUTPUT" => "2", 
			"#DATA" => "2", 
			"#DOCTYPE" => "2", 
			"#DOCUMENT" => "2", 
			"#DTD" => "2", 
			"#EMPTY" => "2", 
			"#ERROR" => "2", 
			"#ERROR-CODE" => "2", 
			"#FILE-NAME" => "2", 
			"#FIRST" => "2", 
			"#GROUP" => "2", 
			"#IMPLIED" => "2", 
			"#ITEM" => "2", 
			"#LANGUAGE-VERSION" => "2", 
			"#LAST" => "2", 
			"#LIBPATH" => "2", 
			"#LIBRARY" => "2", 
			"#LIBVALUE" => "2", 
			"#LINE-NUMBER" => "2", 
			"#MAIN-INPUT" => "2", 
			"#MAIN-OUTPUT" => "2", 
			"#MARKUP-ERROR-COUNT" => "2", 
			"#MARKUP-ERROR-TOTAL" => "2", 
			"#MARKUP-PARSER" => "2", 
			"#MARKUP-WARNING-COUNT" => "2", 
			"#MARKUP-WARNING-TOTAL" => "2", 
			"#MESSAGE" => "2", 
			"#NONE" => "2", 
			"#OUTPUT" => "2", 
			"#PLATFORM-INFO" => "2", 
			"#PROCESS-INPUT" => "2", 
			"#PROCESS-OUTPUT" => "2", 
			"#RECOVERY-INFO" => "2", 
			"#SGML" => "2", 
			"#SGML-ERROR-COUNT" => "2", 
			"#SGML-ERROR-TOTAL" => "2", 
			"#SGML-WARNING-COUNT" => "2", 
			"#SGML-WARNING-TOTAL" => "2", 
			"#SUPPRESS" => "2", 
			"#SYNTAX" => "2", 
			"#!" => "2", 
			"ANY" => "3", 
			"ANY-TEXT" => "3", 
			"BLANK" => "3", 
			"CDATA" => "3", 
			"CDATA-ENTITY" => "3", 
			"CONTENT-END" => "3", 
			"CONTENT-START" => "3", 
			"DIGIT" => "3", 
			"LETTER" => "3", 
			"NUMBER" => "3", 
			"PCDATA" => "3", 
			"RCDATA" => "3", 
			"SDATA" => "3", 
			"SDATA-ENTITY" => "3", 
			"SPACE" => "3", 
			"TEXT" => "3", 
			"VALUE-END" => "3", 
			"VALUE-START" => "3", 
			"WORD-END" => "3", 
			"WORD-START" => "3");

// Special extensions

// Each category can specify a PHP function that returns an altered
// version of the keyword.
        
        

$this->linkscripts    	= array(
			"" => "donothing", 
			"1" => "donothing", 
			"2" => "donothing", 
			"3" => "donothing");
}


function donothing($keywordin)
{
	return $keywordin;
}

}?>
