2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"blue",
"purple",
"gray",
"brown",
"blue",
"purple");
21 $this->quotecolour =
"blue";
22 $this->blockcommentcolour =
"green";
23 $this->linecommentcolour =
"green";
27 $this->indent = array(
"Else",
"IfCharIs",
"IfColNum",
"IfEof",
"IfFound",
"IfNotFound",
"IfSel",
"Loop",
"StartSelect");
28 $this->unindent = array(
"Else",
"EndIf",
"EndLoop",
"EndSelect");
32 $this->stringchars = array();
33 $this->delimiters = array(
"~",
"!",
"@",
"$",
"%",
"^",
"&",
"*",
"(",
")",
"_",
"+",
"=",
"|",
"\\",
"/",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
".",
"?",
"/");
38 $this->linecommenton = array(
"*");
39 $this->blockcommenton = array(
"*");
40 $this->blockcommentoff = array(
"*");
44 $this->keywords = array(
48 "ColumnModeOff" =>
"1",
49 "ColumnModeOn" =>
"1",
51 "ColumnDelete" =>
"1",
52 "ColumnInsert" =>
"1",
53 "ColumnInsertNum" =>
"1",
58 "DeleteToEndOfLine" =>
"1",
59 "DeleteToStartOfLine" =>
"1",
65 "GotoBookMark" =>
"1",
73 "InsertPageBreak" =>
"1",
79 "OverStrikeMode" =>
"1",
82 "PreviousWindow" =>
"1",
83 "ReturnToWarp" =>
"1",
87 "SelectToBottom" =>
"1",
90 "SpacesToTabs" =>
"1",
91 "SpacesToTabsAll" =>
"1",
92 "TabsToSpaces" =>
"1",
95 "ToggleBookMark" =>
"1",
99 "TrimTrailingSpaces" =>
"1",
100 "UnixMactoDos" =>
"1",
101 "WrapToReturn" =>
"1",
115 "StartSelect" =>
"3",
144 "SelectText" =>
"6");
153 $this->linkscripts = array(