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