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");
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(
54 "auto_mkindex" =>
"1",
124 "tcl_endOfWord" =>
"1",
125 "tcl_startOfNextWord" =>
"1",
126 "tcl_startOfPreviousWord" =>
"1",
127 "tcl_wordBreakAfter" =>
"1",
128 "tcl_wordBreakBefore" =>
"1",
138 "auto_noexec" =>
"2",
139 "auto_noload" =>
"2",
144 "tcl_library" =>
"2",
145 "tcl_patchLevel" =>
"2",
146 "tcl_pkgPath" =>
"2",
147 "tcl_platform" =>
"2",
148 "tcl_precision" =>
"2",
149 "tcl_rcFileName" =>
"2",
150 "tcl_rcRsrcName" =>
"2",
151 "tcl_version" =>
"2",
152 "tcl_nonwordchars" =>
"2",
153 "tcl_wordchars" =>
"2",
154 "unknown_active" =>
"2",
161 "checkbutton" =>
"3",
181 "radiobutton" =>
"3",
189 "tk_bindForTraversal" =>
"3",
191 "tk_chooseColor" =>
"3",
193 "tk_focusFollowsMouse" =>
"3",
194 "tk_focusNext" =>
"3",
195 "tk_focusPrev" =>
"3",
196 "tk_getOpenFile" =>
"3",
197 "tk_getSaveFile" =>
"3",
199 "tk_messageBox" =>
"3",
200 "tk_optionMenu" =>
"3",
202 "tk_setPalette" =>
"3",
219 $this->linkscripts =
array(
Create styles array
The data for the language used.