ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
HFile_framescript Class Reference
+ Inheritance diagram for HFile_framescript:
+ Collaboration diagram for HFile_framescript:

Public Member Functions

 HFile_framescript ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 5 of file HFile_framescript.php.

Member Function Documentation

◆ donothing()

HFile_framescript::donothing (   $keywordin)

Definition at line 462 of file HFile_framescript.php.

463{
464 return $keywordin;
465}

◆ HFile_framescript()

HFile_framescript::HFile_framescript ( )

Definition at line 6 of file HFile_framescript.php.

6 {
7 $this->HFile();
8/*************************************/
9// Beautifier Highlighting Configuration File
10// Frame-/ElmScript
11/*************************************/
12// Flags
13
14$this->nocase = "0";
15$this->notrim = "0";
16$this->perl = "0";
17
18// Colours
19
20$this->colours = array("blue", "purple", "gray", "brown", "blue", "purple");
21$this->quotecolour = "blue";
22$this->blockcommentcolour = "green";
23$this->linecommentcolour = "green";
24
25// Indent Strings
26
27$this->indent = array("Else");
28$this->unindent = array("EndIf", "EndLoop", "EndEvent", "EndSub");
29
30// String characters and delimiters
31
32$this->stringchars = array("'");
33$this->delimiters = array("~", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
34$this->escchar = "";
35
36// Comment settings
37
38$this->linecommenton = array("//");
39$this->blockcommenton = array("/*");
40$this->blockcommentoff = array("*/");
41
42// Keywords (keyword mapping to colour number)
43
44$this->keywords = array(
45 "Add" => "1",
46 "Apply" => "1",
47 "Clear" => "1",
48 "Close" => "1",
49 "Copy" => "1",
50 "Cut" => "1",
51 "Delete" => "1",
52 "DialogBox" => "1",
53 "Display" => "1",
54 "Else" => "1",
55 "EndEvent" => "1",
56 "EndIf" => "1",
57 "EndLoop" => "1",
58 "EndSub" => "1",
59 "Event" => "1",
60 "Execute" => "1",
61 "Find" => "1",
62 "Generate" => "1",
63 "Get" => "1",
64 "If" => "1",
65 "Import" => "1",
66 "Install" => "1",
67 "LeaveLoop" => "1",
68 "LeaveSub" => "1",
69 "Loop" => "1",
70 "MsgBox" => "1",
71 "New" => "1",
72 "Open" => "1",
73 "Paste" => "1",
74 "Print" => "1",
75 "Quit" => "1",
76 "Read" => "1",
77 "Remove" => "1",
78 "Replace" => "1",
79 "Return" => "1",
80 "Run" => "1",
81 "Save" => "1",
82 "Select" => "1",
83 "Session" => "1",
84 "Straddle" => "1",
85 "Sub" => "1",
86 "Uninstall" => "1",
87 "Update" => "1",
88 "Write" => "1",
89 "Book" => "2",
90 "BookFiles" => "2",
91 "ChangeBars" => "2",
92 "CommandObject" => "2",
93 "Document" => "2",
94 "File" => "2",
95 "Formats" => "2",
96 "FrameCommand" => "2",
97 "HyperText" => "2",
98 "Integer" => "2",
99 "Member" => "2",
100 "Menu" => "2",
101 "MenuItemSeparator" => "2",
102 "MenuObject" => "2",
103 "MenuSepObject" => "2",
104 "Metric" => "2",
105 "MetricList" => "2",
106 "Object" => "2",
107 "PageLayout" => "2",
108 "Property" => "2",
109 "PropertyList" => "2",
110 "QuickKeys" => "2",
111 "Real" => "2",
112 "Script" => "2",
113 "String" => "2",
114 "StringList" => "2",
115 "Table" => "2",
116 "TableCells" => "2",
117 "TableCols" => "2",
118 "TableColumns" => "2",
119 "TableRows" => "2",
120 "Text" => "2",
121 "TextFile" => "2",
122 "TextInsetContents" => "2",
123 "TextList" => "2",
124 "TextLoc" => "2",
125 "TextProperties" => "2",
126 "TextRange" => "2",
127 "UIntList" => "2",
128 "Var" => "2",
129 "AddTo" => "3",
130 "Backward" => "3",
131 "BodyRows" => "3",
132 "BookObject" => "3",
133 "BottomMargin" => "3",
134 "BottomRow" => "3",
135 "Button" => "3",
136 "Button3Label" => "3",
137 "Button4Label" => "3",
138 "Cancel" => "3",
139 "CellObject" => "3",
140 "CharFmt" => "3",
141 "CheckBox1" => "3",
142 "CheckBox1Label" => "3",
143 "CheckBox2" => "3",
144 "CheckBox2Label" => "3",
145 "CheckBox3" => "3",
146 "CheckBox3Label" => "3",
147 "CheckBox4" => "3",
148 "CheckBox4Label" => "3",
149 "Color" => "3",
150 "ColumnGap" => "3",
151 "Command" => "3",
152 "CutTblCells" => "3",
153 "Destpage" => "3",
154 "Direction" => "3",
155 "Directory" => "3",
156 "DocObject" => "3",
157 "DontApplyAllRows" => "3",
158 "DontDeleteHiddenText" => "3",
159 "Edit1" => "3",
160 "Edit2" => "3",
161 "Edit3" => "3",
162 "EndPos" => "3",
163 "EventProc" => "3",
164 "FooterRows" => "3",
165 "ForEach" => "3",
166 "Format" => "3",
167 "From" => "3",
168 "FromDocObject" => "3",
169 "FromString" => "3",
170 "HeaderRows" => "3",
171 "Height" => "3",
172 "IgnoreMods" => "3",
173 "In" => "3",
174 "Incr" => "3",
175 "Init" => "3",
176 "InitVal" => "3",
177 "InitValue" => "3",
178 "InObject" => "3",
179 "InRange" => "3",
180 "InsertBelowRight" => "3",
181 "InString" => "3",
182 "Interactive" => "3",
183 "Invisible" => "3",
184 "IOType" => "3",
185 "Label" => "3",
186 "Label1" => "3",
187 "Label2" => "3",
188 "Label3" => "3",
189 "Landscape" => "3",
190 "LeftCol" => "3",
191 "LeftInsideMargin" => "3",
192 "List" => "3",
193 "LoopVar" => "3",
194 "LowerCase" => "3",
195 "MarkerType" => "3",
196 "MasterPage" => "3",
197 "Mode" => "3",
198 "Name" => "3",
199 "NewVar" => "3",
200 "NoCase" => "3",
201 "Number" => "3",
202 "NumCols" => "3",
203 "NumRows" => "3",
204 "Offset" => "3",
205 "ParentObject" => "3",
206 "Portrait" => "3",
207 "Prefix" => "3",
208 "PrevObject" => "3",
209 "Prompt" => "3",
210 "PropertyName" => "3",
211 "Properties" => "3",
212 "PropertyValue" => "3",
213 "RemoveChars" => "3",
214 "RemoveLeading" => "3",
215 "RemoveTrailing" => "3",
216 "ReplaceCells" => "3",
217 "ReturnPos" => "3",
218 "ReturnStatus" => "3",
219 "ReturnString" => "3",
220 "ReturnRange" => "3",
221 "Returns" => "3",
222 "Reverse" => "3",
223 "Rewind" => "3",
224 "RightCol" => "3",
225 "RightOutsideMargin" => "3",
226 "RowObject" => "3",
227 "ScrollTo" => "3",
228 "SelectTable" => "3",
229 "ShortCut" => "3",
230 "SidedNess" => "3",
231 "SkipStep" => "3",
232 "Sourcepage" => "3",
233 "Start" => "3",
234 "StartCol" => "3",
235 "StartPos" => "3",
236 "Suffix" => "3",
237 "TableObject" => "3",
238 "Template" => "3",
239 "Title" => "3",
240 "Title2" => "3",
241 "To" => "3",
242 "TopMargin" => "3",
243 "TopRow" => "3",
244 "Type" => "3",
245 "UnanchoredFrame" => "3",
246 "Units" => "3",
247 "Until" => "3",
248 "UpperCase" => "3",
249 "Value" => "3",
250 "Visible" => "3",
251 "VisibleOnly" => "3",
252 "When" => "3",
253 "While" => "3",
254 "WholeWord" => "3",
255 "Width" => "3",
256 "With" => "3",
257 "AFrame" => "4",
258 "AlertUserAboutFailure" => "4",
259 "Append" => "4",
260 "Arc" => "4",
261 "AutoBackupOnSave" => "4",
262 "BeefyDoc" => "4",
263 "BodyPage" => "4",
264 "BookComponent" => "4",
265 "BookFileMenu" => "4",
266 "BookIsInUse" => "4",
267 "CharacterFormat" => "4",
268 "CharPropsChange" => "4",
269 "Cell" => "4",
270 "CellSeparator" => "4",
271 "ClosedDocs" => "4",
272 "CombinedFonts" => "4",
273 "Cond" => "4",
274 "CondFmt" => "4",
275 "ConditionFormat" => "4",
276 "DisallowBookDoc" => "4",
277 "DisallowBookMif" => "4",
278 "DisallowDoc" => "4",
279 "DisallowFilterTypes" => "4",
280 "DisallowGraphicTypes" => "4",
281 "DisallowMacEditions" => "4",
282 "DisallowMif" => "4",
283 "DisallowPlainText" => "4",
284 "DisallowSgml" => "4",
285 "Doc" => "4",
286 "DontNotifyApiClients" => "4",
287 "EditMenu" => "4",
288 "Ellipse" => "4",
289 "Everything" => "4",
290 "FileIsGraphic" => "4",
291 "FileIsInUse" => "4",
292 "FileIsMakerDoc" => "4",
293 "FileIsOldVersion" => "4",
294 "FileIsSgmlDoc" => "4",
295 "FileIsStructured" => "4",
296 "FileIsText" => "4",
297 "FileMenu" => "4",
298 "FilterFormatId" => "4",
299 "FitGraphicInSelectedRect" => "4",
300 "Flow" => "4",
301 "FlowBegin" => "4",
302 "FlowEnd" => "4",
303 "Fn" => "4",
304 "FnAnchor" => "4",
305 "Font" => "4",
306 "FontChangedMetric" => "4",
307 "FontNotFoundInCatalog" => "4",
308 "FontNotFoundInDoc" => "4",
309 "ForceImportAsText" => "4",
310 "ForceOpenAsText" => "4",
311 "ForceUpdate" => "4",
312 "FormatImportedText" => "4",
313 "FormatMenu" => "4",
314 "Formatting" => "4",
315 "FrameAnchor" => "4",
316 "GraphicDpi" => "4",
317 "Group" => "4",
318 "HowToImport" => "4",
319 "Hyphenating" => "4",
320 "ImportFlowPageSpace" => "4",
321 "ImportFlowTag" => "4",
322 "ImportTblTag" => "4",
323 "Inset" => "4",
324 "Internal" => "4",
325 "LanguageNotAvailable" => "4",
326 "LeaveHeadingRowsEmpty" => "4",
327 "Line" => "4",
328 "LineBegin" => "4",
329 "LineEnd" => "4",
330 "LockCantBeReset" => "4",
331 "MakeIconic" => "4",
332 "MakePageCount" => "4",
333 "MakeVisible" => "4",
334 "ManualUpdate" => "4",
335 "Marker" => "4",
336 "MarkerAnchor" => "4",
337 "Math" => "4",
338 "ModDateChanged" => "4",
339 "NameStripe" => "4",
340 "NumCellSeparators" => "4",
341 "NumColumns" => "4",
342 "OpenDocs" => "4",
343 "OpenDocViewOnly" => "4",
344 "OpenFileNotWritable" => "4",
345 "OpenId" => "4",
346 "Page" => "4",
347 "PageBegin" => "4",
348 "PageEnd" => "4",
349 "ParagraphFormat" => "4",
350 "Pgf" => "4",
351 "PgfBegin" => "4",
352 "PgfEnd" => "4",
353 "PgfFmt" => "4",
354 "Polygon" => "4",
355 "Polyline" => "4",
356 "ReadOnly" => "4",
357 "Rectangle" => "4",
358 "ReferencePage" => "4",
359 "RefFileNotFound" => "4",
360 "RefPage" => "4",
361 "RemoveExceptions" => "4",
362 "RemoveManualPageBreaks" => "4",
363 "RemoveOverrides" => "4",
364 "RemovePageBreaks" => "4",
365 "ResetEquationSettings" => "4",
366 "ResetRefFrames" => "4",
367 "RestartPgfNums" => "4",
368 "RetainNameStripe" => "4",
369 "RoundRect" => "4",
370 "Row" => "4",
371 "RulingFmt" => "4",
372 "RulingFormat" => "4",
373 "SaveFileNotWritable" => "4",
374 "SaveTextExtraBlankLineAtEOP" => "4",
375 "SaveTextTblSetting" => "4",
376 "ShowBrowser" => "4",
377 "ShowSaveTextDialog" => "4",
378 "SubCol" => "4",
379 "SubColBegin" => "4",
380 "SubColEnd" => "4",
381 "TableFormat" => "4",
382 "Tbl" => "4",
383 "TblAnchor" => "4",
384 "TblFmt" => "4",
385 "TblNumHeadingRows" => "4",
386 "TextFrameBegin" => "4",
387 "TextFrameEnd" => "4",
388 "TextInsetBegin" => "4",
389 "TextInsetEnd" => "4",
390 "TextInsetName" => "4",
391 "TextFrame" => "4",
392 "Textline" => "4",
393 "TextInset" => "4",
394 "TiApiClient" => "4",
395 "TreatParaAsRow" => "4",
396 "UNIXpermissions" => "4",
397 "UpdateBrowserDirectory" => "4",
398 "UpdateFRVList" => "4",
399 "UpdateXRefs" => "4",
400 "UseAutoSaveFile" => "4",
401 "UseDefaultUNIXpermissions" => "4",
402 "UseMainFlow" => "4",
403 "UseRecoverFile" => "4",
404 "VarBegin" => "4",
405 "VarEnd" => "4",
406 "VarFmt" => "4",
407 "Variable" => "4",
408 "Variables" => "4",
409 "VariableFormat" => "4",
410 "WriteOnly" => "4",
411 "XRef" => "4",
412 "XRefBegin" => "4",
413 "XRefEnd" => "4",
414 "XRefFmt" => "4",
415 "XRefFormat" => "4",
416 "XRefs" => "4",
417 "!BookMainMenu" => "4",
418 "!MakerMainMenu" => "4",
419 "!QuickMakerMainMenu" => "4",
420 "!ViewOnlyMenu" => "4",
421 "+" => "5",
422 "-" => "5",
423 "*" => "5",
424 "//" => "5",
425 "/" => "5",
426 "=" => "5",
427 ">" => "5",
428 "<" => "5",
429 "and" => "5",
430 "not" => "5",
431 "or" => "5",
432 "BackSlash" => "6",
433 "CHARCR" => "6",
434 "CHARLF" => "6",
435 "CHARTAB" => "6",
436 "ClientDir" => "6",
437 "ErrorCode" => "6",
438 "ErrorMsg" => "6",
439 "fslVersionMajor" => "6",
440 "fslVersionMinor" => "6",
441 "MainScript" => "6",
442 "QUOTE" => "6",
443 "ThisScript" => "6");
444
445// Special extensions
446
447// Each category can specify a PHP function that returns an altered
448// version of the keyword.
449
450
451
452$this->linkscripts = array(
453 "1" => "donothing",
454 "2" => "donothing",
455 "3" => "donothing",
456 "4" => "donothing",
457 "5" => "donothing",
458 "6" => "donothing");
459}

The documentation for this class was generated from the following file: