2$BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours = array(
"blue",
"purple");
25 $this->quotecolour =
"blue";
26 $this->blockcommentcolour =
"green";
27 $this->linecommentcolour =
"green";
31 $this->indent = array();
32 $this->unindent = array();
36 $this->stringchars = array();
37 $this->delimiters = array(
"~",
"!",
"@",
"$",
"%",
"^",
"&",
"*",
"(",
")",
"+",
"|",
"\\",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
".",
"?");
42 $this->linecommenton = array(
"");
43 $this->blockcommenton = array(
"<!--");
44 $this->blockcommentoff = array(
"-->");
48 $this->keywords = array(
50 "<ATTRIBUTES>" =>
"1",
51 "</ATTRIBUTES>" =>
"1",
53 "</CONTAINER>" =>
"1",
55 "<EDITORLAYOUT" =>
"1",
56 "</EDITORLAYOUT>" =>
"1",
61 "</TAGLAYOUT>" =>
"1",
63 "<WIZCONTINUE>" =>
"1",
71 "ALLOWDECIMALPOINT=" =>
"2",
72 "ALLOWNEGATIVE=" =>
"2",
77 "BODYEDITING=" =>
"2",
88 "DSNAMECONTROL=" =>
"2",
90 "FILENAMEONLY=" =>
"2",
95 "HORIZRESIZE=" =>
"2",
100 "MAXHEIGHTPADDING=" =>
"2",
102 "MAXWIDTHPADDING=" =>
"2",
105 "PASSWORDCHAR=" =>
"2",
106 "QUERYNAMECONTROL=" =>
"2",
113 "TRANSPARENT=" =>
"2",
117 "VERTRESIZE=" =>
"2",
128 $this->linkscripts = array(
An exception for terminatinating execution or to throw for unit testing.