2$BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20$this->colours = array(
"blue",
"purple");
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(
46 "<ATTRIBUTES>" =>
"1",
47 "</ATTRIBUTES>" =>
"1",
49 "</CONTAINER>" =>
"1",
51 "<EDITORLAYOUT" =>
"1",
52 "</EDITORLAYOUT>" =>
"1",
57 "</TAGLAYOUT>" =>
"1",
59 "<WIZCONTINUE>" =>
"1",
67 "ALLOWDECIMALPOINT=" =>
"2",
68 "ALLOWNEGATIVE=" =>
"2",
73 "BODYEDITING=" =>
"2",
84 "DSNAMECONTROL=" =>
"2",
86 "FILENAMEONLY=" =>
"2",
91 "HORIZRESIZE=" =>
"2",
96 "MAXHEIGHTPADDING=" =>
"2",
98 "MAXWIDTHPADDING=" =>
"2",
101 "PASSWORDCHAR=" =>
"2",
102 "QUERYNAMECONTROL=" =>
"2",
109 "TRANSPARENT=" =>
"2",
113 "VERTRESIZE=" =>
"2",
124$this->linkscripts = array(