3 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
5 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
22 $this->colours = array(
"blue",
"purple",
"gray",
"brown",
"blue",
"purple");
23 $this->quotecolour =
"blue";
24 $this->blockcommentcolour =
"green";
25 $this->linecommentcolour =
"green";
29 $this->indent = array(
"Private Sub",
"Public Sub",
"With");
30 $this->unindent = array(
"End Sub",
"End With");
34 $this->stringchars = array();
35 $this->delimiters = array(
" ",
"(",
")",
".");
40 $this->linecommenton = array(
"'");
41 $this->blockcommenton = array(
"");
42 $this->blockcommentoff = array(
"");
46 $this->keywords = array(
69 "CreateObject" =>
"1",
91 "FileDateTime" =>
"1",
97 "GetAllStrings" =>
"1",
99 "GetAutoServerSettings" =>
"1",
127 "LoadPicture" =>
"1",
194 "AddFromFile" =>
"2",
195 "AddFromTemplate" =>
"2",
198 "AddToAddInToolbar" =>
"2",
199 "AddToolboxProgID" =>
"2",
201 "AppendChunk" =>
"2",
205 "BatchUpdate" =>
"2",
209 "CancelAsyncRead" =>
"2",
210 "CancelBatch" =>
"2",
211 "CancelUpdate" =>
"2",
212 "CanPropertyChange" =>
"2",
213 "CaptureImage" =>
"2",
218 "ClearFields" =>
"2",
220 "ClearSelCols" =>
"2",
224 "ColContaining" =>
"2",
226 "CommitTrans" =>
"2",
227 "CompactDatabase" =>
"2",
231 "CopyQueryDef" =>
"2",
232 "CreateDatabase" =>
"2",
233 "CreateDragImage" =>
"2",
234 "CreateEmbed" =>
"2",
235 "CreateField" =>
"2",
236 "CreateGroup" =>
"2",
237 "CreateIndex" =>
"2",
239 "CreatePreparedStatement" =>
"2",
240 "CreatePropery" =>
"2",
241 "CreateQuery" =>
"2",
242 "CreateQueryDef" =>
"2",
243 "CreateRelation" =>
"2",
244 "CreateTableDef" =>
"2",
246 "CreateWorkspace" =>
"2",
249 "DeleteColumnLabels" =>
"2",
250 "DeleteColumns" =>
"2",
251 "DeleteRowLabels" =>
"2",
260 "EnsureVisible" =>
"2",
261 "EstablishConnection" =>
"2",
263 "ExtractIcon" =>
"2",
273 "FindPrevious" =>
"2",
275 "GetBookmark" =>
"2",
277 "GetClipString" =>
"2",
279 "GetFirstVisible" =>
"2",
282 "GetLineFromChar" =>
"2",
283 "GetNumTicks" =>
"2",
285 "GetSelectedPart" =>
"2",
287 "GetVisibleCount" =>
"2",
294 "InitializeLabels" =>
"2",
295 "InsertColumnLabels" =>
"2",
296 "InsertColumns" =>
"2",
297 "InsertObjDlg" =>
"2",
298 "InsertRowLabels" =>
"2",
304 "LinkExecute" =>
"2",
306 "LinkRequest" =>
"2",
310 "LoadResData" =>
"2",
311 "LoadResPicture" =>
"2",
312 "LoadResString" =>
"2",
314 "MakeCompileFile" =>
"2",
315 "MakeReplica" =>
"2",
316 "MoreResults" =>
"2",
322 "MovePrevious" =>
"2",
325 "NewPassword" =>
"2",
326 "NextRecordset" =>
"2",
328 "OnAddinsUpdate" =>
"2",
329 "OnConnection" =>
"2",
330 "OnDisconnection" =>
"2",
331 "OnStartupComplete" =>
"2",
333 "OpenConnection" =>
"2",
334 "OpenDatabase" =>
"2",
335 "OpenQueryDef" =>
"2",
336 "OpenRecordset" =>
"2",
337 "OpenResultset" =>
"2",
340 "PaintPicture" =>
"2",
342 "PastSpecialDlg" =>
"2",
346 "PopulatePartial" =>
"2",
350 "PropertyChanged" =>
"2",
354 "RandomDataFill" =>
"2",
355 "RandomFillColumns" =>
"2",
356 "RandomFillRows" =>
"2",
357 "rdoCreateEnvironment" =>
"2",
358 "rdoRegisterDataSource" =>
"2",
359 "ReadFromFile" =>
"2",
360 "ReadProperty" =>
"2",
364 "RefreshLink" =>
"2",
365 "RegisterDatabase" =>
"2",
368 "RemoveAddInFromToolbar" =>
"2",
371 "RepairDatabase" =>
"2",
375 "ResetCustom" =>
"2",
376 "ResetCustomLabel" =>
"2",
377 "ResolveName" =>
"2",
378 "RestoreToolbar" =>
"2",
381 "RollbackTrans" =>
"2",
382 "RowBookmark" =>
"2",
383 "RowContaining" =>
"2",
389 "SaveToolbar" =>
"2",
390 "SaveToOle1File" =>
"2",
402 "SetAutoServerSettings" =>
"2",
408 "SetViewport" =>
"2",
414 "ShowPrinter" =>
"2",
416 "ShowWhatsThis" =>
"2",
421 "SplitContaining" =>
"2",
422 "StartLabelEdit" =>
"2",
423 "StartLogging" =>
"2",
425 "Synchronize" =>
"2",
429 "TwipsToChartPart" =>
"2",
430 "TypeByChartType" =>
"2",
432 "UpdateControls" =>
"2",
433 "UpdateRecord" =>
"2",
436 "WhatsThisMode" =>
"2",
437 "WriteProperty" =>
"2",
439 "AccessKeyPress" =>
"3",
440 "AfterAddFile" =>
"3",
441 "AfterChangeFileName" =>
"3",
442 "AfterCloseFile" =>
"3",
443 "AfterColEdit" =>
"3",
444 "AfterColUpdate" =>
"3",
445 "AfterDelete" =>
"3",
446 "AfterInsert" =>
"3",
447 "AfterLabelEdit" =>
"3",
448 "AfterRemoveFile" =>
"3",
449 "AfterUpdate" =>
"3",
450 "AfterWriteFile" =>
"3",
451 "AmbienChanged" =>
"3",
452 "ApplyChanges" =>
"3",
454 "AsyncReadComplete" =>
"3",
455 "AxisActivated" =>
"3",
456 "AxisLabelActivated" =>
"3",
457 "AxisLabelSelected" =>
"3",
458 "AxisLabelUpdated" =>
"3",
459 "AxisSelected" =>
"3",
460 "AxisTitleActivated" =>
"3",
461 "AxisTitleSelected" =>
"3",
462 "AxisTitleUpdated" =>
"3",
463 "AxisUpdated" =>
"3",
464 "BeforeClick" =>
"3",
465 "BeforeColEdit" =>
"3",
466 "BeforeColUpdate" =>
"3",
467 "BeforeConnect" =>
"3",
468 "BeforeDelete" =>
"3",
469 "BeforeInsert" =>
"3",
470 "BeforeLabelEdit" =>
"3",
471 "BeforeLoadFile" =>
"3",
472 "BeforeUpdate" =>
"3",
473 "ButtonClick" =>
"3",
474 "ButtonCompleted" =>
"3",
475 "ButtonGotFocus" =>
"3",
476 "ButtonLostFocus" =>
"3",
478 "ChartActivated" =>
"3",
479 "ChartSelected" =>
"3",
480 "ChartUpdated" =>
"3",
485 "ColumnClick" =>
"3",
487 "ConfigChageCancelled" =>
"3",
488 "ConfigChanged" =>
"3",
489 "ConnectionRequest" =>
"3",
490 "DataArrival" =>
"3",
491 "DataChanged" =>
"3",
492 "DataUpdated" =>
"3",
495 "DeviceArrival" =>
"3",
496 "DeviceOtherEvent" =>
"3",
497 "DeviceQueryRemove" =>
"3",
498 "DeviceQueryRemoveFailed" =>
"3",
499 "DeviceRemoveComplete" =>
"3",
500 "DeviceRemovePending" =>
"3",
501 "DevModeChange" =>
"3",
503 "DisplayChanged" =>
"3",
505 "DoGetNewFileName" =>
"3",
507 "DonePainting" =>
"3",
512 "EditProperty" =>
"3",
518 "FootnoteActivated" =>
"3",
519 "FootnoteSelected" =>
"3",
520 "FootnoteUpdated" =>
"3",
523 "InfoMessage" =>
"3",
525 "IniProperties" =>
"3",
526 "ItemActivated" =>
"3",
530 "ItemReloaded" =>
"3",
531 "ItemRemoved" =>
"3",
532 "ItemRenamed" =>
"3",
533 "ItemSeletected" =>
"3",
538 "LegendActivated" =>
"3",
539 "LegendSelected" =>
"3",
540 "LegendUpdated" =>
"3",
552 "OLECompleteDrag" =>
"3",
553 "OLEDragDrop" =>
"3",
554 "OLEDragOver" =>
"3",
555 "OLEGiveFeedback" =>
"3",
557 "OLEStartDrag" =>
"3",
562 "PanelDblClick" =>
"3",
564 "PatternChange" =>
"3",
565 "PlotActivated" =>
"3",
566 "PlotSelected" =>
"3",
567 "PlotUpdated" =>
"3",
568 "PointActivated" =>
"3",
569 "PointLabelActivated" =>
"3",
570 "PointLabelSelected" =>
"3",
571 "PointLabelUpdated" =>
"3",
572 "PointSelected" =>
"3",
573 "PointUpdated" =>
"3",
574 "PowerQuerySuspend" =>
"3",
575 "PowerResume" =>
"3",
576 "PowerStatusChanged" =>
"3",
577 "PowerSuspend" =>
"3",
578 "QueryChangeConfig" =>
"3",
579 "QueryComplete" =>
"3",
580 "QueryCompleted" =>
"3",
581 "QueryTimeout" =>
"3",
582 "QueryUnload" =>
"3",
583 "ReadProperties" =>
"3",
585 "RequestChangeFileName" =>
"3",
586 "RequestWriteFile" =>
"3",
588 "ResultsChanged" =>
"3",
589 "RowColChange" =>
"3",
590 "RowCurrencyChange" =>
"3",
592 "RowStatusChanged" =>
"3",
594 "SelectionChanged" =>
"3",
595 "SendComplete" =>
"3",
596 "SendProgress" =>
"3",
597 "SeriesActivated" =>
"3",
598 "SeriesSelected" =>
"3",
599 "SeriesUpdated" =>
"3",
600 "SettingChanged" =>
"3",
601 "SplitChange" =>
"3",
602 "StateChanged" =>
"3",
603 "StatusUpdate" =>
"3",
604 "SysColorsChanged" =>
"3",
606 "TimeChanged" =>
"3",
607 "TitleActivated" =>
"3",
608 "TitleSelected" =>
"3",
609 "UnboundAddData" =>
"3",
610 "UnboundDeleteRow" =>
"3",
611 "UnboundGetRelativeBookmark" =>
"3",
612 "UnboundReadData" =>
"3",
613 "UnboundWriteData" =>
"3",
618 "ValidationError" =>
"3",
619 "WillAssociate" =>
"3",
620 "WillChangeData" =>
"3",
621 "WillDissociate" =>
"3",
622 "WillExecute" =>
"3",
623 "WillUpdateRows" =>
"3",
625 "WriteProperties" =>
"3",
626 "AppActivate" =>
"4",
648 "DeleteSetting" =>
"4",
697 "SavePicture" =>
"4",
698 "SaveSetting" =>
"4",
722 $this->linkscripts = array(