author | Claus Gittinger <cg@exept.de> |
Sun, 03 Jul 2011 17:05:25 +0200 | |
changeset 10055 | 88034a467573 |
parent 9943 | 09e234e9fa8e |
child 10435 | 309c101e7386 |
permissions | -rw-r--r-- |
9892 | 1 |
" |
2 |
COPYRIGHT (c) 2002 by eXept Software AG |
|
10055 | 3 |
All Rights Reserved |
9892 | 4 |
|
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
"{ Package: 'stx:libtool' }" |
|
13 |
||
14 |
"{ NameSpace: Tools }" |
|
15 |
||
9907 | 16 |
ApplicationModel subclass:#TagsBrowser |
10055 | 17 |
instanceVariableNames:'editedFileHolder commonAspects tagView tagList action tagsMenu |
18 |
menus' |
|
19 |
classVariableNames:'' |
|
20 |
poolDictionaries:'' |
|
21 |
category:'Interface-Tools-File-Tags' |
|
9892 | 22 |
! |
23 |
||
24 |
SelectionInListModelView subclass:#TagView |
|
10055 | 25 |
instanceVariableNames:'application process fileName tagLineNr filter' |
26 |
classVariableNames:'TypeInset' |
|
27 |
poolDictionaries:'' |
|
28 |
privateIn:TagsBrowser |
|
9892 | 29 |
! |
30 |
||
31 |
!TagsBrowser class methodsFor:'documentation'! |
|
32 |
||
33 |
copyright |
|
34 |
" |
|
35 |
COPYRIGHT (c) 2002 by eXept Software AG |
|
10055 | 36 |
All Rights Reserved |
9892 | 37 |
|
38 |
This software is furnished under a license and may be used |
|
39 |
only in accordance with the terms of that license and with the |
|
40 |
inclusion of the above copyright notice. This software may not |
|
41 |
be provided or otherwise made available to, or used by, any |
|
42 |
other person. No title to or ownership of the software is |
|
43 |
hereby transferred. |
|
44 |
||
45 |
||
46 |
" |
|
9919 | 47 |
! |
48 |
||
49 |
documentation |
|
50 |
" |
|
51 |
a simple tag-support view, which can be plugged into another (file) application |
|
52 |
for indexing. |
|
53 |
Supports a bunch of languages somehow, but none really perfect. |
|
54 |
Uses ctags if present, if not, has naive fallback tag generation support. |
|
55 |
||
10055 | 56 |
Good enough for me, doing occasional work in other languages (of course, is not able |
57 |
to compete with a specialized editor tools loke notepad++, emacs or similar. |
|
9919 | 58 |
" |
9892 | 59 |
! ! |
60 |
||
61 |
!TagsBrowser class methodsFor:'interface specs'! |
|
62 |
||
63 |
windowSpec |
|
64 |
"This resource specification was automatically generated |
|
65 |
by the UIPainter of ST/X." |
|
66 |
||
67 |
"Do not manually edit this!! If it is corrupted, |
|
68 |
the UIPainter may not be able to read the specification." |
|
69 |
||
70 |
" |
|
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
71 |
UIPainter new openOnClass:Tools::TagsBrowser andSelector:#windowSpec |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
72 |
Tools::TagsBrowser new openInterface:#windowSpec |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
73 |
Tools::TagsBrowser open |
9892 | 74 |
" |
75 |
||
76 |
<resource: #canvas> |
|
77 |
||
78 |
^ |
|
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
79 |
#(FullSpec |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
80 |
name: windowSpec |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
81 |
window: |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
82 |
(WindowSpec |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
83 |
label: 'TagsBrowser' |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
84 |
name: 'TagsBrowser' |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
85 |
min: (Point 10 10) |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
86 |
max: (Point 1024 768) |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
87 |
bounds: (Rectangle 0 0 300 337) |
9892 | 88 |
) |
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
89 |
component: |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
90 |
(SpecCollection |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
91 |
collection: ( |
9942 | 92 |
(MenuPanelSpec |
93 |
name: 'ToolBar1' |
|
94 |
layout: (LayoutFrame 0 0 0 0 0 1 30 0) |
|
95 |
level: 0 |
|
96 |
menu: toolBarMenu |
|
97 |
textDefault: true |
|
98 |
) |
|
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
99 |
(ArbitraryComponentSpec |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
100 |
name: 'Browser' |
9942 | 101 |
layout: (LayoutFrame 0 0 30 0 0 1 0 1) |
102 |
level: -1 |
|
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
103 |
menu: middleButtonMenu |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
104 |
hasHorizontalScrollBar: true |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
105 |
hasVerticalScrollBar: true |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
106 |
miniScrollerHorizontal: true |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
107 |
miniScrollerVertical: false |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
108 |
hasBorder: false |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
109 |
component: tagView |
9892 | 110 |
) |
111 |
) |
|
112 |
||
113 |
) |
|
114 |
) |
|
115 |
! ! |
|
116 |
||
117 |
!TagsBrowser class methodsFor:'menu specs'! |
|
118 |
||
119 |
assemblerMenuSlice |
|
120 |
"This resource specification was automatically generated |
|
121 |
by the MenuEditor of ST/X." |
|
122 |
||
123 |
"Do not manually edit this!! If it is corrupted, |
|
124 |
the MenuEditor may not be able to read the specification." |
|
125 |
||
126 |
" |
|
9920 | 127 |
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#assemblerMenuSlice |
128 |
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser assemblerMenuSlice)) startUp |
|
9892 | 129 |
" |
130 |
||
131 |
<resource: #menu> |
|
132 |
||
133 |
^ |
|
9920 | 134 |
#(Menu |
135 |
( |
|
136 |
(MenuItem |
|
137 |
label: '-' |
|
138 |
isVisible: editedFileHasAssemblerSuffix |
|
9892 | 139 |
) |
9920 | 140 |
(MenuItem |
141 |
enabled: tagTypesPresentHolder |
|
142 |
label: 'Hide local labels' |
|
143 |
translateLabel: true |
|
144 |
isVisible: editedFileHasAssemblerSuffix |
|
145 |
hideMenuOnActivated: false |
|
146 |
indication: hideLocalLabels: |
|
9892 | 147 |
) |
9920 | 148 |
(MenuItem |
149 |
enabled: tagTypesPresentHolder |
|
150 |
label: 'Hide data labels' |
|
151 |
translateLabel: true |
|
152 |
isVisible: editedFileHasAssemblerSuffix |
|
153 |
hideMenuOnActivated: false |
|
154 |
indication: hideDataLabels: |
|
9892 | 155 |
) |
9920 | 156 |
(MenuItem |
157 |
enabled: tagTypesPresentHolder |
|
158 |
label: 'Hide text labels' |
|
159 |
translateLabel: true |
|
160 |
isVisible: editedFileHasAssemblerSuffix |
|
161 |
hideMenuOnActivated: false |
|
162 |
indication: hideTextLabels: |
|
9892 | 163 |
) |
164 |
) |
|
165 |
nil |
|
166 |
nil |
|
167 |
) |
|
168 |
! |
|
169 |
||
170 |
cMenuSlice |
|
171 |
"This resource specification was automatically generated |
|
172 |
by the MenuEditor of ST/X." |
|
173 |
||
174 |
"Do not manually edit this!! If it is corrupted, |
|
175 |
the MenuEditor may not be able to read the specification." |
|
176 |
||
177 |
" |
|
9920 | 178 |
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#cMenuSlice |
179 |
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser cMenuSlice)) startUp |
|
9892 | 180 |
" |
181 |
||
182 |
<resource: #menu> |
|
183 |
||
184 |
^ |
|
185 |
#(Menu |
|
186 |
( |
|
187 |
(MenuItem |
|
188 |
label: '-' |
|
189 |
isVisible: editedFileHasCSuffix |
|
190 |
) |
|
191 |
(MenuItem |
|
192 |
enabled: tagTypesPresentHolder |
|
193 |
label: 'Classes, Functions && Variables only' |
|
194 |
translateLabel: true |
|
195 |
isVisible: editedFileHasCSuffix |
|
196 |
indication: classesFunctionsAndVariablesOnly: |
|
197 |
) |
|
198 |
(MenuItem |
|
199 |
enabled: tagTypesPresentHolder |
|
200 |
label: 'Classes only' |
|
201 |
translateLabel: true |
|
202 |
isVisible: editedFileHasCSuffix |
|
203 |
indication: classesOnly: |
|
204 |
) |
|
205 |
(MenuItem |
|
206 |
enabled: tagTypesPresentHolder |
|
207 |
label: 'Functions only' |
|
208 |
translateLabel: true |
|
209 |
isVisible: editedFileHasCSuffix |
|
210 |
indication: functionsOnly: |
|
211 |
) |
|
212 |
(MenuItem |
|
213 |
enabled: tagTypesPresentHolder |
|
214 |
label: 'Variables only' |
|
215 |
translateLabel: true |
|
216 |
isVisible: editedFileHasCSuffix |
|
217 |
indication: variablesOnly: |
|
218 |
) |
|
219 |
(MenuItem |
|
220 |
enabled: tagTypesPresentHolder |
|
221 |
label: 'Types only' |
|
222 |
translateLabel: true |
|
223 |
isVisible: editedFileHasCSuffix |
|
224 |
indication: typesOnly: |
|
225 |
) |
|
226 |
(MenuItem |
|
227 |
enabled: tagTypesPresentHolder |
|
228 |
label: 'Structs only' |
|
229 |
translateLabel: true |
|
230 |
isVisible: editedFileHasCSuffix |
|
231 |
indication: structsOnly: |
|
232 |
) |
|
233 |
(MenuItem |
|
234 |
enabled: tagTypesPresentHolder |
|
235 |
label: 'Defines only' |
|
236 |
translateLabel: true |
|
237 |
isVisible: editedFileHasCSuffix |
|
238 |
indication: definesOnly: |
|
239 |
) |
|
240 |
(MenuItem |
|
241 |
label: '-' |
|
242 |
isVisible: editedFileHasCSuffix |
|
243 |
) |
|
244 |
(MenuItem |
|
245 |
enabled: tagTypesPresentHolder |
|
246 |
label: 'Hide classes' |
|
247 |
translateLabel: true |
|
248 |
isVisible: editedFileHasCSuffix |
|
9920 | 249 |
hideMenuOnActivated: false |
9892 | 250 |
indication: hideClasses: |
251 |
) |
|
252 |
(MenuItem |
|
253 |
enabled: tagTypesPresentHolder |
|
254 |
label: 'Hide functions' |
|
255 |
translateLabel: true |
|
256 |
isVisible: editedFileHasCSuffix |
|
9920 | 257 |
hideMenuOnActivated: false |
9892 | 258 |
indication: hideFunctions: |
259 |
) |
|
260 |
(MenuItem |
|
261 |
enabled: tagTypesPresentHolder |
|
262 |
label: 'Hide variables' |
|
263 |
translateLabel: true |
|
264 |
isVisible: editedFileHasCSuffix |
|
9920 | 265 |
hideMenuOnActivated: false |
9892 | 266 |
indication: hideVariables: |
267 |
) |
|
268 |
(MenuItem |
|
269 |
enabled: tagTypesPresentHolder |
|
270 |
label: 'Hide typedefs' |
|
271 |
translateLabel: true |
|
272 |
isVisible: editedFileHasCSuffix |
|
9920 | 273 |
hideMenuOnActivated: false |
9892 | 274 |
indication: hideTypedefs: |
275 |
) |
|
276 |
(MenuItem |
|
277 |
enabled: tagTypesPresentHolder |
|
278 |
label: 'Hide structures' |
|
279 |
translateLabel: true |
|
280 |
isVisible: editedFileHasCSuffix |
|
9920 | 281 |
hideMenuOnActivated: false |
9892 | 282 |
indication: hideStructures: |
283 |
) |
|
284 |
(MenuItem |
|
285 |
enabled: tagTypesPresentHolder |
|
286 |
label: 'Hide struct members' |
|
287 |
translateLabel: true |
|
288 |
isVisible: editedFileHasCSuffix |
|
9920 | 289 |
hideMenuOnActivated: false |
9892 | 290 |
indication: hideStructMembers: |
291 |
) |
|
292 |
(MenuItem |
|
293 |
enabled: tagTypesPresentHolder |
|
294 |
label: 'Hide defines' |
|
295 |
translateLabel: true |
|
296 |
isVisible: editedFileHasCSuffix |
|
9920 | 297 |
hideMenuOnActivated: false |
9892 | 298 |
indication: hideDefines: |
299 |
) |
|
300 |
(MenuItem |
|
301 |
label: '-' |
|
302 |
isVisible: editedFileHasCSuffix |
|
303 |
) |
|
304 |
(MenuItem |
|
305 |
enabled: tagTypesPresentHolder |
|
306 |
label: 'Hide static' |
|
307 |
translateLabel: true |
|
308 |
isVisible: editedFileHasCSuffix |
|
9920 | 309 |
hideMenuOnActivated: false |
9892 | 310 |
indication: hideStatic: |
311 |
) |
|
312 |
) |
|
313 |
nil |
|
314 |
nil |
|
315 |
) |
|
316 |
! |
|
317 |
||
318 |
javaMenuSlice |
|
319 |
"This resource specification was automatically generated |
|
320 |
by the MenuEditor of ST/X." |
|
321 |
||
322 |
"Do not manually edit this!! If it is corrupted, |
|
323 |
the MenuEditor may not be able to read the specification." |
|
324 |
||
325 |
" |
|
9920 | 326 |
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#javaMenuSlice |
327 |
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser javaMenuSlice)) startUp |
|
9892 | 328 |
" |
329 |
||
330 |
<resource: #menu> |
|
331 |
||
332 |
^ |
|
9920 | 333 |
#(Menu |
334 |
( |
|
335 |
(MenuItem |
|
336 |
label: '-' |
|
337 |
isVisible: editedFileHasJavaSuffix |
|
9892 | 338 |
) |
9920 | 339 |
(MenuItem |
340 |
enabled: tagTypesPresentHolder |
|
341 |
label: 'Classes only' |
|
342 |
translateLabel: true |
|
343 |
isVisible: editedFileHasJavaSuffix |
|
344 |
indication: javaClassesOnly: |
|
9892 | 345 |
) |
9920 | 346 |
(MenuItem |
347 |
enabled: tagTypesPresentHolder |
|
348 |
label: 'Methods only' |
|
349 |
translateLabel: true |
|
350 |
isVisible: editedFileHasJavaSuffix |
|
351 |
indication: javaMethodsOnly: |
|
9892 | 352 |
) |
9920 | 353 |
(MenuItem |
354 |
enabled: tagTypesPresentHolder |
|
355 |
label: 'Classes && Methods only' |
|
356 |
translateLabel: true |
|
357 |
isVisible: editedFileHasJavaSuffix |
|
358 |
indication: javaClassesAndMethodsOnly: |
|
359 |
) |
|
360 |
(MenuItem |
|
361 |
label: '-' |
|
362 |
isVisible: editedFileHasJavaSuffix |
|
9892 | 363 |
) |
9920 | 364 |
(MenuItem |
365 |
enabled: tagTypesPresentHolder |
|
366 |
label: 'Hide packages' |
|
367 |
translateLabel: true |
|
368 |
isVisible: editedFileHasJavaSuffix |
|
369 |
hideMenuOnActivated: false |
|
370 |
indication: hideJavaPackages: |
|
9892 | 371 |
) |
9920 | 372 |
(MenuItem |
373 |
enabled: tagTypesPresentHolder |
|
374 |
label: 'Hide classes' |
|
375 |
translateLabel: true |
|
376 |
isVisible: editedFileHasJavaSuffix |
|
377 |
hideMenuOnActivated: false |
|
378 |
indication: hideJavaClasses: |
|
9892 | 379 |
) |
9920 | 380 |
(MenuItem |
381 |
enabled: tagTypesPresentHolder |
|
382 |
label: 'Hide methods' |
|
383 |
translateLabel: true |
|
384 |
isVisible: editedFileHasJavaSuffix |
|
385 |
hideMenuOnActivated: false |
|
386 |
indication: hideJavaMethods: |
|
9892 | 387 |
) |
9920 | 388 |
(MenuItem |
389 |
enabled: tagTypesPresentHolder |
|
390 |
label: 'Hide fields' |
|
391 |
translateLabel: true |
|
392 |
isVisible: editedFileHasJavaSuffix |
|
393 |
hideMenuOnActivated: false |
|
394 |
indication: hideJavaFields: |
|
9892 | 395 |
) |
396 |
) |
|
397 |
nil |
|
398 |
nil |
|
399 |
) |
|
400 |
! |
|
401 |
||
402 |
javaScriptMenuSlice |
|
403 |
"This resource specification was automatically generated |
|
404 |
by the MenuEditor of ST/X." |
|
405 |
||
406 |
"Do not manually edit this!! If it is corrupted, |
|
407 |
the MenuEditor may not be able to read the specification." |
|
408 |
||
409 |
" |
|
9920 | 410 |
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#javaScriptMenuSlice |
411 |
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser javaScriptMenuSlice)) startUp |
|
9892 | 412 |
" |
413 |
||
414 |
<resource: #menu> |
|
415 |
||
416 |
^ |
|
9920 | 417 |
#(Menu |
418 |
( |
|
419 |
(MenuItem |
|
420 |
label: '-' |
|
421 |
isVisible: editedFileHasJavaScriptSuffix |
|
9892 | 422 |
) |
9920 | 423 |
(MenuItem |
424 |
enabled: tagTypesPresentHolder |
|
425 |
label: 'Functions only' |
|
426 |
translateLabel: true |
|
427 |
isVisible: editedFileHasJavaScriptSuffix |
|
428 |
hideMenuOnActivated: false |
|
429 |
indication: functionsOnly: |
|
9892 | 430 |
) |
9920 | 431 |
(MenuItem |
432 |
enabled: tagTypesPresentHolder |
|
433 |
label: 'Variables only' |
|
434 |
translateLabel: true |
|
435 |
isVisible: editedFileHasJavaScriptSuffix |
|
436 |
hideMenuOnActivated: false |
|
437 |
indication: variablesOnly: |
|
438 |
) |
|
9892 | 439 |
) |
440 |
nil |
|
441 |
nil |
|
442 |
) |
|
443 |
! |
|
444 |
||
445 |
lispMenuSlice |
|
446 |
"This resource specification was automatically generated |
|
447 |
by the MenuEditor of ST/X." |
|
448 |
||
449 |
"Do not manually edit this!! If it is corrupted, |
|
450 |
the MenuEditor may not be able to read the specification." |
|
451 |
||
452 |
" |
|
9920 | 453 |
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#lispMenuSlice |
454 |
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser lispMenuSlice)) startUp |
|
9892 | 455 |
" |
456 |
||
457 |
<resource: #menu> |
|
458 |
||
459 |
^ |
|
460 |
#(Menu |
|
461 |
( |
|
462 |
(MenuItem |
|
463 |
label: '-' |
|
464 |
isVisible: editedFileHasLispSuffix |
|
465 |
) |
|
466 |
(MenuItem |
|
467 |
enabled: tagTypesPresentHolder |
|
9920 | 468 |
label: 'Documentation only' |
469 |
translateLabel: true |
|
470 |
isVisible: editedFileHasLispSuffix |
|
471 |
indication: documentationOnly: |
|
472 |
) |
|
473 |
(MenuItem |
|
474 |
enabled: tagTypesPresentHolder |
|
9892 | 475 |
label: 'Classes only' |
476 |
translateLabel: true |
|
477 |
isVisible: editedFileHasLispSuffix |
|
478 |
indication: classesOnly: |
|
479 |
) |
|
480 |
(MenuItem |
|
481 |
enabled: tagTypesPresentHolder |
|
482 |
label: 'Methods only' |
|
483 |
translateLabel: true |
|
484 |
isVisible: editedFileHasLispSuffix |
|
485 |
indication: methodsOnly: |
|
486 |
) |
|
487 |
(MenuItem |
|
488 |
enabled: tagTypesPresentHolder |
|
489 |
label: 'Functions only' |
|
490 |
translateLabel: true |
|
491 |
isVisible: editedFileHasLispSuffix |
|
492 |
indication: functionsOnly: |
|
493 |
) |
|
494 |
(MenuItem |
|
495 |
enabled: tagTypesPresentHolder |
|
496 |
label: 'Variables only' |
|
497 |
translateLabel: true |
|
498 |
isVisible: editedFileHasLispSuffix |
|
499 |
indication: variablesOnly: |
|
500 |
) |
|
501 |
(MenuItem |
|
502 |
enabled: tagTypesPresentHolder |
|
503 |
label: 'Macros only' |
|
504 |
translateLabel: true |
|
505 |
isVisible: editedFileHasLispSuffix |
|
506 |
indication: macrosOnly: |
|
507 |
) |
|
508 |
(MenuItem |
|
509 |
label: '-' |
|
510 |
isVisible: editedFileHasLispSuffix |
|
511 |
) |
|
512 |
(MenuItem |
|
513 |
enabled: tagTypesPresentHolder |
|
9920 | 514 |
label: 'Hide documentation' |
515 |
translateLabel: true |
|
516 |
isVisible: editedFileHasLispSuffix |
|
517 |
hideMenuOnActivated: false |
|
518 |
indication: hideDocumentation: |
|
519 |
) |
|
520 |
(MenuItem |
|
521 |
enabled: tagTypesPresentHolder |
|
9892 | 522 |
label: 'Hide classes' |
523 |
translateLabel: true |
|
524 |
isVisible: editedFileHasLispSuffix |
|
9920 | 525 |
hideMenuOnActivated: false |
9892 | 526 |
indication: hideClasses: |
527 |
) |
|
528 |
(MenuItem |
|
529 |
enabled: tagTypesPresentHolder |
|
530 |
label: 'Hide methods' |
|
531 |
translateLabel: true |
|
532 |
isVisible: editedFileHasLispSuffix |
|
9920 | 533 |
hideMenuOnActivated: false |
9892 | 534 |
indication: hideLispMethods: |
535 |
) |
|
536 |
(MenuItem |
|
537 |
enabled: tagTypesPresentHolder |
|
538 |
label: 'Hide functions' |
|
539 |
translateLabel: true |
|
540 |
isVisible: editedFileHasLispSuffix |
|
9920 | 541 |
hideMenuOnActivated: false |
9892 | 542 |
indication: hideFunctions: |
543 |
) |
|
544 |
(MenuItem |
|
545 |
enabled: tagTypesPresentHolder |
|
546 |
label: 'Hide variables' |
|
547 |
translateLabel: true |
|
548 |
isVisible: editedFileHasLispSuffix |
|
9920 | 549 |
hideMenuOnActivated: false |
9892 | 550 |
indication: hideVariables: |
551 |
) |
|
552 |
(MenuItem |
|
553 |
enabled: tagTypesPresentHolder |
|
554 |
label: 'Hide macros' |
|
555 |
translateLabel: true |
|
556 |
isVisible: editedFileHasLispSuffix |
|
9920 | 557 |
hideMenuOnActivated: false |
9892 | 558 |
indication: hideLispMacros: |
559 |
) |
|
560 |
(MenuItem |
|
561 |
enabled: tagTypesPresentHolder |
|
562 |
label: 'Hide constants' |
|
563 |
translateLabel: true |
|
564 |
isVisible: editedFileHasLispSuffix |
|
9920 | 565 |
hideMenuOnActivated: false |
9892 | 566 |
indication: hideLispConstants: |
567 |
) |
|
568 |
(MenuItem |
|
569 |
enabled: tagTypesPresentHolder |
|
570 |
label: 'Hide evaluations' |
|
571 |
translateLabel: true |
|
572 |
isVisible: editedFileHasLispSuffix |
|
9920 | 573 |
hideMenuOnActivated: false |
9892 | 574 |
indication: hideLispEvaluations: |
575 |
) |
|
576 |
(MenuItem |
|
577 |
enabled: tagTypesPresentHolder |
|
578 |
label: 'Hide structs' |
|
579 |
translateLabel: true |
|
580 |
isVisible: editedFileHasLispSuffix |
|
9920 | 581 |
hideMenuOnActivated: false |
9892 | 582 |
indication: hideStructures: |
583 |
) |
|
584 |
) |
|
585 |
nil |
|
586 |
nil |
|
587 |
) |
|
588 |
! |
|
589 |
||
590 |
makefileMenuSlice |
|
591 |
"This resource specification was automatically generated |
|
592 |
by the MenuEditor of ST/X." |
|
593 |
||
594 |
"Do not manually edit this!! If it is corrupted, |
|
595 |
the MenuEditor may not be able to read the specification." |
|
596 |
||
597 |
" |
|
9920 | 598 |
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#makefileMenuSlice |
599 |
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser makefileMenuSlice)) startUp |
|
9892 | 600 |
" |
601 |
||
602 |
<resource: #menu> |
|
603 |
||
604 |
^ |
|
9920 | 605 |
#(Menu |
606 |
( |
|
607 |
(MenuItem |
|
608 |
label: '-' |
|
609 |
isVisible: editedFileIsMakefile |
|
9892 | 610 |
) |
9920 | 611 |
(MenuItem |
612 |
enabled: tagTypesPresentHolder |
|
613 |
label: 'Targets only' |
|
614 |
translateLabel: true |
|
615 |
isVisible: editedFileIsMakefile |
|
616 |
hideMenuOnActivated: false |
|
617 |
indication: targetsOnly: |
|
9892 | 618 |
) |
619 |
) |
|
620 |
nil |
|
621 |
nil |
|
622 |
) |
|
623 |
! |
|
624 |
||
625 |
middleButtonMenu |
|
626 |
"This resource specification was automatically generated |
|
627 |
by the MenuEditor of ST/X." |
|
628 |
||
629 |
"Do not manually edit this!! If it is corrupted, |
|
630 |
the MenuEditor may not be able to read the specification." |
|
631 |
||
632 |
" |
|
633 |
MenuEditor new openOnClass:CBrowser::TagsBrowser andSelector:#middleButtonMenu |
|
634 |
(Menu new fromLiteralArrayEncoding:(CBrowser::TagsBrowser middleButtonMenu)) startUp |
|
635 |
" |
|
636 |
||
637 |
<resource: #menu> |
|
638 |
||
639 |
^ |
|
640 |
#(Menu |
|
641 |
( |
|
642 |
(MenuItem |
|
643 |
enabled: tagTypesPresentHolder |
|
644 |
label: 'Group by Type' |
|
645 |
translateLabel: true |
|
646 |
indication: groupedByType: |
|
647 |
) |
|
648 |
(MenuItem |
|
649 |
label: '-' |
|
650 |
) |
|
651 |
(MenuItem |
|
652 |
label: 'Sort by Name' |
|
653 |
translateLabel: true |
|
654 |
indication: sortedByName: |
|
655 |
) |
|
656 |
(MenuItem |
|
657 |
label: 'Sort by Name ignoring case' |
|
658 |
translateLabel: true |
|
659 |
indication: sortedByNameIgnoringCase: |
|
660 |
) |
|
661 |
(MenuItem |
|
662 |
label: 'Sort by Name (ignore leading underscores)' |
|
663 |
translateLabel: true |
|
664 |
indication: sortedByNameIgnoringLeadingUnderscores: |
|
665 |
) |
|
666 |
(MenuItem |
|
667 |
label: 'Sort by Name (ignore leading underscores and case)' |
|
668 |
translateLabel: true |
|
669 |
indication: sortedByNameIgnoringLeadingUnderscoresAndCase: |
|
670 |
) |
|
671 |
(MenuItem |
|
672 |
label: 'Sort by LineNumber' |
|
673 |
translateLabel: true |
|
674 |
indication: sortedByLineNumber: |
|
675 |
) |
|
676 |
(MenuItem |
|
677 |
label: 'C Menu Slice' |
|
678 |
translateLabel: true |
|
679 |
submenuChannel: cMenuSlice |
|
680 |
isMenuSlice: true |
|
681 |
) |
|
682 |
(MenuItem |
|
683 |
label: 'Java Menu Slice' |
|
684 |
translateLabel: true |
|
685 |
submenuChannel: javaMenuSlice |
|
686 |
isMenuSlice: true |
|
687 |
) |
|
688 |
(MenuItem |
|
689 |
label: 'JavaScript Menu Slice' |
|
690 |
translateLabel: true |
|
691 |
submenuChannel: javaScriptMenuSlice |
|
692 |
isMenuSlice: true |
|
693 |
) |
|
694 |
(MenuItem |
|
695 |
label: 'TCL Menu Slice' |
|
696 |
translateLabel: true |
|
697 |
submenuChannel: tclMenuSlice |
|
698 |
isMenuSlice: true |
|
699 |
) |
|
700 |
(MenuItem |
|
701 |
label: 'Assembler Menu Slice' |
|
702 |
translateLabel: true |
|
703 |
submenuChannel: assemblerMenuSlice |
|
704 |
isMenuSlice: true |
|
705 |
) |
|
706 |
(MenuItem |
|
707 |
label: 'Lisp Menu Slice' |
|
708 |
translateLabel: true |
|
709 |
submenuChannel: lispMenuSlice |
|
710 |
isMenuSlice: true |
|
711 |
) |
|
712 |
(MenuItem |
|
713 |
label: 'Python Menu Slice' |
|
714 |
translateLabel: true |
|
715 |
submenuChannel: pythonMenuSlice |
|
716 |
isMenuSlice: true |
|
717 |
) |
|
718 |
(MenuItem |
|
719 |
label: 'OZ Menu Slice' |
|
720 |
translateLabel: true |
|
721 |
submenuChannel: ozMenuSlice |
|
722 |
isMenuSlice: true |
|
723 |
) |
|
724 |
(MenuItem |
|
725 |
label: 'Makefile Menu Slice' |
|
726 |
translateLabel: true |
|
727 |
submenuChannel: makefileMenuSlice |
|
728 |
isMenuSlice: true |
|
729 |
) |
|
730 |
(MenuItem |
|
731 |
label: '-' |
|
732 |
) |
|
733 |
(MenuItem |
|
734 |
label: 'Update' |
|
735 |
itemValue: updateTagList |
|
736 |
translateLabel: true |
|
737 |
) |
|
738 |
) |
|
739 |
nil |
|
740 |
nil |
|
741 |
) |
|
742 |
||
743 |
"Modified: / 05-05-2011 / 14:38:52 / cg" |
|
744 |
! |
|
745 |
||
746 |
ozMenuSlice |
|
747 |
"This resource specification was automatically generated |
|
748 |
by the MenuEditor of ST/X." |
|
749 |
||
750 |
"Do not manually edit this!! If it is corrupted, |
|
751 |
the MenuEditor may not be able to read the specification." |
|
752 |
||
753 |
" |
|
9920 | 754 |
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#ozMenuSlice |
755 |
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser ozMenuSlice)) startUp |
|
9892 | 756 |
" |
757 |
||
758 |
<resource: #menu> |
|
759 |
||
760 |
^ |
|
9920 | 761 |
#(Menu |
762 |
( |
|
763 |
(MenuItem |
|
764 |
label: '-' |
|
765 |
isVisible: editedFileHasOzSuffix |
|
9892 | 766 |
) |
9920 | 767 |
(MenuItem |
768 |
enabled: tagTypesPresentHolder |
|
769 |
label: 'Hide classes' |
|
770 |
translateLabel: true |
|
771 |
isVisible: editedFileHasOzSuffix |
|
772 |
hideMenuOnActivated: false |
|
773 |
indication: hideOzClasses: |
|
9892 | 774 |
) |
9920 | 775 |
(MenuItem |
776 |
enabled: tagTypesPresentHolder |
|
777 |
label: 'Hide methods' |
|
778 |
translateLabel: true |
|
779 |
isVisible: editedFileHasOzSuffix |
|
780 |
hideMenuOnActivated: false |
|
781 |
indication: hideOzMethods: |
|
9892 | 782 |
) |
9920 | 783 |
(MenuItem |
784 |
enabled: tagTypesPresentHolder |
|
785 |
label: 'Hide functions' |
|
786 |
translateLabel: true |
|
787 |
isVisible: editedFileHasOzSuffix |
|
788 |
hideMenuOnActivated: false |
|
789 |
indication: hideOzFunctions: |
|
9892 | 790 |
) |
791 |
) |
|
792 |
nil |
|
793 |
nil |
|
794 |
) |
|
795 |
! |
|
796 |
||
797 |
pythonMenuSlice |
|
798 |
"This resource specification was automatically generated |
|
799 |
by the MenuEditor of ST/X." |
|
800 |
||
801 |
"Do not manually edit this!! If it is corrupted, |
|
802 |
the MenuEditor may not be able to read the specification." |
|
803 |
||
804 |
" |
|
9920 | 805 |
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#pythonMenuSlice |
806 |
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser pythonMenuSlice)) startUp |
|
9892 | 807 |
" |
808 |
||
809 |
<resource: #menu> |
|
810 |
||
811 |
^ |
|
9920 | 812 |
#(Menu |
813 |
( |
|
814 |
(MenuItem |
|
815 |
label: '-' |
|
816 |
isVisible: editedFileHasPythonSuffix |
|
817 |
) |
|
818 |
(MenuItem |
|
819 |
enabled: tagTypesPresentHolder |
|
820 |
label: 'Classes only' |
|
821 |
translateLabel: true |
|
822 |
isVisible: editedFileHasPythonSuffix |
|
823 |
indication: pythonClassesOnly: |
|
9892 | 824 |
) |
9920 | 825 |
(MenuItem |
826 |
enabled: tagTypesPresentHolder |
|
827 |
label: 'Methods only' |
|
828 |
translateLabel: true |
|
829 |
isVisible: editedFileHasPythonSuffix |
|
830 |
indication: pythonMethodsOnly: |
|
9892 | 831 |
) |
9920 | 832 |
(MenuItem |
833 |
enabled: tagTypesPresentHolder |
|
834 |
label: 'Functions only' |
|
835 |
translateLabel: true |
|
836 |
isVisible: editedFileHasPythonSuffix |
|
837 |
indication: pythonFunctionsOnly: |
|
9892 | 838 |
) |
9920 | 839 |
(MenuItem |
840 |
label: '-' |
|
841 |
isVisible: editedFileHasPythonSuffix |
|
9892 | 842 |
) |
9920 | 843 |
(MenuItem |
844 |
enabled: tagTypesPresentHolder |
|
845 |
label: 'Hide classes' |
|
846 |
translateLabel: true |
|
847 |
isVisible: editedFileHasPythonSuffix |
|
848 |
hideMenuOnActivated: false |
|
849 |
indication: hidePythonClasses: |
|
9892 | 850 |
) |
9920 | 851 |
(MenuItem |
852 |
enabled: tagTypesPresentHolder |
|
853 |
label: 'Hide methods' |
|
854 |
translateLabel: true |
|
855 |
isVisible: editedFileHasPythonSuffix |
|
856 |
hideMenuOnActivated: false |
|
857 |
indication: hidePythonMethods: |
|
9892 | 858 |
) |
9920 | 859 |
(MenuItem |
860 |
enabled: tagTypesPresentHolder |
|
861 |
label: 'Hide functions' |
|
862 |
translateLabel: true |
|
863 |
isVisible: editedFileHasPythonSuffix |
|
864 |
hideMenuOnActivated: false |
|
865 |
indication: hidePythonFunctions: |
|
9892 | 866 |
) |
867 |
) |
|
868 |
nil |
|
869 |
nil |
|
870 |
) |
|
871 |
! |
|
872 |
||
873 |
tclMenuSlice |
|
874 |
"This resource specification was automatically generated |
|
875 |
by the MenuEditor of ST/X." |
|
876 |
||
877 |
"Do not manually edit this!! If it is corrupted, |
|
878 |
the MenuEditor may not be able to read the specification." |
|
879 |
||
880 |
" |
|
9920 | 881 |
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#tclMenuSlice |
882 |
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser tclMenuSlice)) startUp |
|
9892 | 883 |
" |
884 |
||
885 |
<resource: #menu> |
|
886 |
||
887 |
^ |
|
9920 | 888 |
#(Menu |
889 |
( |
|
890 |
(MenuItem |
|
891 |
label: '-' |
|
892 |
isVisible: editedFileHasTCLSuffix |
|
9892 | 893 |
) |
9920 | 894 |
(MenuItem |
895 |
enabled: tagTypesPresentHolder |
|
896 |
label: 'Hide variables' |
|
897 |
translateLabel: true |
|
898 |
isVisible: editedFileHasTCLSuffix |
|
899 |
hideMenuOnActivated: false |
|
900 |
indication: hideVariables: |
|
9892 | 901 |
) |
902 |
) |
|
903 |
nil |
|
904 |
nil |
|
905 |
) |
|
9942 | 906 |
! |
907 |
||
908 |
toolBarMenu |
|
909 |
"This resource specification was automatically generated |
|
910 |
by the MenuEditor of ST/X." |
|
911 |
||
912 |
"Do not manually edit this!! If it is corrupted, |
|
913 |
the MenuEditor may not be able to read the specification." |
|
914 |
||
915 |
" |
|
916 |
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#toolBarMenu |
|
917 |
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser toolBarMenu)) startUp |
|
918 |
" |
|
919 |
||
920 |
<resource: #menu> |
|
921 |
||
922 |
^ |
|
923 |
#(Menu |
|
924 |
( |
|
925 |
(MenuItem |
|
926 |
label: 'updateTagList' |
|
927 |
itemValue: updateTagList |
|
928 |
translateLabel: true |
|
929 |
isButton: true |
|
930 |
labelImage: (ResourceRetriever ToolbarIconLibrary reloadIcon) |
|
931 |
) |
|
932 |
) |
|
933 |
nil |
|
934 |
nil |
|
935 |
) |
|
9892 | 936 |
! ! |
937 |
||
938 |
!TagsBrowser methodsFor:'accessing'! |
|
939 |
||
9942 | 940 |
action:aOneArgBlock |
941 |
"set the action, which is called with the selected tag |
|
942 |
" |
|
943 |
action := aOneArgBlock. |
|
944 |
||
945 |
"Modified: / 23-06-2011 / 16:36:59 / cg" |
|
946 |
! |
|
947 |
||
9907 | 948 |
editedFile |
949 |
^ self editedFileHolder value |
|
950 |
||
951 |
"Created: / 06-05-2011 / 13:56:20 / cg" |
|
952 |
! |
|
953 |
||
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
954 |
editedFile:aFilename |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
955 |
self editedFileHolder value:aFilename |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
956 |
|
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
957 |
"Created: / 07-05-2011 / 14:48:58 / cg" |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
958 |
! |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
959 |
|
9907 | 960 |
editedFileHolder |
961 |
"gets the holder, which keeps the current edited file |
|
962 |
" |
|
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
963 |
editedFileHolder isNil ifTrue:[ |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
964 |
editedFileHolder := nil asValue. |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
965 |
editedFileHolder addDependent:self. |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
966 |
]. |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
967 |
^ editedFileHolder. |
9907 | 968 |
|
969 |
"Created: / 06-05-2011 / 13:52:39 / cg" |
|
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
970 |
"Modified: / 07-05-2011 / 10:15:30 / cg" |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
971 |
! |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
972 |
|
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
973 |
editedFileHolder:aHolder |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
974 |
"gets the holder, which keeps the current edited file |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
975 |
" |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
976 |
editedFileHolder notNil ifTrue:[ |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
977 |
editedFileHolder removeDependent:self. |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
978 |
]. |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
979 |
editedFileHolder := aHolder. |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
980 |
editedFileHolder notNil ifTrue:[ |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
981 |
editedFileHolder addDependent:self. |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
982 |
]. |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
983 |
|
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
984 |
"Created: / 07-05-2011 / 10:16:18 / cg" |
9907 | 985 |
! |
986 |
||
9892 | 987 |
filter:aString |
988 |
tagView filter:aString. |
|
9907 | 989 |
! |
990 |
||
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
991 |
tempDirectory |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
992 |
commonAspects notNil ifTrue:[ |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
993 |
^ commonAspects tempDirectory |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
994 |
]. |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
995 |
^ Filename tempDirectory |
9907 | 996 |
|
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
997 |
"Created: / 07-05-2011 / 15:42:44 / cg" |
9892 | 998 |
! ! |
999 |
||
1000 |
!TagsBrowser methodsFor:'accessing filters'! |
|
1001 |
||
1002 |
classesFunctionsAndVariablesOnly |
|
1003 |
^ tagList classesFunctionsAndVariablesOnly |
|
1004 |
! |
|
1005 |
||
1006 |
classesFunctionsAndVariablesOnly:aBool |
|
1007 |
aBool ifTrue:[ |
|
1008 |
tagList hideClasses:false. |
|
1009 |
tagList hideFunctions:false. |
|
1010 |
tagList hideVariables:false. |
|
1011 |
]. |
|
1012 |
tagList classesFunctionsAndVariablesOnly:aBool. |
|
1013 |
self updateTagList |
|
1014 |
||
1015 |
"Modified: / 05-05-2011 / 15:33:13 / cg" |
|
1016 |
! |
|
1017 |
||
1018 |
classesOnly |
|
1019 |
^ tagList classesOnly |
|
1020 |
! |
|
1021 |
||
1022 |
classesOnly:aBool |
|
1023 |
aBool ifTrue:[ |
|
1024 |
tagList hideClasses:false. |
|
1025 |
]. |
|
1026 |
tagList classesOnly:aBool. |
|
1027 |
self updateTagList |
|
1028 |
||
1029 |
"Modified: / 05-05-2011 / 15:33:07 / cg" |
|
1030 |
! |
|
1031 |
||
1032 |
definesOnly |
|
1033 |
^ tagList definesOnly |
|
1034 |
! |
|
1035 |
||
1036 |
definesOnly:aBool |
|
1037 |
aBool ifTrue:[ |
|
1038 |
tagList hideDefines:false. |
|
1039 |
]. |
|
1040 |
tagList definesOnly:aBool. |
|
1041 |
self updateTagList |
|
1042 |
! |
|
1043 |
||
9920 | 1044 |
documentationOnly |
1045 |
^ tagList documentationOnly |
|
1046 |
||
1047 |
"Created: / 08-05-2011 / 10:50:52 / cg" |
|
1048 |
! |
|
1049 |
||
1050 |
documentationOnly:aBool |
|
1051 |
aBool ifTrue:[ |
|
1052 |
tagList hideDocumentation:false. |
|
1053 |
]. |
|
1054 |
tagList documentationOnly:aBool. |
|
1055 |
self updateTagList |
|
1056 |
||
1057 |
"Created: / 08-05-2011 / 10:51:03 / cg" |
|
1058 |
! |
|
1059 |
||
9892 | 1060 |
functionsAndVariablesOnly |
1061 |
^ tagList functionsAndVariablesOnly |
|
1062 |
! |
|
1063 |
||
1064 |
functionsAndVariablesOnly:aBool |
|
1065 |
aBool ifTrue:[ |
|
1066 |
tagList hideFunctions:false. |
|
1067 |
tagList hideVariables:false. |
|
1068 |
]. |
|
1069 |
tagList functionsAndVariablesOnly:aBool. |
|
1070 |
self updateTagList |
|
1071 |
! |
|
1072 |
||
1073 |
functionsOnly |
|
1074 |
^ tagList functionsOnly |
|
1075 |
! |
|
1076 |
||
1077 |
functionsOnly:aBool |
|
1078 |
aBool ifTrue:[ |
|
1079 |
tagList hideFunctions:false. |
|
1080 |
]. |
|
1081 |
tagList functionsOnly:aBool. |
|
1082 |
self updateTagList |
|
1083 |
! |
|
1084 |
||
1085 |
hideClasses |
|
1086 |
^ tagList hideClasses |
|
1087 |
! |
|
1088 |
||
1089 |
hideClasses:aBool |
|
1090 |
tagList hideClasses:aBool. |
|
1091 |
self updateTagList |
|
1092 |
! |
|
1093 |
||
1094 |
hideDataLabels |
|
1095 |
^ tagList hideDataLabels |
|
1096 |
! |
|
1097 |
||
1098 |
hideDataLabels:aBool |
|
1099 |
tagList hideDataLabels:aBool. |
|
1100 |
self updateTagList |
|
1101 |
! |
|
1102 |
||
1103 |
hideDefines |
|
1104 |
^ tagList hideDefines |
|
1105 |
! |
|
1106 |
||
1107 |
hideDefines:aBool |
|
1108 |
tagList hideDefines:aBool. |
|
1109 |
self updateTagList |
|
1110 |
! |
|
1111 |
||
9920 | 1112 |
hideDocumentation |
1113 |
^ tagList hideDocumentation |
|
1114 |
||
1115 |
"Created: / 08-05-2011 / 10:56:45 / cg" |
|
1116 |
! |
|
1117 |
||
1118 |
hideDocumentation:aBool |
|
1119 |
tagList hideDocumentation:aBool. |
|
1120 |
self updateTagList |
|
1121 |
||
1122 |
"Created: / 08-05-2011 / 10:56:49 / cg" |
|
1123 |
! |
|
1124 |
||
9892 | 1125 |
hideFunctionProtoTypes |
1126 |
^ tagList hideFunctionProtoTypes |
|
1127 |
! |
|
1128 |
||
1129 |
hideFunctionProtoTypes:aBool |
|
1130 |
tagList hideFunctionProtoTypes:aBool. |
|
1131 |
self updateTagList |
|
1132 |
! |
|
1133 |
||
1134 |
hideFunctions |
|
1135 |
^ tagList hideFunctions |
|
1136 |
! |
|
1137 |
||
1138 |
hideFunctions:aBool |
|
1139 |
tagList hideFunctions:aBool. |
|
1140 |
self updateTagList |
|
1141 |
! |
|
1142 |
||
1143 |
hideJavaClasses |
|
1144 |
^ tagList hideJavaClasses |
|
1145 |
! |
|
1146 |
||
1147 |
hideJavaClasses:aBool |
|
1148 |
tagList hideJavaClasses:aBool. |
|
1149 |
self updateTagList |
|
1150 |
! |
|
1151 |
||
1152 |
hideJavaFields |
|
1153 |
^ tagList hideJavaFields |
|
1154 |
! |
|
1155 |
||
1156 |
hideJavaFields:aBool |
|
1157 |
tagList hideJavaFields:aBool. |
|
1158 |
self updateTagList |
|
1159 |
! |
|
1160 |
||
1161 |
hideJavaInterfaces |
|
1162 |
^ tagList hideJavaInterfaces |
|
1163 |
! |
|
1164 |
||
1165 |
hideJavaInterfaces:aBool |
|
1166 |
tagList hideJavaInterfaces:aBool. |
|
1167 |
self updateTagList |
|
1168 |
! |
|
1169 |
||
1170 |
hideJavaMethods |
|
1171 |
^ tagList hideJavaMethods |
|
1172 |
! |
|
1173 |
||
1174 |
hideJavaMethods:aBool |
|
1175 |
tagList hideJavaMethods:aBool. |
|
1176 |
self updateTagList |
|
1177 |
! |
|
1178 |
||
1179 |
hideJavaPackages |
|
1180 |
^ tagList hideJavaPackages |
|
1181 |
! |
|
1182 |
||
1183 |
hideJavaPackages:aBool |
|
1184 |
tagList hideJavaPackages:aBool. |
|
1185 |
self updateTagList |
|
1186 |
! |
|
1187 |
||
1188 |
hideLispConstants |
|
1189 |
^ tagList hideLispConstants |
|
1190 |
! |
|
1191 |
||
1192 |
hideLispConstants:aBool |
|
1193 |
tagList hideLispConstants:aBool. |
|
1194 |
self updateTagList |
|
1195 |
! |
|
1196 |
||
1197 |
hideLispEvaluations |
|
1198 |
^ tagList hideLispEvaluations |
|
1199 |
! |
|
1200 |
||
1201 |
hideLispEvaluations:aBool |
|
1202 |
tagList hideLispEvaluations:aBool. |
|
1203 |
self updateTagList |
|
1204 |
! |
|
1205 |
||
1206 |
hideLispMacros |
|
1207 |
^ tagList hideLispMacros |
|
1208 |
! |
|
1209 |
||
1210 |
hideLispMacros:aBool |
|
1211 |
tagList hideLispMacros:aBool. |
|
1212 |
self updateTagList |
|
1213 |
! |
|
1214 |
||
1215 |
hideLispMethods |
|
1216 |
^ tagList hideLispMethods |
|
1217 |
! |
|
1218 |
||
1219 |
hideLispMethods:aBool |
|
1220 |
tagList hideLispMethods:aBool. |
|
1221 |
self updateTagList |
|
1222 |
! |
|
1223 |
||
1224 |
hideLocalLabels |
|
1225 |
^ tagList hideLocalLabels |
|
1226 |
! |
|
1227 |
||
1228 |
hideLocalLabels:aBool |
|
1229 |
tagList hideLocalLabels:aBool. |
|
1230 |
self updateTagList |
|
1231 |
! |
|
1232 |
||
1233 |
hideOzClasses |
|
1234 |
^ tagList hideOzClasses |
|
1235 |
! |
|
1236 |
||
1237 |
hideOzClasses:aBool |
|
1238 |
tagList hideOzClasses:aBool. |
|
1239 |
self updateTagList |
|
1240 |
! |
|
1241 |
||
1242 |
hideOzFunctions |
|
1243 |
^ tagList hideOzFunctions |
|
1244 |
! |
|
1245 |
||
1246 |
hideOzFunctions:aBool |
|
1247 |
tagList hideOzFunctions:aBool. |
|
1248 |
self updateTagList |
|
1249 |
! |
|
1250 |
||
1251 |
hideOzMethods |
|
1252 |
^ tagList hideOzMethods |
|
1253 |
! |
|
1254 |
||
1255 |
hideOzMethods:aBool |
|
1256 |
tagList hideOzMethods:aBool. |
|
1257 |
self updateTagList |
|
1258 |
! |
|
1259 |
||
1260 |
hidePythonClasses |
|
1261 |
^ tagList hidePythonClasses |
|
1262 |
! |
|
1263 |
||
1264 |
hidePythonClasses:aBool |
|
1265 |
tagList hidePythonClasses:aBool. |
|
1266 |
self updateTagList |
|
1267 |
! |
|
1268 |
||
1269 |
hidePythonFunctions |
|
1270 |
^ tagList hidePythonFunctions |
|
1271 |
! |
|
1272 |
||
1273 |
hidePythonFunctions:aBool |
|
1274 |
tagList hidePythonFunctions:aBool. |
|
1275 |
self updateTagList |
|
1276 |
! |
|
1277 |
||
1278 |
hidePythonMethods |
|
1279 |
^ tagList hidePythonMethods |
|
1280 |
! |
|
1281 |
||
1282 |
hidePythonMethods:aBool |
|
1283 |
tagList hidePythonMethods:aBool. |
|
1284 |
self updateTagList |
|
1285 |
! |
|
1286 |
||
1287 |
hideStatic |
|
1288 |
^ tagList hideStatic |
|
1289 |
! |
|
1290 |
||
1291 |
hideStatic:aBool |
|
1292 |
tagList hideStatic:aBool. |
|
1293 |
self updateTagList |
|
1294 |
! |
|
1295 |
||
1296 |
hideStructMembers |
|
1297 |
^ tagList hideStructMembers |
|
1298 |
! |
|
1299 |
||
1300 |
hideStructMembers:aBool |
|
1301 |
tagList hideStructMembers:aBool. |
|
1302 |
self updateTagList |
|
1303 |
! |
|
1304 |
||
1305 |
hideStructures |
|
1306 |
^ tagList hideStructures |
|
1307 |
! |
|
1308 |
||
1309 |
hideStructures:aBool |
|
1310 |
tagList hideStructures:aBool. |
|
1311 |
self updateTagList |
|
1312 |
! |
|
1313 |
||
1314 |
hideTextLabels |
|
1315 |
^ tagList hideTextLabels |
|
1316 |
! |
|
1317 |
||
1318 |
hideTextLabels:aBool |
|
1319 |
tagList hideTextLabels:aBool. |
|
1320 |
self updateTagList |
|
1321 |
! |
|
1322 |
||
1323 |
hideTypedefs |
|
1324 |
^ tagList hideTypedefs |
|
1325 |
! |
|
1326 |
||
1327 |
hideTypedefs:aBool |
|
1328 |
tagList hideTypedefs:aBool. |
|
1329 |
self updateTagList |
|
1330 |
! |
|
1331 |
||
1332 |
hideVariables |
|
1333 |
^ tagList hideVariables |
|
1334 |
! |
|
1335 |
||
1336 |
hideVariables:aBool |
|
1337 |
tagList hideVariables:aBool. |
|
1338 |
self updateTagList |
|
1339 |
! |
|
1340 |
||
1341 |
javaClassesAndMethodsOnly |
|
1342 |
^ tagList javaClassesAndMethodsOnly |
|
1343 |
! |
|
1344 |
||
1345 |
javaClassesAndMethodsOnly:aBool |
|
1346 |
aBool ifTrue:[ |
|
1347 |
tagList hideJavaClasses:false. |
|
1348 |
tagList hideJavaMethods:false. |
|
1349 |
]. |
|
1350 |
tagList javaClassesAndMethodsOnly:aBool. |
|
1351 |
self updateTagList |
|
1352 |
! |
|
1353 |
||
1354 |
javaClassesOnly |
|
1355 |
^ tagList javaClassesOnly |
|
1356 |
! |
|
1357 |
||
1358 |
javaClassesOnly:aBool |
|
1359 |
aBool ifTrue:[ |
|
1360 |
tagList hideJavaClasses:false. |
|
1361 |
]. |
|
1362 |
tagList javaClassesOnly:aBool. |
|
1363 |
self updateTagList |
|
1364 |
! |
|
1365 |
||
1366 |
javaMethodsOnly |
|
1367 |
^ tagList javaMethodsOnly |
|
1368 |
! |
|
1369 |
||
1370 |
javaMethodsOnly:aBool |
|
1371 |
aBool ifTrue:[ |
|
1372 |
tagList hideJavaMethods:false. |
|
1373 |
]. |
|
1374 |
tagList javaMethodsOnly:aBool. |
|
1375 |
self updateTagList |
|
1376 |
! |
|
1377 |
||
1378 |
macrosOnly |
|
1379 |
^ tagList macrosOnly |
|
1380 |
||
1381 |
"Created: / 07-06-2010 / 12:08:42 / cg" |
|
1382 |
! |
|
1383 |
||
1384 |
macrosOnly:aBool |
|
1385 |
aBool ifTrue:[ |
|
1386 |
tagList hideLispMacros:false. |
|
1387 |
]. |
|
1388 |
tagList macrosOnly:aBool. |
|
1389 |
self updateTagList |
|
1390 |
||
1391 |
"Created: / 07-06-2010 / 12:09:08 / cg" |
|
1392 |
! |
|
1393 |
||
1394 |
methodsOnly |
|
1395 |
^ tagList methodsOnly |
|
1396 |
||
1397 |
"Created: / 07-06-2010 / 12:11:55 / cg" |
|
1398 |
! |
|
1399 |
||
1400 |
methodsOnly:aBool |
|
1401 |
aBool ifTrue:[ |
|
1402 |
tagList hideLispMethods:false. |
|
1403 |
]. |
|
1404 |
tagList methodsOnly:aBool. |
|
1405 |
self updateTagList |
|
1406 |
||
1407 |
"Created: / 07-06-2010 / 12:12:03 / cg" |
|
1408 |
! |
|
1409 |
||
1410 |
pythonClassesOnly |
|
1411 |
^ tagList pythonClassesOnly |
|
1412 |
! |
|
1413 |
||
1414 |
pythonClassesOnly:aBool |
|
1415 |
aBool ifTrue:[ |
|
1416 |
tagList hidePythonClasses:false. |
|
1417 |
]. |
|
1418 |
tagList pythonClassesOnly:aBool. |
|
1419 |
self updateTagList |
|
1420 |
! |
|
1421 |
||
1422 |
pythonFunctionsOnly |
|
1423 |
^ tagList pythonFunctionsOnly |
|
1424 |
! |
|
1425 |
||
1426 |
pythonFunctionsOnly:aBool |
|
1427 |
aBool ifTrue:[ |
|
1428 |
tagList hidePythonFunctions:false. |
|
1429 |
]. |
|
1430 |
tagList pythonFunctionsOnly:aBool. |
|
1431 |
self updateTagList |
|
1432 |
! |
|
1433 |
||
1434 |
pythonMethodsOnly |
|
1435 |
^ tagList pythonMethodsOnly |
|
1436 |
! |
|
1437 |
||
1438 |
pythonMethodsOnly:aBool |
|
1439 |
aBool ifTrue:[ |
|
1440 |
tagList hidePythonMethods:false. |
|
1441 |
]. |
|
1442 |
tagList pythonMethodsOnly:aBool. |
|
1443 |
self updateTagList |
|
1444 |
! |
|
1445 |
||
1446 |
structsOnly |
|
1447 |
^ tagList structsOnly |
|
1448 |
||
1449 |
"Created: / 25-06-2010 / 10:54:46 / cg" |
|
1450 |
! |
|
1451 |
||
1452 |
structsOnly:aBool |
|
1453 |
tagList structsOnly:aBool. |
|
1454 |
self updateTagList |
|
1455 |
||
1456 |
"Created: / 25-06-2010 / 10:54:52 / cg" |
|
1457 |
! |
|
1458 |
||
1459 |
tagTypesPresent |
|
1460 |
^ tagList tagTypesPresent |
|
1461 |
! |
|
1462 |
||
1463 |
tagTypesPresentHolder |
|
1464 |
^ [ self tagTypesPresent ] |
|
1465 |
! |
|
1466 |
||
1467 |
targetsOnly |
|
1468 |
^ tagList targetsOnly |
|
1469 |
! |
|
1470 |
||
1471 |
targetsOnly:aBool |
|
1472 |
tagList targetsOnly:aBool. |
|
1473 |
self updateTagList |
|
1474 |
! |
|
1475 |
||
1476 |
typesOnly |
|
1477 |
^ tagList typesOnly |
|
1478 |
! |
|
1479 |
||
1480 |
typesOnly:aBool |
|
1481 |
aBool ifTrue:[ |
|
1482 |
tagList hideTypedefs:false. |
|
1483 |
]. |
|
1484 |
tagList typesOnly:aBool. |
|
1485 |
self updateTagList |
|
1486 |
! |
|
1487 |
||
1488 |
variablesOnly |
|
1489 |
^ tagList variablesOnly |
|
1490 |
! |
|
1491 |
||
1492 |
variablesOnly:aBool |
|
1493 |
aBool ifTrue:[ |
|
1494 |
tagList hideVariables:false. |
|
1495 |
]. |
|
1496 |
tagList variablesOnly:aBool. |
|
1497 |
self updateTagList |
|
1498 |
||
1499 |
"Modified: / 05-05-2011 / 15:33:18 / cg" |
|
1500 |
! ! |
|
1501 |
||
1502 |
!TagsBrowser methodsFor:'accessing presentation aspects'! |
|
1503 |
||
1504 |
groupedByType |
|
1505 |
^ tagList groupedByType |
|
1506 |
||
1507 |
"Created: / 05-05-2011 / 14:51:29 / cg" |
|
1508 |
! |
|
1509 |
||
1510 |
groupedByType:aBool |
|
1511 |
tagList groupedByType:aBool |
|
1512 |
||
1513 |
"Created: / 05-05-2011 / 14:51:33 / cg" |
|
1514 |
! |
|
1515 |
||
1516 |
sorted |
|
1517 |
^ tagList sorted |
|
1518 |
! |
|
1519 |
||
1520 |
sorted:aBool |
|
1521 |
tagList sorted:aBool |
|
1522 |
! |
|
1523 |
||
1524 |
sortedByLineNumber |
|
1525 |
^ tagList sortedByLineNumber |
|
1526 |
! |
|
1527 |
||
1528 |
sortedByLineNumber:aBool |
|
1529 |
tagList sortedByLineNumber:aBool |
|
1530 |
! |
|
1531 |
||
1532 |
sortedByName |
|
1533 |
^ tagList sortedByName |
|
1534 |
! |
|
1535 |
||
1536 |
sortedByName:aBool |
|
1537 |
tagList sortedByName:aBool |
|
1538 |
! |
|
1539 |
||
1540 |
sortedByNameIgnoringCase |
|
1541 |
^ tagList sortedByNameIgnoringCase |
|
1542 |
! |
|
1543 |
||
1544 |
sortedByNameIgnoringCase:aBool |
|
1545 |
tagList sortedByNameIgnoringCase:aBool |
|
1546 |
! |
|
1547 |
||
1548 |
sortedByNameIgnoringLeadingUnderscores |
|
1549 |
^ tagList sortedByNameIgnoringLeadingUnderscores |
|
1550 |
! |
|
1551 |
||
1552 |
sortedByNameIgnoringLeadingUnderscores:aBool |
|
1553 |
tagList sortedByNameIgnoringLeadingUnderscores:aBool |
|
1554 |
! |
|
1555 |
||
1556 |
sortedByNameIgnoringLeadingUnderscoresAndCase |
|
1557 |
^ tagList sortedByNameIgnoringLeadingUnderscoresAndCase |
|
1558 |
! |
|
1559 |
||
1560 |
sortedByNameIgnoringLeadingUnderscoresAndCase:aBool |
|
1561 |
tagList sortedByNameIgnoringLeadingUnderscoresAndCase:aBool |
|
1562 |
! |
|
1563 |
||
1564 |
sortedByType |
|
1565 |
^ tagList sortedByType |
|
1566 |
! |
|
1567 |
||
1568 |
sortedByType:aBool |
|
1569 |
tagList sortedByType:aBool |
|
1570 |
! ! |
|
1571 |
||
1572 |
!TagsBrowser methodsFor:'aspects'! |
|
1573 |
||
1574 |
editedFileHasAssemblerSuffix |
|
1575 |
^builder booleanValueAspectFor: #editedFileHasAssemblerSuffix |
|
1576 |
||
1577 |
||
1578 |
! |
|
1579 |
||
1580 |
editedFileHasCSuffix |
|
1581 |
^builder booleanValueAspectFor: #editedFileHasCSuffix |
|
1582 |
||
1583 |
||
1584 |
! |
|
1585 |
||
1586 |
editedFileHasEiffelSuffix |
|
1587 |
^builder booleanValueAspectFor: #editedFileHasEiffelSuffix |
|
1588 |
||
1589 |
||
1590 |
! |
|
1591 |
||
1592 |
editedFileHasFortranSuffix |
|
1593 |
^builder booleanValueAspectFor: #editedFileHasFortranSuffix |
|
1594 |
||
1595 |
||
1596 |
! |
|
1597 |
||
1598 |
editedFileHasJavaScriptSuffix |
|
1599 |
^builder booleanValueAspectFor: #editedFileHasJavaScriptSuffix |
|
1600 |
||
1601 |
"Created: / 28-06-2010 / 13:09:15 / cg" |
|
1602 |
! |
|
1603 |
||
1604 |
editedFileHasJavaSuffix |
|
1605 |
^builder booleanValueAspectFor: #editedFileHasJavaSuffix |
|
1606 |
||
1607 |
||
1608 |
! |
|
1609 |
||
1610 |
editedFileHasLispSuffix |
|
1611 |
^builder booleanValueAspectFor: #editedFileHasLispSuffix |
|
1612 |
||
1613 |
||
1614 |
! |
|
1615 |
||
1616 |
editedFileHasOzSuffix |
|
1617 |
^builder booleanValueAspectFor: #editedFileHasOzSuffix |
|
1618 |
! |
|
1619 |
||
1620 |
editedFileHasPythonSuffix |
|
1621 |
^builder booleanValueAspectFor: #editedFileHasPythonSuffix |
|
1622 |
||
1623 |
||
1624 |
! |
|
1625 |
||
1626 |
editedFileHasRubySuffix |
|
1627 |
^builder booleanValueAspectFor: #editedFileHasRubySuffix |
|
1628 |
! |
|
1629 |
||
1630 |
editedFileHasSmalltalkSuffix |
|
1631 |
^builder booleanValueAspectFor: #editedFileHasSmalltalkSuffix |
|
1632 |
||
1633 |
||
1634 |
! |
|
1635 |
||
1636 |
editedFileHasTCLSuffix |
|
1637 |
^builder booleanValueAspectFor: #editedFileHasTCLSuffix |
|
1638 |
||
1639 |
||
1640 |
! |
|
1641 |
||
1642 |
editedFileIsMakefile |
|
1643 |
^builder booleanValueAspectFor: #editedFileIsMakefile |
|
1644 |
! |
|
1645 |
||
1646 |
remoteCtagsModel |
|
1647 |
||
1648 |
|holder| |
|
1649 |
||
1650 |
(holder := builder bindingAt:#remoteCtagsModel) isNil ifTrue:[ |
|
1651 |
holder := false asValue. |
|
1652 |
builder aspectAt:#remoteCtagsModel put:holder. |
|
1653 |
]. |
|
1654 |
^ holder. |
|
1655 |
! |
|
1656 |
||
1657 |
tagList |
|
1658 |
"returns the tagList |
|
1659 |
" |
|
1660 |
^ tagList |
|
1661 |
! |
|
1662 |
||
1663 |
tagView |
|
1664 |
"returns the widget which shows the tags |
|
1665 |
" |
|
1666 |
^ tagView |
|
1667 |
! ! |
|
1668 |
||
1669 |
!TagsBrowser methodsFor:'change & update'! |
|
1670 |
||
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1671 |
delayedEditedFileChanged |
9892 | 1672 |
"called when the current editing file has changed. |
1673 |
Update the valueHolders which keep track of the edited files type (i.e. language) |
|
1674 |
" |
|
1675 |
||
1676 |
self updateFileTypeHolders. |
|
1677 |
self updateTagList. |
|
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1678 |
|
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1679 |
"Created: / 07-05-2011 / 15:36:52 / cg" |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1680 |
! |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1681 |
|
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1682 |
editedFileChanged |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1683 |
self enqueueDelayedAction:[self delayedEditedFileChanged]. |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1684 |
|
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1685 |
"Modified: / 07-05-2011 / 15:37:00 / cg" |
9892 | 1686 |
! |
1687 |
||
1688 |
update:something with:aparameter from:changedObject |
|
1689 |
changedObject == self editedFileHolder ifTrue:[ |
|
1690 |
tagList removeAll. |
|
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1691 |
self editedFileChanged. |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1692 |
^ self |
9892 | 1693 |
]. |
1694 |
super update:something with:aparameter from:changedObject |
|
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1695 |
|
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1696 |
"Modified: / 07-05-2011 / 15:36:43 / cg" |
9892 | 1697 |
! |
1698 |
||
1699 |
updateFileTypeHolders |
|
1700 |
"called when the current editing file has changed. |
|
1701 |
Update the valueHolders which keep track of the edited files type (i.e. language) |
|
1702 |
" |
|
1703 |
||
1704 |
|edFile suffix mime| |
|
1705 |
||
1706 |
(edFile := self editedFile) notNil ifTrue:[ |
|
1707 |
suffix := edFile suffix. |
|
1708 |
]. |
|
1709 |
||
1710 |
mime := TagList tagMimeTypeForFile:edFile. |
|
1711 |
||
1712 |
"/ valueHolder mime(s) |
|
1713 |
#( |
|
1714 |
(editedFileHasJavaSuffix 'text/java' ) |
|
1715 |
(editedFileHasJavaScriptSuffix ('text/javaScript' 'text/javascript' 'application/x-javascript') ) |
|
1716 |
(editedFileHasCSuffix 'text/c') |
|
1717 |
(editedFileHasEiffelSuffix 'text/eiffel') |
|
1718 |
(editedFileHasFortranSuffix 'text/fortran') |
|
1719 |
(editedFileHasPythonSuffix 'text/python') |
|
1720 |
(editedFileHasOzSuffix 'text/oz') |
|
1721 |
(editedFileHasLispSuffix ('text/lisp' 'text/lisp-arc' 'text/scheme') ) |
|
1722 |
(editedFileHasSmalltalkSuffix 'text/smalltalk') |
|
1723 |
(editedFileHasTCLSuffix 'text/tcl') |
|
1724 |
(editedFileHasAssemblerSuffix 'text/asm') |
|
1725 |
(editedFileIsMakefile 'text/make') |
|
1726 |
(editedFileHasRubySuffix 'text/ruby') |
|
1727 |
) pairsDo:[:holderName :mimeTypeOrTypes | |
|
1728 |
|holder| |
|
1729 |
||
1730 |
holder := self perform:holderName. |
|
1731 |
mimeTypeOrTypes isString ifTrue:[ |
|
1732 |
holder value:(mime = mimeTypeOrTypes) |
|
1733 |
] ifFalse:[ |
|
1734 |
holder value:(mimeTypeOrTypes includes:mime) |
|
1735 |
]. |
|
1736 |
]. |
|
1737 |
||
1738 |
"Modified: / 28-06-2010 / 17:11:05 / cg" |
|
9943 | 1739 |
! |
1740 |
||
1741 |
updateForLine:lineNr |
|
1742 |
"/ highlight the tag for a particular line in the edittext |
|
1743 |
"/ called via a hook via the masterapp from the editView... |
|
1744 |
||
1745 |
|bestTag| |
|
1746 |
||
1747 |
bestTag := tagList bestTagForLine:lineNr. |
|
1748 |
bestTag notNil ifTrue:[ |
|
1749 |
tagView setSelection:(tagList identityIndexOf:bestTag). |
|
1750 |
] ifFalse:[ |
|
1751 |
"/ remember line in case the tag-list is being generated |
|
1752 |
tagView tagLineNr:lineNr |
|
1753 |
]. |
|
1754 |
||
1755 |
"Modified: / 23-06-2011 / 17:28:26 / cg" |
|
9892 | 1756 |
! ! |
1757 |
||
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1758 |
!TagsBrowser methodsFor:'hooks for ccbrowser'! |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1759 |
|
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1760 |
buildTarget |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1761 |
commonAspects notNil ifTrue:[ |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1762 |
^ commonAspects buildTarget |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1763 |
]. |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1764 |
^ nil |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1765 |
|
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1766 |
"Created: / 07-05-2011 / 15:38:20 / cg" |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1767 |
! ! |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1768 |
|
9892 | 1769 |
!TagsBrowser methodsFor:'menu actions'! |
1770 |
||
1771 |
middleButtonMenu |
|
1772 |
^ [ |
|
1773 |
|menu suffix file item| |
|
1774 |
||
1775 |
menus isNil ifTrue:[ |
|
1776 |
menus := IdentityDictionary new. |
|
1777 |
]. |
|
1778 |
||
1779 |
menu := nil. |
|
1780 |
||
1781 |
(file := self editedFile) notNil ifTrue:[ |
|
1782 |
(tagList supportsFile:file) ifTrue:[ |
|
1783 |
menu := menus at:#exists ifAbsentPut:[ |
|
1784 |
menu := self class middleButtonMenu decodeAsLiteralArray. |
|
1785 |
menu receiver:self. |
|
1786 |
menu findGuiResourcesIn:self. |
|
1787 |
menu |
|
1788 |
]. |
|
1789 |
menu := MenuPanel menu:menu receiver:self. |
|
1790 |
] ifFalse:[ |
|
1791 |
suffix := file suffix. |
|
1792 |
||
1793 |
suffix size ~~ 0 ifTrue:[ |
|
1794 |
menu := menus at:#new ifAbsentPut:[ |
|
1795 |
menu := Menu new. |
|
1796 |
item := MenuItem label:('assign ', (Text string:suffix emphasis:#underline), ' to:'). |
|
1797 |
item enabled:false. |
|
1798 |
menu addItem:item. |
|
1799 |
menu addItem:(MenuItem label:'-'). |
|
1800 |
||
1801 |
tagList class tagsSuffixes keysAndValuesDo:[:aKey :aValue| |
|
1802 |
item := MenuItem label:(' - ', aKey ) |
|
1803 |
value:[ |list| |
|
1804 |
list := aValue asOrderedCollection. |
|
1805 |
list add:(suffix asLowercase). |
|
1806 |
tagList class tagsSuffixes at:aKey put:list. |
|
1807 |
self editedFileChanged. |
|
1808 |
]. |
|
1809 |
menu addItem:item. |
|
1810 |
]. |
|
1811 |
menu |
|
1812 |
]. |
|
1813 |
||
1814 |
] |
|
1815 |
]. |
|
1816 |
]. |
|
1817 |
menu |
|
1818 |
] |
|
1819 |
! |
|
1820 |
||
1821 |
updateTagList |
|
1822 |
"reload tags |
|
1823 |
" |
|
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1824 |
|
9892 | 1825 |
|file target| |
1826 |
||
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1827 |
(true "(self tagsVisibilityHolder value == true)" |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1828 |
and:[(file := self editedFile) notNil |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1829 |
and:[tagList supportsFile:file]] |
9892 | 1830 |
) ifTrue:[ |
1831 |
(target := self buildTarget) notNil ifTrue:[ |
|
1832 |
(target isRemote and:[self tagsRemoteHolder value]) ifFalse:[ |
|
1833 |
target := nil |
|
1834 |
] |
|
1835 |
]. |
|
1836 |
tagView generateTagsFor:file onTarget:target |
|
1837 |
] ifFalse:[ |
|
1838 |
tagView stopGeneratingTags |
|
1839 |
]. |
|
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1840 |
|
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1841 |
"Modified: / 07-05-2011 / 11:50:50 / cg" |
9892 | 1842 |
! ! |
1843 |
||
1844 |
!TagsBrowser methodsFor:'startup & release'! |
|
1845 |
||
1846 |
cloneWith:anApplication |
|
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1847 |
"/ |browser| |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1848 |
"/ |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1849 |
"/ (browser := anApplication tagsBrowser) notNil ifTrue:[ |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1850 |
"/ self tagsVisibilityHolder value:(browser tagsVisibilityHolder value) |
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1851 |
"/ ] |
9892 | 1852 |
|
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1853 |
"Modified: / 07-05-2011 / 11:54:48 / cg" |
9892 | 1854 |
! |
1855 |
||
1856 |
initialize |
|
1857 |
super initialize. |
|
1858 |
||
1859 |
tagList := TagList new. |
|
1860 |
tagView := TagView new. |
|
1861 |
||
1862 |
tagView application:self. |
|
1863 |
tagView list:tagList. |
|
1864 |
||
1865 |
tagView action:[:i| |tag| |
|
1866 |
action notNil ifTrue:[ |
|
1867 |
tag := tagList at:i ifAbsent:nil. |
|
1868 |
tag notNil ifTrue:[ action value:tag ]. |
|
1869 |
] |
|
1870 |
]. |
|
1871 |
! ! |
|
1872 |
||
1873 |
!TagsBrowser::TagView methodsFor:'accessing'! |
|
1874 |
||
1875 |
application |
|
1876 |
"returns my application, the TagsBrowser |
|
1877 |
" |
|
1878 |
^ application |
|
1879 |
! |
|
1880 |
||
1881 |
application:theTagsBrowser |
|
1882 |
"set my application, the TagsBrowser |
|
1883 |
" |
|
1884 |
application := theTagsBrowser. |
|
1885 |
! |
|
1886 |
||
1887 |
filter:aString |
|
1888 |
filter := aString. |
|
1889 |
list filter:aString. |
|
1890 |
! |
|
1891 |
||
1892 |
tagLineNr:lineNr |
|
1893 |
"remember line nr for which a tag should be highlighted. |
|
1894 |
(will set my selection late, when the taglist is available" |
|
1895 |
||
1896 |
tagLineNr := lineNr |
|
1897 |
! ! |
|
1898 |
||
1899 |
!TagsBrowser::TagView methodsFor:'drawing'! |
|
1900 |
||
1901 |
drawLabelAt:anIndex x:x y:y h:h |
|
1902 |
"draw the label at position x/y without clearing the background |
|
1903 |
" |
|
1904 |
|item label type |
|
1905 |
y0 "{ Class: SmallInteger }" |
|
1906 |
| |
|
1907 |
item := list at:anIndex ifAbsent:nil. |
|
1908 |
item isNil ifTrue:[^ self]. |
|
1909 |
||
1910 |
self paint:fgColor on:bgColor. |
|
1911 |
||
1912 |
label := item printString. |
|
1913 |
y0 := y - ((font height) + 1 - h // 2) + font ascent. |
|
1914 |
type := item typeIdentifierInList. |
|
1915 |
||
1916 |
type notNil ifTrue:[ |
|
1917 |
type := Text string:type emphasis:#bold. |
|
1918 |
type displayOn:self x:x y:y0. |
|
1919 |
]. |
|
1920 |
(self isInSelection:anIndex) ifTrue:[ |
|
1921 |
self paint:hilightFgColor on:hilightBgColor |
|
1922 |
]. |
|
1923 |
label displayOn:self x:(x + TypeInset) y:y0 |
|
1924 |
! |
|
1925 |
||
1926 |
drawSelectionFrameAt:lnNr x:x w:w |
|
1927 |
"draw the background and foreground of the selection frame |
|
1928 |
at a lineNr. |
|
1929 |
" |
|
1930 |
|item |
|
1931 |
x0 "{ Class:SmallInteger }" |
|
1932 |
x1 "{ Class: SmallInteger }" |
|
1933 |
y0 "{ Class:SmallInteger }" |
|
1934 |
y1 "{ Class:SmallInteger }" |
|
1935 |
hL "{ Class:SmallInteger }" |
|
1936 |
wL "{ Class:SmallInteger }" |
|
1937 |
| |
|
1938 |
(item := list at:lnNr ifAbsent:nil) isNil ifTrue:[ |
|
1939 |
"/ list might change during drawing; item no longer visible |
|
1940 |
^ self |
|
1941 |
]. |
|
1942 |
||
1943 |
"/ CLEAR THE BACKGROUND |
|
1944 |
||
1945 |
y0 := self yVisibleOfLine:lnNr. |
|
1946 |
y1 := self yVisibleOfLine:(lnNr + 1). |
|
1947 |
hL := y1 - y0. |
|
1948 |
||
1949 |
x0 := textStartLeft - viewOrigin x + TypeInset - 4. |
|
1950 |
x1 := (self widthOfContents - viewOrigin x) max:(width - margin). |
|
1951 |
wL := x1 - x0. |
|
1952 |
||
1953 |
wL > 0 ifFalse:[^ self]. |
|
1954 |
||
1955 |
self paint:hilightBgColor. |
|
1956 |
self fillRectangleX:x0 y:y0 width:wL height:hL. |
|
1957 |
||
1958 |
"/ DRAW THE FRAME |
|
1959 |
||
1960 |
hilightFrameColor notNil ifTrue:[ |
|
1961 |
hilightLevel == 0 ifTrue:[ |
|
1962 |
self paint:hilightFrameColor. |
|
1963 |
self displayRectangleX:x0 y:y0 width:wL height:hL. |
|
1964 |
^ self. |
|
1965 |
] |
|
1966 |
] ifFalse:[ |
|
1967 |
hilightStyle == #motif ifTrue:[ |
|
1968 |
self paint:bgColor. |
|
1969 |
y1 := y0 + 1. |
|
1970 |
self displayRectangleX:x0 + 1 y:y1 width:wL - 2 height:hL - 2. |
|
1971 |
] |
|
1972 |
]. |
|
1973 |
||
1974 |
hilightLevel ~~ 0 ifTrue:[ |
|
1975 |
"/ draw edge |
|
1976 |
self drawEdgesForX:x0 y:y0 width:wL height:hL level:hilightLevel. |
|
1977 |
] |
|
1978 |
! ! |
|
1979 |
||
1980 |
!TagsBrowser::TagView methodsFor:'generating tags'! |
|
1981 |
||
1982 |
generateTagsFor:aFile onTarget:aTarget |
|
1983 |
"generate tags for a file (optionally on a remote target) |
|
1984 |
" |
|
1985 |
|tagFile| |
|
1986 |
||
1987 |
Tag autoload. |
|
1988 |
||
1989 |
self stopGeneratingTags. |
|
1990 |
||
1991 |
aFile isNil ifTrue:[ |
|
1992 |
^ self |
|
1993 |
]. |
|
1994 |
fileName := aFile asFilename. |
|
1995 |
||
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1996 |
"/ (tagFile := application changes backupFor:fileName) isNil ifTrue:[ |
9892 | 1997 |
tagFile := fileName. |
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
1998 |
"/ ]. |
9892 | 1999 |
|
2000 |
process := [ |
|
2001 |
[ |
|
2002 |
Error handle:[:ex| |
|
2003 |
Transcript show:'TagGenerator error cought:'; showCR:ex errorString. |
|
2004 |
ex suspendedContext fullPrintAllOn:Transcript. |
|
2005 |
(Dialog |
|
2006 |
confirm:(resources stringWithCRs:'Error encountered while generating tags:\\ %1\\Debug ?' with:ex description) |
|
2007 |
yesLabel:'Debug' |
|
2008 |
) ifTrue:[ |
|
2009 |
ex reject |
|
2010 |
]. |
|
2011 |
] do:[ |
|
2012 |
|bestTag| |
|
2013 |
||
2014 |
self enabled:false. |
|
2015 |
list add:nil. |
|
2016 |
list add:(Tag label:('Generating Tags ...' allBold) pattern:nil). |
|
2017 |
list filter:filter. |
|
2018 |
||
2019 |
list |
|
2020 |
fromFile:tagFile |
|
2021 |
in:(application tempDirectory) |
|
2022 |
onTarget:aTarget. |
|
2023 |
||
2024 |
tagLineNr notNil ifTrue:[ |
|
2025 |
bestTag := list bestTagForLine:tagLineNr. |
|
2026 |
bestTag notNil ifTrue:[ |
|
2027 |
self setSelection:(list identityIndexOf:bestTag). |
|
2028 |
]. |
|
2029 |
tagLineNr := nil |
|
2030 |
]. |
|
2031 |
] |
|
2032 |
] valueNowOrOnUnwindDo:[ |
|
2033 |
process := nil. |
|
2034 |
self enabled:true. |
|
2035 |
]. |
|
2036 |
] forkAt:4. |
|
2037 |
||
2038 |
process priorityRange:(4 to:8). |
|
2039 |
||
9916
0c3fe1fa42c6
fixes for reusability in cc browser
Claus Gittinger <cg@exept.de>
parents:
9908
diff
changeset
|
2040 |
"Modified: / 07-05-2011 / 15:39:26 / cg" |
9892 | 2041 |
! |
2042 |
||
2043 |
stopGeneratingTags |
|
2044 |
"stop the process which generates the tags |
|
2045 |
" |
|
2046 |
|task| |
|
2047 |
||
2048 |
||
2049 |
(task := process) notNil ifTrue:[ |
|
2050 |
process := nil. |
|
2051 |
||
2052 |
Exception handle:[:ex| |
|
2053 |
] do:[ |
|
2054 |
task terminateWithAllSubprocessesInGroup. |
|
2055 |
task waitUntilTerminated. |
|
2056 |
] |
|
2057 |
]. |
|
2058 |
fileName := nil. |
|
2059 |
list removeAll. |
|
2060 |
! ! |
|
2061 |
||
2062 |
!TagsBrowser::TagView methodsFor:'initialize & release'! |
|
2063 |
||
2064 |
destroy |
|
2065 |
self stopGeneratingTags. |
|
2066 |
super destroy. |
|
2067 |
! |
|
2068 |
||
2069 |
initialize |
|
2070 |
||
2071 |
TypeInset := 16. |
|
2072 |
||
2073 |
super initialize. |
|
2074 |
highlightMode := #line. |
|
2075 |
! ! |
|
2076 |
||
2077 |
!TagsBrowser::TagView methodsFor:'protocol'! |
|
2078 |
||
2079 |
heightOfLineAt:aLineNr |
|
2080 |
"returns the total height for a line at an index( including lineSpacing ... ) |
|
2081 |
" |
|
2082 |
^ lineSpacing + font height |
|
2083 |
! |
|
2084 |
||
2085 |
widthOfWidestLineBetween:firstLine and:lastLine |
|
2086 |
"return the width in pixels of the widest line in a range |
|
2087 |
" |
|
2088 |
|width| |
|
2089 |
||
2090 |
width := super widthOfWidestLineBetween:firstLine and:lastLine. |
|
2091 |
^ width + TypeInset |
|
2092 |
! ! |
|
2093 |
||
2094 |
!TagsBrowser class methodsFor:'documentation'! |
|
2095 |
||
2096 |
version_CVS |
|
10055 | 2097 |
^ '$Header: /cvs/stx/stx/libtool/Tools__TagsBrowser.st,v 1.9 2011-07-03 15:05:25 cg Exp $' |
2098 |
! |
|
2099 |
||
2100 |
version_SVN |
|
2101 |
^ '§Id§' |
|
9892 | 2102 |
! ! |