2 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours =
array(
"blue",
"purple",
"brown",
"gray",
"brown",
"blue",
"purple",
"gray");
25 $this->quotecolour =
"blue";
26 $this->blockcommentcolour =
"green";
27 $this->linecommentcolour =
"green";
31 $this->indent =
array(
"Then");
32 $this->unindent =
array(
"End",
"Next",
"End If",
"End Select");
36 $this->stringchars =
array();
37 $this->delimiters =
array(
"~",
"!",
"@",
"$",
"%",
"^",
"&",
"*",
"(",
")",
"+",
"=",
"|",
"\\",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
".",
"?");
42 $this->linecommenton =
array(
"'");
43 $this->blockcommenton =
array(
"<!--");
44 $this->blockcommentoff =
array(
"-->");
48 $this->keywords =
array(
80 "<BLOCKQUOTE>" =>
"1",
82 "</BLOCKQUOTE>" =>
"1",
107 "</COLGROUP>" =>
"1",
137 "</FIELDSET>" =>
"1",
146 "</FRAMESET>" =>
"1",
213 "</MULTICOL>" =>
"1",
218 "</NOFRAMES>" =>
"1",
224 "</NOSCRIPT>" =>
"1",
234 "</OPTGROUP>" =>
"1",
295 "</TEXTAREA>" =>
"1",
326 "ACCEPT-CHARSET=" =>
"2",
335 "BACKGROUND=" =>
"2",
340 "CELLPADDING=" =>
"2",
341 "CELLSPACING=" =>
"2",
369 "FRAMEBORDER=" =>
"2",
370 "FRAMESPACING=" =>
"2",
377 "HTTP-EQUIV=" =>
"2",
387 "MARGINHEIGHT=" =>
"2",
388 "MARGINWIDTH=" =>
"2",
402 "ONKEYPRESS=" =>
"2",
410 "ONDBLCLICK=" =>
"2",
411 "ONMOUSEDOWN=" =>
"2",
412 "ONMOUSEMOVE=" =>
"2",
413 "ONMOUSEOUT=" =>
"2",
414 "ONMOUSEOVER=" =>
"2",
479 "FormatCurrency" =>
"3",
480 "FormatDateTime" =>
"3",
481 "FormatNumber" =>
"3",
482 "FormatPercent" =>
"3",
502 "LoadPicture" =>
"3",
518 "ScriptEngine" =>
"3",
519 "ScriptEngineBuildVersion" =>
"3",
520 "ScriptEngineMajorVersion" =>
"3",
521 "ScriptEngineMinorVersion" =>
"3",
542 "WeekdayName" =>
"3",
582 "Application" =>
"5",
585 "FileSystemObject" =>
"5",
588 "ObjectContext" =>
"5",
597 "AppendToLog" =>
"6",
599 "BinaryWrite" =>
"6",
601 "CacheControl" =>
"6",
604 "ClientCertificate" =>
"6",
608 "ContentType" =>
"6",
610 "CreateObject" =>
"6",
611 "Description" =>
"6",
613 "ExpiresAbsolute" =>
"6",
619 "HelpContext" =>
"6",
624 "IsClientConnected" =>
"6",
632 "OnTransactionCommit" =>
"6",
633 "OnTransactionAbort" =>
"6",
637 "QueryString" =>
"6",
640 "ScriptTimeout" =>
"6",
641 "ServerVariables" =>
"6",
643 "SetComplete" =>
"6",
646 "StaticObjects" =>
"6",
664 "vbBinaryCompare" =>
"7",
665 "vbTextCompare" =>
"7",
669 "vbWednesday" =>
"7",
673 "vbUseSystem" =>
"7",
674 "vbUseSystemDayOfWeek" =>
"7",
675 "vbFirstJan1" =>
"7",
676 "vbFirstFourDays" =>
"7",
677 "vbFirstFullWeek" =>
"7",
678 "vbGeneralDate" =>
"7",
680 "vbShortDate" =>
"7",
682 "vbShortTime" =>
"7",
683 "vbObjectError" =>
"7",
686 "vbAbortRetryIgnore" =>
"7",
687 "vbYesNoCancel" =>
"7",
689 "vbRetryCancel" =>
"7",
692 "vbExclamation" =>
"7",
693 "vbInformation" =>
"7",
694 "vbDefaultButton1" =>
"7",
695 "vbDefaultButton2" =>
"7",
696 "vbDefaultButton3" =>
"7",
697 "vbDefaultButton4" =>
"7",
698 "vbApplicationModal" =>
"7",
699 "vbSystemModal" =>
"7",
706 "vbNullString" =>
"7",
708 "vbVerticalTab" =>
"7",
709 "vbUseDefault" =>
"7",
737 $this->linkscripts =
array(
Create styles array
The data for the language used.