ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_uemacro Class Reference
+ Inheritance diagram for HFile_uemacro:
+ Collaboration diagram for HFile_uemacro:

Public Member Functions

 HFile_uemacro ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 __construct ()
 
 parse_file ($file)
 
 to_perl ($stub, $tofile=1)
 
 to_php ($stub, $tofile=1)
 
 _get_categories ()
 
 _dump_linkscripts ()
 
 _dump_perl_linkscripts ()
 
 _dump_perl_defaultscripts ()
 
 _dump_colours ()
 
 _dump_var ($variable, $name)
 
 _dump_array ($array, $name)
 
 _dump_perl_array ($array, $name)
 
 _dump_hash ($hash, $name)
 
 _dump_perl_hash ($hash, $name)
 

Detailed Description

Definition at line 7 of file HFile_uemacro.php.

Member Function Documentation

◆ donothing()

HFile_uemacro::donothing (   $keywordin)

Definition at line 167 of file HFile_uemacro.php.

168  {
169  return $keywordin;
170  }

◆ HFile_uemacro()

HFile_uemacro::HFile_uemacro ( )

Definition at line 9 of file HFile_uemacro.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // UE MACRO
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "1";
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", "IfCharIs", "IfColNum", "IfEof", "IfFound", "IfNotFound", "IfSel", "Loop", "StartSelect");
32  $this->unindent = array("Else", "EndIf", "EndLoop", "EndSelect");
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  "AnsiToOem" => "1",
50  "Bottom" => "1",
51  "CloseFile" => "1",
52  "ColumnModeOff" => "1",
53  "ColumnModeOn" => "1",
54  "ColumnCut" => "1",
55  "ColumnDelete" => "1",
56  "ColumnInsert" => "1",
57  "ColumnInsertNum" => "1",
58  "Copy" => "1",
59  "Cut" => "1",
60  "Delete" => "1",
61  "DeleteLine" => "1",
62  "DeleteToEndOfLine" => "1",
63  "DeleteToStartOfLine" => "1",
64  "DosToMac" => "1",
65  "DosToUnix" => "1",
66  "ExitMacro" => "1",
67  "GetString" => "1",
68  "GetValue" => "1",
69  "GotoBookMark" => "1",
70  "GotoLine" => "1",
71  "GotoPage" => "1",
72  "HexDelete" => "1",
73  "HexInsert" => "1",
74  "HexOff" => "1",
75  "HexOn" => "1",
76  "InsertMode" => "1",
77  "InsertPageBreak" => "1",
78  "InvertCase" => "1",
79  "NextWindow" => "1",
80  "NewFile" => "1",
81  "OemToAnsi" => "1",
82  "Open" => "1",
83  "OverStrikeMode" => "1",
84  "Paste" => "1",
85  "PlayMacro" => "1",
86  "PreviousWindow" => "1",
87  "ReturnToWarp" => "1",
88  "Save" => "1",
89  "SaveAs" => "1",
90  "SelectAll" => "1",
91  "SelectToBottom" => "1",
92  "SelectToTop" => "1",
93  "SelectWord" => "1",
94  "SpacesToTabs" => "1",
95  "SpacesToTabsAll" => "1",
96  "TabsToSpaces" => "1",
97  "TimeDate" => "1",
98  "ToCaps" => "1",
99  "ToggleBookMark" => "1",
100  "ToLower" => "1",
101  "Top" => "1",
102  "ToUpper" => "1",
103  "TrimTrailingSpaces" => "1",
104  "UnixMactoDos" => "1",
105  "WrapToReturn" => "1",
106  "Template" => "2",
107  "Else" => "3",
108  "EndIf" => "3",
109  "EndLoop" => "3",
110  "EndSelect" => "3",
111  "ExitLoop" => "3",
112  "IfCharIs" => "3",
113  "IfColNum" => "3",
114  "IfEof" => "3",
115  "IfFound" => "3",
116  "IfNotFound" => "3",
117  "IfSel" => "3",
118  "Loop" => "3",
119  "StartSelect" => "3",
120  "**" => "4",
121  "Ctrl+" => "4",
122  "All" => "4",
123  "ARROW" => "4",
124  "AllFiles" => "4",
125  "Backspace" => "4",
126  "DEL" => "4",
127  "DOWN" => "4",
128  "END" => "4",
129  "HOME" => "4",
130  "IgnoreCase" => "5",
131  "Key" => "4",
132  "LEFT" => "4",
133  "PGDN" => "4",
134  "PGUP" => "4",
135  "RemoveDup" => "5",
136  "RIGHT" => "4",
137  "Selected" => "4",
138  "Text" => "4",
139  "UP" => "4",
140  "SortAsc" => "5",
141  "SortDes" => "5",
142  "Find" => "6",
143  "MatchCase" => "6",
144  "MatchWord" => "6",
145  "RegExp" => "6",
146  "Replace" => "6",
147  "Select" => "6",
148  "SelectText" => "6");
149 
150  // Special extensions
151 
152  // Each category can specify a PHP function that returns an altered
153  // version of the keyword.
154 
155 
156 
157  $this->linkscripts = array(
158  "1" => "donothing",
159  "2" => "donothing",
160  "3" => "donothing",
161  "4" => "donothing",
162  "5" => "donothing",
163  "6" => "donothing");
164  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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