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");
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(
102 "_OvrInitEms" =>
"3",
103 "_OvrInitExt" =>
"3",
112 "_graphfreemem" =>
"3",
113 "_graphgetmem" =>
"3",
120 "_setcursortype" =>
"3",
170 "cleardevice" =>
"3",
172 "clearviewport" =>
"3",
197 "detectgraph" =>
"3",
222 "farcoreleft" =>
"3",
224 "farheapcheck" =>
"3",
225 "farheapcheckfree" =>
"3",
226 "farheapchecknode" =>
"3",
227 "farheapfillfree" =>
"3",
228 "farheapwalk" =>
"3",
245 "fillellipse" =>
"3",
275 "geninterrupt" =>
"3",
276 "getarccoords" =>
"3",
277 "getaspectratio" =>
"3",
288 "getdefaultpalette" =>
"3",
291 "getdrivername" =>
"3",
296 "getfillpattern" =>
"3",
297 "getfillsettings" =>
"3",
299 "getmaxcolor" =>
"3",
302 "getmodename" =>
"3",
303 "getmoderange" =>
"3",
305 "getpalettesize" =>
"3",
311 "gettestinfo" =>
"3",
313 "gettextsettings" =>
"3",
317 "getviewsettings" =>
"3",
323 "graphdefaults" =>
"3",
324 "grapherrormsg" =>
"3",
326 "graphresult" =>
"3",
331 "heapcheckfree" =>
"3",
332 "heapchecknode" =>
"3",
333 "heapfillfree" =>
"3",
344 "installuserdriver" =>
"3",
345 "installuserfont" =>
"3",
454 "registerbgidriver" =>
"3",
455 "registerbgifont" =>
"3",
458 "restorecrtmode" =>
"3",
466 "setactivepage" =>
"3",
467 "setallpalette" =>
"3",
468 "setaspectratio" =>
"3",
477 "setfillpattern" =>
"3",
478 "setfillstyle" =>
"3",
480 "setgraphbufsize" =>
"3",
481 "setgraphmode" =>
"3",
484 "setlinestyle" =>
"3",
489 "setrgbpalette" =>
"3",
490 "settextjustify" =>
"3",
491 "settextstyle" =>
"3",
493 "setusercharsize" =>
"3",
497 "setviewport" =>
"3",
498 "setvisualpage" =>
"3",
499 "setwritemode" =>
"3",
569 "textbackground" =>
"3",
643 $this->linkscripts =
array(
Create styles array
The data for the language used.