2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
21 $this->colours = array(
"blue",
"purple",
"gray",
"brown",
"blue");
22 $this->quotecolour =
"blue";
23 $this->blockcommentcolour =
"green";
24 $this->linecommentcolour =
"green";
28 $this->indent = array(
"{");
29 $this->unindent = array(
"}");
33 $this->stringchars = array(
"\"",
"'");
34 $this->delimiters = array(
"~",
"!",
"@",
"%",
"^",
"&",
"*",
"(",
")",
"-",
"+",
"=",
"|",
"\\",
"/",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
".",
"?",
" ");
35 $this->escchar =
"\\";
39 $this->linecommenton = array(
"//");
40 $this->blockcommenton = array(
"/*");
41 $this->blockcommentoff = array(
"*/");
43 $this->preprocolour =
"purple";
47 $this->keywords = array(
116 "__multiple_inheritance" =>
"2",
117 "__single_inheritance" =>
"2",
118 "__virtual_inheritance" =>
"2",
122 "_bios_equiplist" =>
"3",
123 "_bios_keybrd" =>
"3",
124 "_bios_memsize" =>
"3",
125 "_bios_printer" =>
"3",
126 "_bios_serialcom" =>
"3",
127 "_bios_timeofday" =>
"3",
130 "_chain_intr" =>
"3",
138 "_dos_allocmem" =>
"3",
141 "_dos_creatnew" =>
"3",
142 "_dos_findfirst" =>
"3",
143 "_dos_findnext" =>
"3",
144 "_dos_freemem" =>
"3",
145 "_dos_getdate" =>
"3",
146 "_dos_getdiskfree" =>
"3",
147 "_dos_getdrive" =>
"3",
148 "_dos_getfileattr" =>
"3",
149 "_dos_getftime" =>
"3",
150 "_dos_gettime" =>
"3",
151 "_dos_getvect" =>
"3",
155 "_dos_setblock" =>
"3",
156 "_dos_setdate" =>
"3",
157 "_dos_setdrive" =>
"3",
158 "_dos_setfileattr" =>
"3",
159 "_dos_setftime" =>
"3",
160 "_dos_settime" =>
"3",
161 "_dos_setvect" =>
"3",
198 "_graphfreemem" =>
"3",
199 "_graphgetmem" =>
"3",
201 "_hardresume" =>
"3",
208 "_OvrInitEms" =>
"3",
209 "_OvrInitExt" =>
"3",
214 "_setcursortype" =>
"3",
273 "cleardevice" =>
"3",
275 "clearviewport" =>
"3",
303 "detectgraph" =>
"3",
330 "farcoreleft" =>
"3",
332 "farheapcheck" =>
"3",
333 "farheapcheckfree" =>
"3",
334 "farheapchecknode" =>
"3",
335 "farheapfillfree" =>
"3",
336 "farheapwalk" =>
"3",
352 "fillellipse" =>
"3",
383 "geninterrupt" =>
"3",
384 "getarccoords" =>
"3",
385 "getaspectratio" =>
"3",
396 "getdefaultpalette" =>
"3",
399 "getdrivername" =>
"3",
404 "getfillpattern" =>
"3",
405 "getfillsettings" =>
"3",
407 "getgraphmode" =>
"3",
409 "getlinesettings" =>
"3",
410 "getmaxcolor" =>
"3",
414 "getmodename" =>
"3",
415 "getmoderange" =>
"3",
417 "getpalettesize" =>
"3",
424 "gettextinfo" =>
"3",
425 "gettextsettings" =>
"3",
429 "getviewsettings" =>
"3",
435 "graphdefaults" =>
"3",
436 "grapherrormsg" =>
"3",
437 "graphresult" =>
"3",
442 "heapcheckfree" =>
"3",
443 "heapchecknode" =>
"3",
444 "heapfillfree" =>
"3",
457 "installuserdriver" =>
"3",
458 "installuserfont" =>
"3",
573 "registerbgidriver" =>
"3",
574 "registerbgifont" =>
"3",
575 "registerfarbgidriver" =>
"3",
576 "registerfarbgifont" =>
"3",
579 "restorecrtmode" =>
"3",
589 "set_new_handler" =>
"3",
590 "setactivepage" =>
"3",
591 "setallpalette" =>
"3",
592 "setaspectratio" =>
"3",
601 "setfillpattern" =>
"3",
602 "setfillstyle" =>
"3",
604 "setgraphbufsize" =>
"3",
605 "setgraphmode" =>
"3",
607 "setlinestyle" =>
"3",
612 "setrgbpalette" =>
"3",
613 "settextjustify" =>
"3",
614 "settextstyle" =>
"3",
616 "setusercharsize" =>
"3",
620 "setviewport" =>
"3",
621 "setvisualpage" =>
"3",
622 "setwritemode" =>
"3",
688 "textbackground" =>
"3",
756 $this->linkscripts = array(