2 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours =
array(
"blue",
"purple",
"gray",
"brown",
"blue",
"purple");
25 $this->quotecolour =
"blue";
26 $this->blockcommentcolour =
"green";
27 $this->linecommentcolour =
"green";
31 $this->indent =
array(
"Else");
32 $this->unindent =
array(
"EndIf",
"EndLoop",
"EndEvent",
"EndSub");
36 $this->stringchars =
array(
"'");
37 $this->delimiters =
array(
"~",
"@",
"%",
"^",
"&",
"*",
"(",
")",
"-",
"+",
"=",
"|",
"\\",
"/",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
".",
"?");
42 $this->linecommenton =
array(
"//");
43 $this->blockcommenton =
array(
"/*");
44 $this->blockcommentoff =
array(
"*/");
48 $this->keywords =
array(
96 "CommandObject" =>
"2",
100 "FrameCommand" =>
"2",
105 "MenuItemSeparator" =>
"2",
107 "MenuSepObject" =>
"2",
113 "PropertyList" =>
"2",
122 "TableColumns" =>
"2",
126 "TextInsetContents" =>
"2",
129 "TextProperties" =>
"2",
137 "BottomMargin" =>
"3",
140 "Button3Label" =>
"3",
141 "Button4Label" =>
"3",
146 "CheckBox1Label" =>
"3",
148 "CheckBox2Label" =>
"3",
150 "CheckBox3Label" =>
"3",
152 "CheckBox4Label" =>
"3",
156 "CutTblCells" =>
"3",
161 "DontApplyAllRows" =>
"3",
162 "DontDeleteHiddenText" =>
"3",
172 "FromDocObject" =>
"3",
184 "InsertBelowRight" =>
"3",
186 "Interactive" =>
"3",
195 "LeftInsideMargin" =>
"3",
209 "ParentObject" =>
"3",
214 "PropertyName" =>
"3",
216 "PropertyValue" =>
"3",
217 "RemoveChars" =>
"3",
218 "RemoveLeading" =>
"3",
219 "RemoveTrailing" =>
"3",
220 "ReplaceCells" =>
"3",
222 "ReturnStatus" =>
"3",
223 "ReturnString" =>
"3",
224 "ReturnRange" =>
"3",
229 "RightOutsideMargin" =>
"3",
232 "SelectTable" =>
"3",
241 "TableObject" =>
"3",
249 "UnanchoredFrame" =>
"3",
255 "VisibleOnly" =>
"3",
262 "AlertUserAboutFailure" =>
"4",
265 "AutoBackupOnSave" =>
"4",
268 "BookComponent" =>
"4",
269 "BookFileMenu" =>
"4",
270 "BookIsInUse" =>
"4",
271 "CharacterFormat" =>
"4",
272 "CharPropsChange" =>
"4",
274 "CellSeparator" =>
"4",
276 "CombinedFonts" =>
"4",
279 "ConditionFormat" =>
"4",
280 "DisallowBookDoc" =>
"4",
281 "DisallowBookMif" =>
"4",
282 "DisallowDoc" =>
"4",
283 "DisallowFilterTypes" =>
"4",
284 "DisallowGraphicTypes" =>
"4",
285 "DisallowMacEditions" =>
"4",
286 "DisallowMif" =>
"4",
287 "DisallowPlainText" =>
"4",
288 "DisallowSgml" =>
"4",
290 "DontNotifyApiClients" =>
"4",
294 "FileIsGraphic" =>
"4",
295 "FileIsInUse" =>
"4",
296 "FileIsMakerDoc" =>
"4",
297 "FileIsOldVersion" =>
"4",
298 "FileIsSgmlDoc" =>
"4",
299 "FileIsStructured" =>
"4",
302 "FilterFormatId" =>
"4",
303 "FitGraphicInSelectedRect" =>
"4",
310 "FontChangedMetric" =>
"4",
311 "FontNotFoundInCatalog" =>
"4",
312 "FontNotFoundInDoc" =>
"4",
313 "ForceImportAsText" =>
"4",
314 "ForceOpenAsText" =>
"4",
315 "ForceUpdate" =>
"4",
316 "FormatImportedText" =>
"4",
319 "FrameAnchor" =>
"4",
322 "HowToImport" =>
"4",
323 "Hyphenating" =>
"4",
324 "ImportFlowPageSpace" =>
"4",
325 "ImportFlowTag" =>
"4",
326 "ImportTblTag" =>
"4",
329 "LanguageNotAvailable" =>
"4",
330 "LeaveHeadingRowsEmpty" =>
"4",
334 "LockCantBeReset" =>
"4",
336 "MakePageCount" =>
"4",
337 "MakeVisible" =>
"4",
338 "ManualUpdate" =>
"4",
340 "MarkerAnchor" =>
"4",
342 "ModDateChanged" =>
"4",
344 "NumCellSeparators" =>
"4",
347 "OpenDocViewOnly" =>
"4",
348 "OpenFileNotWritable" =>
"4",
353 "ParagraphFormat" =>
"4",
362 "ReferencePage" =>
"4",
363 "RefFileNotFound" =>
"4",
365 "RemoveExceptions" =>
"4",
366 "RemoveManualPageBreaks" =>
"4",
367 "RemoveOverrides" =>
"4",
368 "RemovePageBreaks" =>
"4",
369 "ResetEquationSettings" =>
"4",
370 "ResetRefFrames" =>
"4",
371 "RestartPgfNums" =>
"4",
372 "RetainNameStripe" =>
"4",
376 "RulingFormat" =>
"4",
377 "SaveFileNotWritable" =>
"4",
378 "SaveTextExtraBlankLineAtEOP" =>
"4",
379 "SaveTextTblSetting" =>
"4",
380 "ShowBrowser" =>
"4",
381 "ShowSaveTextDialog" =>
"4",
383 "SubColBegin" =>
"4",
385 "TableFormat" =>
"4",
389 "TblNumHeadingRows" =>
"4",
390 "TextFrameBegin" =>
"4",
391 "TextFrameEnd" =>
"4",
392 "TextInsetBegin" =>
"4",
393 "TextInsetEnd" =>
"4",
394 "TextInsetName" =>
"4",
398 "TiApiClient" =>
"4",
399 "TreatParaAsRow" =>
"4",
400 "UNIXpermissions" =>
"4",
401 "UpdateBrowserDirectory" =>
"4",
402 "UpdateFRVList" =>
"4",
403 "UpdateXRefs" =>
"4",
404 "UseAutoSaveFile" =>
"4",
405 "UseDefaultUNIXpermissions" =>
"4",
406 "UseMainFlow" =>
"4",
407 "UseRecoverFile" =>
"4",
413 "VariableFormat" =>
"4",
421 "!BookMainMenu" =>
"4",
422 "!MakerMainMenu" =>
"4",
423 "!QuickMakerMainMenu" =>
"4",
424 "!ViewOnlyMenu" =>
"4",
443 "fslVersionMajor" =>
"6",
444 "fslVersionMinor" =>
"6",
447 "ThisScript" =>
"6");
456 $this->linkscripts =
array(
Create styles array
The data for the language used.