2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"blue",
"purple",
"blue",
"gray",
"brown",
"purple",
"gray",
"brown");
21 $this->quotecolour =
"blue";
22 $this->blockcommentcolour =
"green";
23 $this->linecommentcolour =
"green";
27 $this->indent = array();
28 $this->unindent = array();
32 $this->stringchars = array(
"'");
33 $this->delimiters = array(
"~",
"!",
"%",
"^",
"&",
"*",
"(",
")",
"-",
"+",
"=",
"|",
"\\",
"/",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
".",
"?");
38 $this->linecommenton = array(
"");
39 $this->blockcommenton = array(
"\"");
40 $this->blockcommentoff = array(
"\"");
44 $this->keywords = array(
98 "Format(\"Hello" =>
"",
106 "cut-and-paste" =>
"",
116 "WORDFILE.TXT." =>
"",
156 "highlighting." =>
"",
169 "128/128/128," =>
"",
173 "\"\"-Strings)" =>
"",
175 "\'\'-Strings)" =>
"",
178 "Statemts/Routines" =>
"",
183 "Properties/Ops" =>
"",
191 "Miscellaneous" =>
"",
216 "<gschmidl@gmx.at>" =>
"",
220 "(AfterRoutines," =>
"",
222 "RunRoutines)" =>
"",
242 "AfterPrompt" =>
"1",
246 "AllowPushDir" =>
"1",
247 "AfterRoutines" =>
"1",
251 "BeforeParsing" =>
"1",
256 "ChangePlayer" =>
"1",
257 "ChangeDefault" =>
"1",
258 "ChooseObjects" =>
"1",
261 "DeathMessage" =>
"1",
265 "EnglishNumber" =>
"1",
269 "GamePostRoutine" =>
"1",
270 "GamePreRoutine" =>
"1",
273 "HasLightSource" =>
"1",
280 "LookRoutine" =>
"1",
282 "LoopOverScope" =>
"1",
290 "NextWordStopped" =>
"1",
295 "ObjectIsUntouchable" =>
"1",
296 "OffersLight" =>
"1",
298 "print_to_array" =>
"1",
303 "PrintTaskName" =>
"1",
305 "ParseNumber" =>
"1",
306 "PlaceInScope" =>
"1",
307 "PrononValue" =>
"1",
308 "PronounNotice" =>
"1",
309 "ParserError" =>
"1",
310 "PrintShortName" =>
"1",
322 "RunRoutines" =>
"1",
329 "StartDaemon" =>
"1",
335 "ScopeWithin" =>
"1",
343 "UnknownVerb" =>
"1",
344 "UnsignedCompare" =>
"1",
347 "WriteListFrom" =>
"1",
348 "WordAddress" =>
"1",
365 "Fake_action" =>
"2",
394 "System_file" =>
"2",
425 "transparent" =>
"3",
449 "add_to_scope" =>
"4",
462 "description" =>
"4",
471 "inside_description" =>
"4",
476 "list_together" =>
"4",
487 "react_after" =>
"4",
488 "react_before" =>
"4",
492 "short_name_indef" =>
"4",
499 "when_closed" =>
"4",
516 "CommandsOff" =>
"5",
517 "CommandsRead" =>
"5",
559 "NotUnderstood" =>
"5",
565 "Predictable" =>
"5",
571 "PluralFound" =>
"5",
577 "RoutinesOff" =>
"5",
635 "multiexcept" =>
"6",
636 "multiinside" =>
"6",
647 "AMUSING_PROVIDED" =>
"8",
650 "ASKSCOPE_PE" =>
"8",
652 "CONCEAL_BIT" =>
"8",
659 "ENGLISH_BIT" =>
"8",
660 "EACHTURN_REASON" =>
"8",
662 "FULLINV_BIT" =>
"8",
665 "inventory_stage" =>
"8",
671 "InformLibrary" =>
"8",
672 "InformParser" =>
"8",
673 "JUNKAFTER_PE" =>
"8",
674 "LibraryMessages" =>
"8",
675 "LOOPOVERSCOPE_REASON" =>
"8",
678 "MAX_CARRIED" =>
"8",
681 "MANUAL_PRONOUNS" =>
"8",
688 "NUMBER_TASKS" =>
"8",
690 "NEWLINE_BIT" =>
"8",
695 "OBJECT_SCORE" =>
"8",
697 "parser_action" =>
"8",
700 "parsed_number" =>
"8",
701 "PARTINV_BIT" =>
"8",
702 "PARSING_REASON" =>
"8",
703 "real_location" =>
"8",
705 "RECURSE_BIT" =>
"8",
706 "REACT_BEFORE_REASON" =>
"8",
707 "REACT_AFTER_REASON" =>
"8",
714 "SACK_OBJECT" =>
"8",
720 "TASKS_PROVIDED" =>
"8",
722 "TALKING_REASON" =>
"8",
723 "TESTSCOPE_REASON" =>
"8",
731 "WORKFLAG_BIT" =>
"8",
732 "WITHOUT_DIRECTIONS" =>
"8");
741 $this->linkscripts = array(