ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 7 of file HFile_framescript.php.

Member Function Documentation

◆ donothing()

HFile_framescript::donothing (   $keywordin)

Definition at line 466 of file HFile_framescript.php.

467 {
468 return $keywordin;
469 }

◆ HFile_framescript()

HFile_framescript::HFile_framescript ( )

Definition at line 9 of file HFile_framescript.php.

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

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