2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"blue",
"purple");
21 $this->quotecolour =
"blue";
22 $this->blockcommentcolour =
"green";
23 $this->linecommentcolour =
"green";
27 $this->indent = array();
28 $this->unindent = array();
32 $this->stringchars = array();
33 $this->delimiters = array(
"~",
"!",
"@",
"^",
"*",
"(",
")",
"-",
"+",
"=",
"|",
"\\",
"/",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
".",
"?");
38 $this->linecommenton = array(
"rem");
39 $this->blockcommenton = array(
"");
40 $this->blockcommentoff = array(
"");
44 $this->keywords = array(
155 "geteventa32" =>
"1",
186 "gSetpenwidth" =>
"1",
191 "gUnloadfont" =>
"1",
222 "iowaitstat32" =>
"1",
273 "pointerfilter" =>
"1",
324 "backlighton&" =>
"2",
325 "backupbatterystatus&" =>
"2",
326 "bitmapdisplaymode&" =>
"2",
327 "bitmapload&" =>
"2",
328 "bitmapunload" =>
"2",
329 "cancelcapturekey" =>
"2",
330 "capturekey&" =>
"2",
332 "claimpointergrab" =>
"2",
333 "createfiledialog$" =>
"2",
335 "DBaddfieldtrunc" =>
"2",
336 "DBcreateindex" =>
"2",
337 "DBdeletekey" =>
"2",
338 "DBdropindex" =>
"2",
339 "DBgetfieldcount&" =>
"2",
340 "DBgetfieldname$" =>
"2",
341 "DBgetfieldtype&" =>
"2",
342 "DBisdamaged&" =>
"2",
343 "DBisunique&" =>
"2",
344 "DBmakeunique" =>
"2",
347 "DBsetcomparison" =>
"2",
348 "DTdatetimediff" =>
"2",
350 "DTdaynoinweek&" =>
"2",
351 "DTdaysdiff&" =>
"2",
352 "DTdaysinmonth&" =>
"2",
353 "DTdeletedatetime" =>
"2",
355 "DThoursdiff&" =>
"2",
357 "DTmicrosdiff&" =>
"2",
359 "DTminutesdiff&" =>
"2",
361 "DTmonthsdiff&" =>
"2",
362 "DTnewdatetime&" =>
"2",
365 "DTsecondsdiff&" =>
"2",
367 "DTsethometime" =>
"2",
369 "DTsetmicro&" =>
"2",
370 "DTsetminute&" =>
"2",
371 "DTsetmonth&" =>
"2",
372 "DTsetsecond&" =>
"2",
374 "DTweeknoinyear&" =>
"2",
376 "DTyearsdiff&" =>
"2",
377 "displaytasklist" =>
"2",
380 "getfiletime" =>
"2",
381 "getnextwindowgroupname$" =>
"2",
382 "getnextwindowid&" =>
"2",
383 "getthreadidfromappuid&" =>
"2",
384 "getthreadidfromopendoc&" =>
"2",
385 "initialiseparaformat" =>
"2",
386 "insertbitmap" =>
"2",
387 "insertnewpara" =>
"2",
388 "insertscaledbitmap" =>
"2",
389 "insertspecialchar" =>
"2",
390 "insertstring" =>
"2",
391 "irdaconnecttoreceive" =>
"2",
392 "irdaconnecttosend&" =>
"2",
393 "irdadisconnect" =>
"2",
396 "irdawaitfordisconnect" =>
"2",
398 "isbacklightpresent&" =>
"2",
401 "isreadonly&" =>
"2",
402 "killcurrentprocess" =>
"2",
403 "killprocess" =>
"2",
405 "LCclockformat&" =>
"2",
406 "LCcountrycode&" =>
"2",
407 "LCdecimalseparator$" =>
"2",
408 "LCsetclockformat" =>
"2",
409 "LCstartofweek&" =>
"2",
410 "LCthousandsseparator$" =>
"2",
412 "logontothread" =>
"2",
413 "machinename$" =>
"2",
414 "machineuniqueid" =>
"2",
415 "mainbatterystatus&" =>
"2",
416 "maxdisplaycontrast&" =>
"2",
419 "openfiledialog$" =>
"2",
420 "pagesetupdialog" =>
"2",
423 "printdialog" =>
"2",
424 "printerdoclength&" =>
"2",
425 "printpreviewdialog" =>
"2",
426 "printrangedialog" =>
"2",
428 "readrsclong&" =>
"2",
429 "removespecificcharformat" =>
"2",
430 "removespecificparaformat" =>
"2",
431 "resetautoswitchofftimer" =>
"2",
432 "resetprinting" =>
"2",
435 "saveasfiledialog$" =>
"2",
436 "sendbitmaptoprinter" =>
"2",
437 "sendbuffertoprinter" =>
"2",
438 "sendscaledbitmaptoprinter" =>
"2",
439 "sendnewparatoprinter" =>
"2",
440 "sendrichtexttoprinter" =>
"2",
441 "sendspecialchartoprinter" =>
"2",
442 "sendstringtoprinter" =>
"2",
444 "setautoswitchoffbehavior" =>
"2",
445 "setautoswitchofftime" =>
"2",
446 "setalignment" =>
"2",
447 "setbackground" =>
"2",
448 "setbackgroundbythread&" =>
"2",
449 "setbacklighton" =>
"2",
450 "setbacklightbehavior" =>
"2",
451 "setbacklightontime" =>
"2",
452 "setcomputemode" =>
"2",
453 "setdisplaycontrast" =>
"2",
454 "setfiletime" =>
"2",
455 "setfontheight" =>
"2",
456 "setfontname" =>
"2",
457 "setfontposition" =>
"2",
458 "setfontposture" =>
"2",
459 "setfontstrikethrough" =>
"2",
460 "setfontunderline" =>
"2",
461 "setfontweight" =>
"2",
462 "setforeground" =>
"2",
463 "setforegroundbythread&" =>
"2",
464 "setglobalcharformat" =>
"2",
465 "setglobalparaformat" =>
"2",
466 "sethiddenfile" =>
"2",
467 "setkeyclickenabled" =>
"2",
468 "setlocalparaformat" =>
"2",
469 "setpointercapture" =>
"2",
470 "setpointerclickenabled" =>
"2",
471 "setpointergrabon" =>
"2",
472 "setreadonly" =>
"2",
473 "setsounddriverenabled" =>
"2",
474 "setsoundenabled" =>
"2",
475 "setsystemfile" =>
"2",
476 "spriteappend" =>
"2",
477 "spritechange" =>
"2",
478 "spritedelete" =>
"2",
479 "spritecreate&" =>
"2",
491 "tbarsettitle" =>
"2",
493 "terminatecurrentprocess" =>
"2",
494 "terminateprocess" =>
"2",
497 "volumesize&" =>
"2",
498 "volumespacefree&" =>
"2",
499 "volumeuniqueid&" =>
"2",
509 $this->linkscripts = array(