2 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours =
array(
"blue",
"gray",
"purple",
"gray",
"brown",
"blue",
"purple");
25 $this->quotecolour =
"blue";
26 $this->blockcommentcolour =
"green";
27 $this->linecommentcolour =
"green";
31 $this->indent =
array(
"Then",
"Do");
32 $this->unindent =
array(
"End",
"Next",
"End If",
"End Select",
"Loop");
36 $this->stringchars =
array(
"\"");
37 $this->delimiters =
array(
"~",
"!",
"@",
"%",
"^",
"&",
"*",
"(",
")",
"-",
"+",
"=",
"|",
"\\",
"/",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
"?");
42 $this->linecommenton =
array(
"'");
43 $this->blockcommenton =
array(
"/*");
44 $this->blockcommentoff =
array(
"*/");
48 $this->keywords =
array(
51 "BulkRetrieve" =>
"1",
86 "cbAbortRetryIgnore" =>
"3",
90 "cbCloseChildren" =>
"3",
91 "cbCloseMessage" =>
"3",
92 "cbDescending" =>
"3",
93 "cbDefClosedWindow" =>
"3",
95 "cbFirstMessage" =>
"3",
98 "cbGreaterorEqual" =>
"3",
101 "cbIdDiscard" =>
"3",
110 "cbLessOrEqual" =>
"3",
112 "cbNoDefault" =>
"3",
117 "cbRefreshMessage" =>
"3",
118 "cbRetryCancel" =>
"3",
119 "cbSaveDiscardCancel" =>
"3",
120 "cbSoundsLike" =>
"3",
122 "cbYesNoCancel" =>
"3",
124 "ebExclamation" =>
"3",
125 "ebInformation" =>
"3",
127 "ebApplicationModal" =>
"3",
128 "ebSystemModal" =>
"3",
145 "AllowDuplicates" =>
"5",
146 "AppendFilter" =>
"5",
148 "AppendSeparator" =>
"5",
151 "CancelRecord" =>
"5",
152 "ChangeRecord" =>
"5",
153 "ChangeToNew" =>
"5",
156 "CLTransition" =>
"5",
165 "CountByType" =>
"5",
166 "CreateColorScheme" =>
"5",
167 "DeleteRecord" =>
"5",
168 "DeleteRecordById" =>
"5",
169 "DisableControls" =>
"5",
170 "DisableControlsDeep" =>
"5",
174 "EmployeeObjid" =>
"5",
177 "EnableControlDeep" =>
"5",
178 "EnableControls" =>
"5",
183 "ExecuteMenu" =>
"5",
184 "ExecuteProc" =>
"5",
186 "ExtractList" =>
"5",
188 "FindFirstIndex" =>
"5",
189 "ForceRedraw" =>
"5",
192 "GetContents" =>
"5",
194 "GetControlByName" =>
"5",
195 "GetCurrentDB" =>
"5",
198 "GetFormInstance" =>
"5",
199 "GetItemByIndex" =>
"5",
201 "GetRecordByIndex" =>
"5",
202 "GetRecordList" =>
"5",
203 "GetRelatedRecordList" =>
"5",
204 "GetSelected" =>
"5",
208 "InsertRecord" =>
"5",
214 "ItemByIndex" =>
"5",
216 "ListByIndex" =>
"5",
225 "NotifyByKey" =>
"5",
226 "NotifyChild" =>
"5",
227 "NotifyParent" =>
"5",
229 "NotifyTabParent" =>
"5",
233 "RelateRecords" =>
"5",
234 "RelateRecordsFromID" =>
"5",
235 "RelateRecordsFromToID" =>
"5",
236 "RelateRecordsToID" =>
"5",
237 "RemoveByIndex" =>
"5",
238 "RemoveByItem" =>
"5",
240 "RemoveSelected" =>
"5",
242 "ReplaceByIndex" =>
"5",
243 "ReplaceItem" =>
"5",
244 "RetrieveRecords" =>
"5",
246 "SelectedIndexes" =>
"5",
247 "SelectedList" =>
"5",
248 "SetCellColoring" =>
"5",
249 "SetColorScheme" =>
"5",
252 "SetFunction" =>
"5",
255 "SetRootById" =>
"5",
256 "SetSelected" =>
"5",
260 "ShowAttachments" =>
"5",
262 "ShowContact" =>
"5",
263 "ShowContract" =>
"5",
264 "ShowControls" =>
"5",
265 "ShowControlsDeep" =>
"5",
267 "ShowDebugWindow" =>
"5",
268 "ShowDefaultMenu" =>
"5",
269 "ShowEmployee" =>
"5",
273 "ShowSubcase" =>
"5",
274 "SimpleQuery" =>
"5",
278 "TransferPart" =>
"5",
279 "TraverseFromParent" =>
"5",
280 "TraverseFromRoot" =>
"5",
281 "UnrelateRecords" =>
"5",
284 "UpdateRecord" =>
"5",
298 "ActivateControl" =>
"7",
301 "AppActivate" =>
"7",
303 "AppFileName" =>
"7",
305 "AppGetActive" =>
"7",
306 "AppGetPosition" =>
"7",
307 "AppGetState" =>
"7",
310 "AppMaximize" =>
"7",
311 "AppMinimize" =>
"7",
314 "AppSetState" =>
"7",
318 "Architecture" =>
"7",
319 "ArrangeIcons" =>
"7",
327 "AskPasssword" =>
"7",
330 "BasicScript" =>
"7",
335 "ButtonEnabled" =>
"7",
336 "ButtonExists" =>
"7",
348 "CheckBoxEnabled" =>
"7",
349 "CheckBoxExists" =>
"7",
358 "ComboBoxEnabled" =>
"7",
359 "ComboBoxExists" =>
"7",
366 "CreateObject" =>
"7",
388 "DDETermiateAll" =>
"7",
389 "DDETerminate" =>
"7",
402 "DeleteSettings" =>
"7",
403 "Description" =>
"7",
407 "DlgBaseUnitsX" =>
"7",
408 "DlgBaseUnitsY" =>
"7",
410 "DlgControlID" =>
"7",
413 "DlgListBoxArray" =>
"7",
414 "DlgSetPicture" =>
"7",
422 "DropListBox" =>
"7",
423 "EditEnabled" =>
"7",
437 "FileDateTime" =>
"7",
448 "FreeResources" =>
"7",
451 "GetAllSettings" =>
"7",
454 "GetCheckBox" =>
"7",
455 "GetComboBoxItem" =>
"7",
456 "GetComboBoxItemCount" =>
"7",
458 "GetEditText" =>
"7",
459 "GetListBoxItem" =>
"7",
460 "GetListBoxItemCount" =>
"7",
468 "HelpContext" =>
"7",
499 "LastDLLError" =>
"7",
510 "ListBoxEnabled" =>
"7",
511 "ListBoxExists" =>
"7",
525 "MenuItemChecked" =>
"7",
526 "MenuItemEnabled" =>
"7",
527 "MenuItemExists" =>
"7",
532 "Miscellaneous" =>
"7",
536 "MouseTrails" =>
"7",
539 "Msg.SetText" =>
"7",
540 "Msg.SetThermometer" =>
"7",
551 "OpenFilename" =>
"7",
552 "OperatingSystem" =>
"7",
553 "OperatingSystemVendor" =>
"7",
554 "OperatingSystemVersion" =>
"7",
556 "OptionButton" =>
"7",
557 "OptionEnabled" =>
"7",
558 "OptionExists" =>
"7",
559 "OptionGroup" =>
"7",
561 "PathSeparator" =>
"7",
563 "PictureButton" =>
"7",
568 "PrinterGetOrientation" =>
"7",
569 "PrinterSetOrientation" =>
"7",
574 "ProcessorCount" =>
"7",
584 "QueMouseClick" =>
"7",
585 "QueMouseDblClick" =>
"7",
586 "QueMouseDblDn" =>
"7",
588 "QueMouseMove" =>
"7",
589 "QueMouseMoveBatch" =>
"7",
591 "QueSetRelativeWindow" =>
"7",
597 "ReadIniSection" =>
"7",
609 "SaveFilename" =>
"7",
610 "SaveSetting" =>
"7",
615 "SelectButton" =>
"7",
616 "SelectComboBoxItem" =>
"7",
617 "SelectListBoxItem" =>
"7",
620 "SetCheckBox" =>
"7",
622 "SetEditText" =>
"7",
624 "SetWallpaper" =>
"7",
638 "SQLExecQuery" =>
"7",
639 "SQLGetSchema" =>
"7",
642 "SQLRetrieve" =>
"7",
643 "SQLRetrieveToFile" =>
"7",
660 "TotalMemory" =>
"7",
662 "TwipsPerPixelX" =>
"7",
663 "TwipsPerPixelY" =>
"7",
674 "ViewportClear" =>
"7",
675 "ViewportClose" =>
"7",
676 "ViewportOpen" =>
"7",
684 "WinActivate" =>
"7",
686 "WindowsDirectory" =>
"7",
687 "WindowsVersion" =>
"7",
690 "WinMaximize" =>
"7",
691 "WinMinimize" =>
"7",
709 $this->linkscripts =
array(
Create styles array
The data for the language used.