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

Public Member Functions

 HFile_tcltk ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 7 of file HFile_tcltk.php.

Member Function Documentation

◆ donothing()

HFile_tcltk::donothing (   $keywordin)

Definition at line 227 of file HFile_tcltk.php.

228 {
229 return $keywordin;
230 }

◆ HFile_tcltk()

HFile_tcltk::HFile_tcltk ( )

Definition at line 9 of file HFile_tcltk.php.

10 {
11 $this->HFile();
12 /*************************************/
13 // Beautifier Highlighting Configuration File
14 // Tcl/tk
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");
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 "after" => "1",
50 "append" => "1",
51 "array" => "1",
52 "auto_execok" => "1",
53 "auto_load" => "1",
54 "auto_mkindex" => "1",
55 "auto_reset" => "1",
56 "bgerror" => "1",
57 "break" => "1",
58 "case" => "1",
59 "catch" => "1",
60 "cd" => "1",
61 "clock" => "1",
62 "close" => "1",
63 "concat" => "1",
64 "continue" => "1",
65 "eof" => "1",
66 "error" => "1",
67 "eval" => "1",
68 "exec" => "1",
69 "exit" => "1",
70 "expr" => "1",
71 "else" => "1",
72 "elseif" => "1",
73 "fblocked" => "1",
74 "fconfigure" => "1",
75 "file" => "1",
76 "fileevent" => "1",
77 "flush" => "1",
78 "for" => "1",
79 "foreach" => "1",
80 "format" => "1",
81 "gets" => "1",
82 "glob" => "1",
83 "global" => "1",
84 "history" => "1",
85 "if" => "1",
86 "incr" => "1",
87 "info" => "1",
88 "interp" => "1",
89 "join" => "1",
90 "lappend" => "1",
91 "lindex" => "1",
92 "linsert" => "1",
93 "list" => "1",
94 "llength" => "1",
95 "load" => "1",
96 "lrange" => "1",
97 "lreplace" => "1",
98 "lsearch" => "1",
99 "lsort" => "1",
100 "open" => "1",
101 "package" => "1",
102 "parray" => "1",
103 "pid" => "1",
104 "proc" => "1",
105 "puts" => "1",
106 "pwd" => "1",
107 "read" => "1",
108 "regexp" => "1",
109 "regsub" => "1",
110 "rename" => "1",
111 "return" => "1",
112 "scan" => "1",
113 "seek" => "1",
114 "set" => "1",
115 "socket" => "1",
116 "source" => "1",
117 "split" => "1",
118 "string" => "1",
119 "subst" => "1",
120 "switch" => "1",
121 "tell" => "1",
122 "time" => "1",
123 "trace" => "1",
124 "tcl_endOfWord" => "1",
125 "tcl_startOfNextWord" => "1",
126 "tcl_startOfPreviousWord" => "1",
127 "tcl_wordBreakAfter" => "1",
128 "tcl_wordBreakBefore" => "1",
129 "unknown" => "1",
130 "unset" => "1",
131 "update" => "1",
132 "uplevel" => "1",
133 "upvar" => "1",
134 "vwait" => "1",
135 "while" => "1",
136 "auto_execs" => "2",
137 "auto_index" => "2",
138 "auto_noexec" => "2",
139 "auto_noload" => "2",
140 "auto_path" => "2",
141 "env" => "2",
142 "ErrorCode" => "2",
143 "ErrorInfo" => "2",
144 "tcl_library" => "2",
145 "tcl_patchLevel" => "2",
146 "tcl_pkgPath" => "2",
147 "tcl_platform" => "2",
148 "tcl_precision" => "2",
149 "tcl_rcFileName" => "2",
150 "tcl_rcRsrcName" => "2",
151 "tcl_version" => "2",
152 "tcl_nonwordchars" => "2",
153 "tcl_wordchars" => "2",
154 "unknown_active" => "2",
155 "bell" => "3",
156 "bind" => "3",
157 "bindtags" => "3",
158 "bitmap" => "3",
159 "button" => "3",
160 "canvas" => "3",
161 "checkbutton" => "3",
162 "clipboard" => "3",
163 "destroy" => "3",
164 "entry" => "3",
165 "event" => "3",
166 "focus" => "3",
167 "frame" => "3",
168 "grab" => "3",
169 "grid" => "3",
170 "image" => "3",
171 "label" => "3",
172 "listbox" => "3",
173 "lower" => "3",
174 "menu" => "3",
175 "menubutton" => "3",
176 "message" => "3",
177 "option" => "3",
178 "pack" => "3",
179 "photo" => "3",
180 "place" => "3",
181 "radiobutton" => "3",
182 "raise" => "3",
183 "scale" => "3",
184 "scrollbar" => "3",
185 "selection" => "3",
186 "send" => "3",
187 "text" => "3",
188 "tk" => "3",
189 "tk_bindForTraversal" => "3",
190 "tk_bisque" => "3",
191 "tk_chooseColor" => "3",
192 "tk_dialog" => "3",
193 "tk_focusFollowsMouse" => "3",
194 "tk_focusNext" => "3",
195 "tk_focusPrev" => "3",
196 "tk_getOpenFile" => "3",
197 "tk_getSaveFile" => "3",
198 "tk_menuBar" => "3",
199 "tk_messageBox" => "3",
200 "tk_optionMenu" => "3",
201 "tk_popup" => "3",
202 "tk_setPalette" => "3",
203 "tkerror" => "3",
204 "tkvars" => "3",
205 "tkwait" => "3",
206 "toplevel" => "3",
207 "winfo" => "3",
208 "wm" => "3",
209 "**" => "4",
210 "$" => "4");
211
212 // Special extensions
213
214 // Each category can specify a PHP function that returns an altered
215 // version of the keyword.
216
217
218
219 $this->linkscripts = array(
220 "1" => "donothing",
221 "2" => "donothing",
222 "3" => "donothing",
223 "4" => "donothing");
224 }

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