ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_carealizer20.php
Go to the documentation of this file.
1 <?php
2 $BEAUT_PATH = realpath(".") . "/Services/COPage/syntax_highlight/php";
3 if (!isset($BEAUT_PATH)) {
4  return;
5 }
6 require_once("$BEAUT_PATH/Beautifier/HFile.php");
7  class HFile_carealizer20 extends HFile
8  {
9  public function HFile_carealizer20()
10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14 //
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");
25  $this->quotecolour = "blue";
26  $this->blockcommentcolour = "green";
27  $this->linecommentcolour = "green";
28 
29  // Indent Strings
30 
31  $this->indent = array();
32  $this->unindent = array();
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  "/L10" => "",
50  "Line" => "",
51  "Comment" => "",
52  "=" => "",
53  "'" => "",
54  "Nocase" => "",
55  "File" => "",
56  "Extensions" => "",
57  "RLZ" => "",
58  "RFD" => "",
59  "Abs" => "1",
60  "ACos" => "1",
61  "AddSys" => "1",
62  "AddToDate" => "1",
63  "AddToTime" => "1",
64  "And" => "1",
65  "AnimateCells" => "1",
66  "AnimateControl" => "1",
67  "AnimateFrame" => "1",
68  "AnimateSelect" => "1",
69  "AnimateSpecialFrame" => "1",
70  "AppSetProc" => "1",
71  "AS" => "1",
72  "Asc" => "1",
73  "ASin" => "1",
74  "ATan2" => "1",
75  "ATn" => "1",
76  "BASE" => "1",
77  "BEEP" => "1",
78  "Bin$" => "1",
79  "BinToNum" => "1",
80  "BitAnd" => "1",
81  "BitClear" => "1",
82  "BitLShift" => "1",
83  "BitNot" => "1",
84  "BitOr" => "1",
85  "BitRShift" => "1",
86  "BitSet" => "1",
87  "BitTest" => "1",
88  "BitXor" => "1",
89  "BoardControl" => "1",
90  "BoardNew" => "1",
91  "BoardQ" => "1",
92  "BoardQUnique" => "1",
93  "BoardSelect" => "1",
94  "BoardSetProc" => "1",
95  "BoardUpdate" => "1",
96  "Bool" => "1",
97  "CARET" => "1",
98  "Case" => "1",
99  "CDBL" => "1",
100  "Ceil" => "1",
101  "CHAIN" => "1",
102  "ChartBar" => "1",
103  "ChartControl" => "1",
104  "ChartControlGrid" => "1",
105  "ChartControlKey" => "1",
106  "ChartControlLabels" => "1",
107  "ChartControlPane" => "1",
108  "ChartHBar" => "1",
109  "ChartLine" => "1",
110  "ChartMark" => "1",
111  "ChartNew" => "1",
112  "ChartPie" => "1",
113  "ChartQ" => "1",
114  "ChartQPtInfo" => "1",
115  "ChartQUnique" => "1",
116  "ChartQXAxis" => "1",
117  "ChartQYAxis" => "1",
118  "ChartRemove" => "1",
119  "ChartSelect" => "1",
120  "ChartSelectPane" => "1",
121  "ChartSetColor" => "1",
122  "ChartSetFont" => "1",
123  "ChartSetKey" => "1",
124  "ChartSetLineStyle" => "1",
125  "ChartSetMark" => "1",
126  "ChartSetProc" => "1",
127  "ChartSetTitle" => "1",
128  "ChartSetXAxis" => "1",
129  "ChartSetXAxis2" => "1",
130  "ChartSetXGrid" => "1",
131  "ChartSetXLabels" => "1",
132  "ChartSetXView" => "1",
133  "ChartSetYAxis" => "1",
134  "ChartSetYGrid" => "1",
135  "ChartSetYLabels" => "1",
136  "ChartText" => "1",
137  "ChartUpdate" => "1",
138  "ChartXYLine" => "1",
139  "ChartXYMark" => "1",
140  "CHDIR" => "1",
141  "Chr$" => "1",
142  "CINT" => "1",
143  "CLEAR" => "1",
144  "ClipGet" => "1",
145  "ClipSet" => "1",
146  "CLNG" => "1",
147  "ColorNames" => "1",
148  "CommClose" => "1",
149  "CommOpen" => "1",
150  "CommQ" => "1",
151  "CommRead" => "1",
152  "CommWrite" => "1",
153  "Cos" => "1",
154  "CSNG" => "1",
155  "CVD" => "1",
156  "CVDMBF" => "1",
157  "CVI" => "1",
158  "CVL" => "1",
159  "CVS" => "1",
160  "CVSMBF" => "1",
161  "CUSTOMCONTROLS" => "1",
162  "DATE$" => "1",
163  "DateInfo" => "1",
164  "DateToNum" => "1",
165  "DayOfWeek" => "1",
166  "DDEControl" => "1",
167  "DDENew" => "1",
168  "DDEQ" => "1",
169  "DDEQUnique" => "1",
170  "DDESelect" => "1",
171  "DDESetProc" => "1",
172  "DDEWait" => "1",
173  "DIM" => "1",
174  "DWord" => "1",
175  "EndValid" => "1",
176  "END" => "1",
177  "EOF" => "1",
178  "Eqv" => "1",
179  "ERASE" => "1",
180  "ERF" => "1",
181  "ERL" => "1",
182  "ERR" => "1",
183  "ERROR" => "1",
184  "EXECUTE" => "1",
185  "EXIT" => "1",
186  "Exp" => "1",
187  "Exp10" => "1",
188  "EXPORT" => "1",
189  "EXTERNAL" => "1",
190  "Else" => "1",
191  "FileClose" => "1",
192  "FileDB" => "1",
193  "FileDelete" => "1",
194  "FileEOF" => "1",
195  "FileExport" => "1",
196  "FileImport" => "1",
197  "FileMakeName" => "1",
198  "FileOpen" => "1",
199  "FilePos" => "1",
200  "FileQ" => "1",
201  "FileQUnique" => "1",
202  "FileRead" => "1",
203  "FILES" => "1",
204  "FileSeek" => "1",
205  "FileWrite" => "1",
206  "FirstMatch" => "1",
207  "Fix" => "1",
208  "Floor" => "1",
209  "FontControl" => "1",
210  "FontNew" => "1",
211  "FontQ" => "1",
212  "FontQUnique" => "1",
213  "FontSelect" => "1",
214  "FOR" => "1",
215  "FormControl" => "1",
216  "FormModifyObject" => "1",
217  "FormNew" => "1",
218  "FormQ" => "1",
219  "FormQNum" => "1",
220  "FormQObject" => "1",
221  "FormQStr" => "1",
222  "FormQUnique" => "1",
223  "FormSelect" => "1",
224  "FormSetColor" => "1",
225  "FormSetGrid" => "1",
226  "FormSetObject" => "1",
227  "FormSetProc" => "1",
228  "FormWait" => "1",
229  "FREEFILE" => "1",
230  "FUNC" => "1",
231  "GOTO" => "1",
232  "Help" => "1",
233  "HelpSetProc" => "1",
234  "Hex$" => "1",
235  "HexToNum" => "1",
236  "IDLE" => "1",
237  "IF" => "1",
238  "Imp" => "1",
239  "Index" => "1",
240  "INPUT" => "1",
241  "InStr" => "1",
242  "INT" => "1",
243  "INTEGER" => "1",
244  "KILL" => "1",
245  "LBound" => "1",
246  "LCase$" => "1",
247  "Left$" => "1",
248  "Len" => "1",
249  "LFLUSH" => "1",
250  "LOCAL" => "1",
251  "LOF" => "1",
252  "Log" => "1",
253  "Log10" => "1",
254  "LogControl" => "1",
255  "LogNew" => "1",
256  "LogQ" => "1",
257  "LogQData" => "1",
258  "LogQSize" => "1",
259  "LogQStr" => "1",
260  "LogQUnique" => "1",
261  "LogSelect" => "1",
262  "LogSetData" => "1",
263  "LogSetProc" => "1",
264  "Long" => "1",
265  "LOOP" => "1",
266  "LPRINT" => "1",
267  "LROWPRINT" => "1",
268  "LTrim$" => "1",
269  "Mask" => "1",
270  "MatInvert" => "1",
271  "MatMult" => "1",
272  "MatTranspose" => "1",
273  "Max" => "1",
274  "MenuControl" => "1",
275  "MenuDoCmd" => "1",
276  "MenuNew" => "1",
277  "MenuQ" => "1",
278  "MenuQUnique" => "1",
279  "MenuSelect" => "1",
280  "MenuSetCmd" => "1",
281  "MenuSetProc" => "1",
282  "MessageBox" => "1",
283  "Mid$" => "1",
284  "Min" => "1",
285  "MKD$" => "1",
286  "MKDIR" => "1",
287  "MKDMBF$" => "1",
288  "MKI$" => "1",
289  "MKL$" => "1",
290  "MKS$" => "1",
291  "MKSMBF$" => "1",
292  "Mod" => "1",
293  "Not" => "1",
294  "NumToDate" => "1",
295  "NumToStr" => "1",
296  "Oct$" => "1",
297  "OctToNum" => "1",
298  "ON" => "1",
299  "OPTION" => "1",
300  "Or" => "1",
301  "PictureClipGet" => "1",
302  "PictureClipSet" => "1",
303  "PictureControl" => "1",
304  "PictureNew" => "1",
305  "PictureQ" => "1",
306  "PictureQUnique" => "1",
307  "PictureSelect" => "1",
308  "Pointer" => "1",
309  "PRINT" => "1",
310  "PrinterControl" => "1",
311  "PROC" => "1",
312  "Product" => "1",
313  "QDate" => "1",
314  "QDir" => "1",
315  "QFormat" => "1",
316  "QNOptMods" => "1",
317  "QNOptParams" => "1",
318  "QOptMod" => "1",
319  "QOptParam" => "1",
320  "QSys" => "1",
321  "QVar" => "1",
322  "RANDOMIZE" => "1",
323  "RENAME" => "1",
324  "RESET" => "1",
325  "ResetHourglass" => "1",
326  "RESUME" => "1",
327  "RETURN" => "1",
328  "Reverse$" => "1",
329  "Right$" => "1",
330  "RMDIR" => "1",
331  "Rnd" => "1",
332  "Round" => "1",
333  "ROWPRINT" => "1",
334  "RTrim$" => "1",
335  "RUN" => "1",
336  "RunTot" => "1",
337  "SchedControl" => "1",
338  "SchedNew" => "1",
339  "SchedQ" => "1",
340  "SchedQData" => "1",
341  "SchedRemove" => "1",
342  "SchedSet" => "1",
343  "ScreenEGA" => "1",
344  "SEEK" => "1",
345  "SELECT" => "1",
346  "SetAppName" => "1",
347  "SetDir" => "1",
348  "SetFormat" => "1",
349  "SetHourglass" => "1",
350  "SetSys" => "1",
351  "SetSystemDate" => "1",
352  "SetSystemTime" => "1",
353  "Sgn" => "1",
354  "SheetControl" => "1",
355  "SheetControlLabels" => "1",
356  "SheetNew" => "1",
357  "SheetQ" => "1",
358  "SheetQInfo" => "1",
359  "SheetQUnique" => "1",
360  "SheetSelect" => "1",
361  "SheetSetColLabels" => "1",
362  "SheetSetProc" => "1",
363  "SheetSetRowLabels" => "1",
364  "SheetUpdate" => "1",
365  "SHELL" => "1",
366  "Sin" => "1",
367  "SLEEP" => "1",
368  "Space$" => "1",
369  "Spc$" => "1",
370  "Sprint" => "1",
371  "Sqr" => "1",
372  "Sqrt" => "1",
373  "StartValid" => "1",
374  "StatMovAvg" => "1",
375  "StatMovMax" => "1",
376  "StatMovMin" => "1",
377  "StatMovTot" => "1",
378  "StatNorm" => "1",
379  "StatPack" => "1",
380  "StatPercent" => "1",
381  "StatRank" => "1",
382  "StatRegress" => "1",
383  "StatSort" => "1",
384  "StatSwitch" => "1",
385  "StatUnPack" => "1",
386  "StdColor" => "1",
387  "StdFont" => "1",
388  "StdOpen" => "1",
389  "StdPrintConfig" => "1",
390  "StdSaveAs" => "1",
391  "STOP" => "1",
392  "StrDelete$" => "1",
393  "String$" => "1",
394  "StrInsert$" => "1",
395  "StrKeyword" => "1",
396  "StrToDate" => "1",
397  "StrTok" => "1",
398  "StrToNum" => "1",
399  "SUB" => "1",
400  "SubStr$" => "1",
401  "Sum" => "1",
402  "SWAP" => "1",
403  "TabletArc" => "1",
404  "TabletBitmap" => "1",
405  "TabletBrush" => "1",
406  "TabletChord" => "1",
407  "TabletControl" => "1",
408  "TabletEllipse" => "1",
409  "TabletGetPixel" => "1",
410  "TabletLine" => "1",
411  "TabletLineTo" => "1",
412  "TabletMouseX" => "1",
413  "TabletMouseY" => "1",
414  "TabletMoveTo" => "1",
415  "TabletPen" => "1",
416  "TabletPie" => "1",
417  "TabletPolygon" => "1",
418  "TabletPolyLine" => "1",
419  "TabletPolyPolygon" => "1",
420  "TabletRectangle" => "1",
421  "TabletRoundRect" => "1",
422  "TabletSelect" => "1",
423  "TabletSetColor" => "1",
424  "TabletSetPixel" => "1",
425  "TabletText" => "1",
426  "TabletTextColor" => "1",
427  "TabletUndo" => "1",
428  "Tan" => "1",
429  "TIME$" => "1",
430  "TIMER" => "1",
431  "TYPE" => "1",
432  "Then" => "1",
433  "UBound" => "1",
434  "UCase$" => "1",
435  "Val" => "1",
436  "VectSet" => "1",
437  "WHILE" => "1",
438  "WRITE" => "1",
439  "Word" => "1",
440  "Xor" => "1",
441  "ZeroFill" => "1");
442 
443  // Special extensions
444 
445  // Each category can specify a PHP function that returns an altered
446  // version of the keyword.
447 
448 
449 
450  $this->linkscripts = array(
451  "" => "donothing",
452  "1" => "donothing");
453  }
454 
455 
456  public function donothing($keywordin)
457  {
458  return $keywordin;
459  }
460  }
Create styles array
The data for the language used.
Definition: HFile.php:21