2 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours =
array(
"blue",
"purple",
"gray",
"brown",
"blue",
"purple");
25 $this->quotecolour =
"blue";
26 $this->blockcommentcolour =
"green";
27 $this->linecommentcolour =
"green";
31 $this->indent =
array(
"Else",
"IfCharIs",
"IfColNum",
"IfEof",
"IfFound",
"IfNotFound",
"IfSel",
"Loop",
"StartSelect");
32 $this->unindent =
array(
"Else",
"EndIf",
"EndLoop",
"EndSelect");
36 $this->stringchars =
array();
37 $this->delimiters =
array(
"~",
"!",
"@",
"$",
"%",
"^",
"&",
"*",
"(",
")",
"_",
"+",
"=",
"|",
"\\",
"/",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
".",
"?",
"/");
42 $this->linecommenton =
array(
"*");
43 $this->blockcommenton =
array(
"*");
44 $this->blockcommentoff =
array(
"*");
48 $this->keywords =
array(
52 "ColumnModeOff" =>
"1",
53 "ColumnModeOn" =>
"1",
55 "ColumnDelete" =>
"1",
56 "ColumnInsert" =>
"1",
57 "ColumnInsertNum" =>
"1",
62 "DeleteToEndOfLine" =>
"1",
63 "DeleteToStartOfLine" =>
"1",
69 "GotoBookMark" =>
"1",
77 "InsertPageBreak" =>
"1",
83 "OverStrikeMode" =>
"1",
86 "PreviousWindow" =>
"1",
87 "ReturnToWarp" =>
"1",
91 "SelectToBottom" =>
"1",
94 "SpacesToTabs" =>
"1",
95 "SpacesToTabsAll" =>
"1",
96 "TabsToSpaces" =>
"1",
99 "ToggleBookMark" =>
"1",
103 "TrimTrailingSpaces" =>
"1",
104 "UnixMactoDos" =>
"1",
105 "WrapToReturn" =>
"1",
119 "StartSelect" =>
"3",
148 "SelectText" =>
"6");
157 $this->linkscripts =
array(
Create styles array
The data for the language used.