author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Mon, 30 Jan 2012 17:49:41 +0000 | |
branch | jv |
changeset 12128 | a7ff7d66ee85 |
parent 12123 | 4bde08cebd48 |
child 12292 | ecc23f7c8dde |
permissions | -rw-r--r-- |
10023 | 1 |
" |
2 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
10042 | 3 |
All Rights Reserved |
10023 | 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' }" |
|
8775 | 13 |
|
14 |
"{ NameSpace: Tools }" |
|
15 |
||
16 |
CodeView subclass:#NewSystemBrowserCodeView |
|
10172
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
17 |
instanceVariableNames:'browser parseTree selectedNode parsingProcess |
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
18 |
parsingProcessRunning highlightEmphasis seqNum' |
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
19 |
classVariableNames:'' |
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
20 |
poolDictionaries:'' |
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
21 |
category:'Interface-Browsers-New' |
8775 | 22 |
! |
23 |
||
10023 | 24 |
!NewSystemBrowserCodeView class methodsFor:'documentation'! |
25 |
||
26 |
copyright |
|
27 |
" |
|
28 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
10042 | 29 |
All Rights Reserved |
10023 | 30 |
|
31 |
This software is furnished under a license and may be used |
|
32 |
only in accordance with the terms of that license and with the |
|
33 |
inclusion of the above copyright notice. This software may not |
|
34 |
be provided or otherwise made available to, or used by, any |
|
35 |
other person. No title to or ownership of the software is |
|
36 |
hereby transferred. |
|
37 |
" |
|
38 |
! ! |
|
8775 | 39 |
|
40 |
!NewSystemBrowserCodeView class methodsFor:'initialization'! |
|
41 |
||
42 |
initialize |
|
43 |
" |
|
44 |
self initialize |
|
45 |
" |
|
10024 | 46 |
"/ MUST be done in the keyboard.rc file |
10023 | 47 |
" |
48 |
Smalltalk addStartBlock: |
|
49 |
[Display keyboardMap |
|
50 |
bindValue:#ImplementorsOfIt to:#Cmdm; |
|
51 |
bindValue:#SendersOfIt to:#Cmdn; |
|
52 |
bindValue:#GoBack to:#CmdBackSpace] |
|
53 |
" |
|
8775 | 54 |
|
55 |
"Created: / 25-12-2007 / 19:58:53 / janfrog" |
|
56 |
"Modified: / 27-02-2008 / 12:16:10 / janfrog" |
|
10023 | 57 |
"Modified: / 15-04-2010 / 16:40:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10024 | 58 |
"Modified (comment): / 01-07-2011 / 16:21:38 / cg" |
8775 | 59 |
! ! |
60 |
||
61 |
!NewSystemBrowserCodeView class methodsFor:'menu specs'! |
|
62 |
||
63 |
editMenuSpec |
|
64 |
"This resource specification was automatically generated |
|
65 |
by the MenuEditor of ST/X." |
|
66 |
||
67 |
"Do not manually edit this!! If it is corrupted, |
|
68 |
the MenuEditor may not be able to read the specification." |
|
69 |
||
70 |
" |
|
71 |
MenuEditor new openOnClass:Tools::NewSystemBrowserCodeView andSelector:#editMenuSpec |
|
72 |
(Menu new fromLiteralArrayEncoding:(Tools::NewSystemBrowserCodeView editMenuSpec)) startUp |
|
73 |
" |
|
74 |
||
75 |
<resource: #menu> |
|
76 |
||
77 |
^ |
|
78 |
#(Menu |
|
79 |
( |
|
80 |
(MenuItem |
|
81 |
label: 'Implementors' |
|
82 |
itemValue: browseImplementorsOfIt |
|
83 |
translateLabel: true |
|
84 |
shortcutKey: ImplementorsOfIt |
|
85 |
) |
|
86 |
(MenuItem |
|
87 |
label: 'Senders' |
|
88 |
itemValue: browseSendersOfIt |
|
89 |
translateLabel: true |
|
90 |
shortcutKey: SendersOfIt |
|
91 |
) |
|
92 |
(MenuItem |
|
93 |
label: 'Refactor' |
|
94 |
translateLabel: true |
|
95 |
isVisible: false |
|
96 |
shortcutKey: Shift |
|
97 |
) |
|
98 |
(MenuItem |
|
99 |
label: '-' |
|
100 |
) |
|
101 |
(MenuItem |
|
102 |
label: 'Accept' |
|
103 |
itemValue: accept |
|
104 |
translateLabel: true |
|
105 |
shortcutKey: Accept |
|
106 |
) |
|
107 |
(MenuItem |
|
108 |
label: '-' |
|
109 |
) |
|
110 |
(MenuItem |
|
111 |
label: 'Cut' |
|
112 |
itemValue: cut |
|
113 |
translateLabel: true |
|
114 |
shortcutKey: Cut |
|
115 |
) |
|
116 |
(MenuItem |
|
117 |
label: 'Copy' |
|
118 |
itemValue: copySelection |
|
119 |
translateLabel: true |
|
120 |
shortcutKey: Copy |
|
121 |
) |
|
122 |
(MenuItem |
|
123 |
label: 'Paste' |
|
124 |
itemValue: pasteOrReplace |
|
125 |
translateLabel: true |
|
126 |
shortcutKey: Paste |
|
127 |
) |
|
128 |
(MenuItem |
|
129 |
label: '-' |
|
130 |
) |
|
131 |
(MenuItem |
|
132 |
label: 'Undo' |
|
133 |
itemValue: undo |
|
134 |
translateLabel: true |
|
135 |
shortcutKey: Undo |
|
136 |
) |
|
137 |
(MenuItem |
|
138 |
label: '-' |
|
139 |
) |
|
140 |
(MenuItem |
|
141 |
label: 'Do it' |
|
142 |
itemValue: doIt |
|
143 |
translateLabel: true |
|
144 |
shortcutKey: DoIt |
|
145 |
) |
|
146 |
(MenuItem |
|
147 |
label: 'Print it' |
|
148 |
itemValue: printIt |
|
149 |
translateLabel: true |
|
150 |
shortcutKey: PrintIt |
|
151 |
) |
|
152 |
(MenuItem |
|
153 |
label: 'Inspect it' |
|
154 |
itemValue: inspectIt |
|
155 |
translateLabel: true |
|
156 |
shortcutKey: InspectIt |
|
157 |
) |
|
158 |
(MenuItem |
|
159 |
label: '-' |
|
160 |
) |
|
161 |
(MenuItem |
|
162 |
label: 'Special' |
|
163 |
translateLabel: true |
|
164 |
submenu: |
|
165 |
(Menu |
|
166 |
( |
|
167 |
(MenuItem |
|
168 |
label: 'Inspect RB Parse Tree' |
|
169 |
itemValue: inspectParseTree |
|
170 |
translateLabel: true |
|
171 |
) |
|
172 |
(MenuItem |
|
173 |
label: 'Inspect selected selector' |
|
174 |
itemValue: inspectSelectedSelector |
|
175 |
translateLabel: true |
|
176 |
) |
|
177 |
) |
|
178 |
nil |
|
179 |
nil |
|
180 |
) |
|
181 |
) |
|
182 |
(MenuItem |
|
183 |
label: 'More' |
|
184 |
nameKey: More |
|
185 |
translateLabel: true |
|
186 |
) |
|
187 |
) |
|
188 |
nil |
|
189 |
nil |
|
190 |
) |
|
191 |
||
192 |
"Modified: / 18-10-2008 / 18:50:01 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
193 |
! ! |
|
194 |
||
195 |
!NewSystemBrowserCodeView methodsFor:'accessing'! |
|
196 |
||
197 |
browser |
|
198 |
^ browser ? menuHolder |
|
199 |
||
200 |
"Created: / 25-12-2007 / 10:20:01 / janfrog" |
|
201 |
"Modified: / 26-12-2007 / 12:22:56 / janfrog" |
|
202 |
! |
|
203 |
||
204 |
browser:something |
|
205 |
browser := something. |
|
206 |
||
207 |
"Created: / 25-12-2007 / 10:20:01 / janfrog" |
|
208 |
! |
|
209 |
||
210 |
findNode |
|
211 |
||
212 |
^selectedNode |
|
213 |
ifNil:[self findNodeForInterval: self selectedInterval] |
|
214 |
ifNotNil:[selectedNode] |
|
215 |
||
216 |
"Created: / 18-02-2008 / 22:52:24 / janfrog" |
|
217 |
"Modified: / 19-02-2008 / 09:35:11 / janfrog" |
|
218 |
! |
|
219 |
||
220 |
findNodeForInterval:anInterval |
|
221 |
||
222 |
" |
|
223 |
An empty interval check based on Claus suggestion |
|
224 |
(email Fri, 10 Oct 2008 16:10:25 +0200) |
|
225 |
" |
|
10023 | 226 |
anInterval isEmpty ifTrue:[^nil]. |
8775 | 227 |
|
228 |
^self findNodeIn: self parseTree forInterval: anInterval |
|
229 |
||
230 |
"Created: / 19-02-2008 / 09:44:50 / janfrog" |
|
231 |
"Modified: / 18-10-2008 / 16:47:53 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
10023 | 232 |
"Modified: / 01-09-2009 / 22:45:28 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
8775 | 233 |
! |
234 |
||
235 |
findNodeIn:tree forInterval:interval |
|
236 |
|node wouldReturn| |
|
237 |
||
238 |
node := nil. |
|
239 |
tree = #error ifTrue:[^nil]. |
|
240 |
tree nodesDo:[:each | |
|
241 |
(each intersectsInterval:interval) ifTrue:[ |
|
242 |
(node isNil or:[node == each parent]) ifTrue:[ |
|
243 |
node := each |
|
244 |
] ifFalse:[ |
|
245 |
(node parent notNil |
|
246 |
and:[node parent isCascade and:[each parent isCascade]]) ifFalse:[^ nil] |
|
247 |
] |
|
248 |
] ifFalse:[ |
|
249 |
node notNil ifTrue:[ |
|
250 |
"/ already found one - beyond that one; leave |
|
251 |
wouldReturn notNil ifTrue:[wouldReturn := node]. |
|
252 |
] |
|
253 |
]. |
|
254 |
]. |
|
255 |
(wouldReturn notNil and:[wouldReturn ~~ node]) ifTrue:[self halt]. |
|
256 |
^ node |
|
257 |
||
258 |
"Created: / 19-02-2008 / 09:40:24 / janfrog" |
|
259 |
"Modified: / 21-02-2008 / 09:35:31 / janfrog" |
|
260 |
! |
|
261 |
||
262 |
selectedClass |
|
263 |
||
264 |
^self browser theSingleSelectedClass |
|
265 |
||
266 |
"Created: / 21-02-2008 / 09:26:55 / janfrog" |
|
267 |
! |
|
268 |
||
269 |
selectedNode |
|
270 |
^ self findNode |
|
271 |
||
272 |
"Created: / 21-02-2008 / 09:17:29 / janfrog" |
|
273 |
! |
|
274 |
||
275 |
selectedSelector |
|
276 |
|selectedText| |
|
277 |
||
10463 | 278 |
^ (selectedText := self selectionAsString) isEmptyOrNil |
10023 | 279 |
ifFalse:[ (SystemBrowser extractSelectorFrom:selectedText) asSymbol ] |
8775 | 280 |
ifTrue:[ |
281 |
selectedNode ifNil:[ self highlightNodeAtCursor ]. |
|
282 |
(selectedNode notNil and:[ selectedNode isMessage ]) ifTrue:[ |
|
283 |
selectedNode selector |
|
284 |
] ifFalse:[ nil ] |
|
285 |
] |
|
286 |
||
287 |
"Created: / 26-12-2007 / 11:12:26 / janfrog" |
|
288 |
"Modified: / 19-02-2008 / 09:16:11 / janfrog" |
|
10463 | 289 |
"Modified: / 04-08-2011 / 19:05:43 / cg" |
8775 | 290 |
! ! |
291 |
||
292 |
!NewSystemBrowserCodeView methodsFor:'accessing-contents'! |
|
293 |
||
294 |
list: anObject |
|
295 |
||
296 |
super list: anObject. |
|
297 |
self updateParseTree. |
|
298 |
||
299 |
"Created: / 25-12-2007 / 10:05:17 / janfrog" |
|
300 |
! ! |
|
301 |
||
302 |
!NewSystemBrowserCodeView methodsFor:'change & update'! |
|
303 |
||
304 |
updateParseTree |
|
305 |
||
306 |
self startParsingProcess |
|
307 |
"/Transcript showCR:'Updating parse tree' |
|
308 |
||
309 |
"Created: / 25-12-2007 / 10:05:49 / janfrog" |
|
310 |
"Modified: / 25-12-2007 / 21:29:28 / janfrog" |
|
311 |
! ! |
|
312 |
||
313 |
!NewSystemBrowserCodeView methodsFor:'event handling'! |
|
314 |
||
315 |
buttonMotion:button x:x y:y |
|
8874 | 316 |
(button == 0 and:[ self sensor ctrlDown ]) |
8775 | 317 |
ifTrue:[ |
8874 | 318 |
^ self |
8775 | 319 |
highlightNodeAtX:x y:y; |
320 |
redraw |
|
321 |
] |
|
322 |
ifFalse:[ |
|
8874 | 323 |
^ super |
8775 | 324 |
buttonMotion:button |
325 |
x:x |
|
326 |
y:y |
|
327 |
] |
|
328 |
||
329 |
"Created: / 25-12-2007 / 21:53:50 / janfrog" |
|
330 |
"Modified: / 19-02-2008 / 09:15:09 / janfrog" |
|
331 |
! |
|
332 |
||
10023 | 333 |
buttonPress: button x: x y: y |
334 |
| node | |
|
8775 | 335 |
|
10023 | 336 |
(self sensor ctrlDown and: [ (node := self selectedNode) notNil ]) |
337 |
ifTrue: |
|
338 |
[ button = 1 |
|
339 |
ifTrue: [ ^ self openMenu: (node leftClickMenuInCodeView: self) ]. |
|
340 |
button = #paste |
|
341 |
ifTrue: [ ^ self openMenu: (node middleClickMenuInCodeView: self) ]. |
|
342 |
button = 2 |
|
343 |
ifTrue: [ ^ self openMenu: (node rightClickMenuInCodeView: self) ] ]. |
|
8775 | 344 |
super |
10023 | 345 |
buttonPress: button |
346 |
x: x |
|
347 |
y: y |
|
8775 | 348 |
|
349 |
"Created: / 26-12-2007 / 11:39:50 / janfrog" |
|
350 |
"Modified: / 21-02-2008 / 09:17:29 / janfrog" |
|
351 |
! |
|
352 |
||
353 |
handleNonCommandKey:keyArg |
|
354 |
||
355 |
super handleNonCommandKey: keyArg. |
|
356 |
self startParsingProcess. |
|
357 |
||
358 |
"Created: / 18-02-2008 / 17:18:22 / janfrog" |
|
359 |
! |
|
360 |
||
361 |
keyPress:key x:x y:y |
|
362 |
(x notNil and:[ y notNil ]) ifTrue:[ |
|
363 |
key = #'Control_L' ifTrue:[ |
|
364 |
self |
|
365 |
highlightNodeAtX:x y:y; |
|
366 |
redraw |
|
367 |
]. |
|
368 |
"key = #Alt_L ifTrue: [self highlightParseTreeNodeAtX: x y: y; redraw]" |
|
369 |
]. |
|
370 |
||
371 |
(#( #Tab #Return #BackSpace ) includes:key) ifTrue:[ |
|
372 |
self startParsingProcess |
|
373 |
]. |
|
374 |
||
375 |
key == #GoBack ifTrue:[self goBack]. |
|
376 |
||
377 |
^ super |
|
378 |
keyPress:key |
|
379 |
x:x |
|
380 |
y:y |
|
381 |
||
382 |
"Created: / 25-12-2007 / 23:49:38 / janfrog" |
|
383 |
"Modified: / 27-02-2008 / 12:18:56 / janfrog" |
|
384 |
"Modified: / 12-03-2009 / 16:35:56 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
385 |
! |
|
386 |
||
387 |
keyRelease: key x: x y: y |
|
388 |
(key = #Control_L) ifTrue: |
|
389 |
[ selectedNode := nil. self highlightClear; redraw ]. |
|
390 |
"(key = #Alt_L) ifTrue: |
|
391 |
[ parseTreeNode := nil. self highlightClear; redraw ]." |
|
392 |
||
393 |
^ super |
|
394 |
keyRelease: key |
|
395 |
x: x |
|
396 |
y: y |
|
397 |
||
398 |
"Created: / 25-12-2007 / 23:15:15 / janfrog" |
|
399 |
"Modified: / 19-02-2008 / 09:16:11 / janfrog" |
|
400 |
! ! |
|
401 |
||
402 |
!NewSystemBrowserCodeView methodsFor:'menu'! |
|
403 |
||
10023 | 404 |
browseClassesMenu: classes |
405 |
| menu| |
|
406 |
||
407 |
menu := Menu new. |
|
408 |
classes do: |
|
409 |
[:cls| |
|
410 |
menu addItem:(MenuItem |
|
411 |
label: ('Browse ' , cls fullName asText allBold) |
|
412 |
value:[self browseClass: cls])]. |
|
413 |
||
414 |
^ menu |
|
415 |
||
416 |
"Modified: / 19-10-2008 / 08:16:50 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
417 |
"Created: / 01-09-2009 / 09:41:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
418 |
! |
|
419 |
||
8775 | 420 |
editMenu |
421 |
||
422 |
| editMenu superEditMenu moreMenu moreMenuItem | |
|
423 |
editMenu := self class editMenuSpec decodeAsLiteralArray. |
|
424 |
superEditMenu := super editMenu. |
|
425 |
moreMenu := superEditMenu subMenuAt: superEditMenu numberOfItems. |
|
426 |
moreMenuItem := editMenu menuItemLabeled: 'More'. |
|
427 |
moreMenuItem submenu: moreMenu asMenu. |
|
428 |
editMenu findGuiResourcesIn: self. |
|
429 |
^editMenu |
|
430 |
||
431 |
"Created: / 25-12-2007 / 10:10:01 / janfrog" |
|
432 |
"Modified: / 25-12-2007 / 19:50:53 / janfrog" |
|
433 |
"Modified: / 18-10-2008 / 20:31:16 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
434 |
! |
|
435 |
||
436 |
messageNodeContextMenu:messageNode |
|
437 |
|menu| |
|
438 |
||
439 |
menu := Menu new. |
|
440 |
menu |
|
441 |
addItem:((MenuItem new) |
|
442 |
label:'Implementors'; |
|
443 |
shortcutKey:#ImplementorsOfIt; |
|
444 |
submenuChannel:(Promise |
|
445 |
value:[ self messageNodeImplementorsMenu:messageNode ])); |
|
446 |
addItem:((MenuItem new) |
|
447 |
label:'Senders'; |
|
448 |
shortcutKey:#SendersOfIt; |
|
449 |
submenuChannel:(Promise value:[ self messageNodeSendersMenu:messageNode ])). |
|
450 |
^ menu |
|
451 |
||
452 |
"Created: / 18-02-2008 / 21:05:36 / janfrog" |
|
453 |
! |
|
454 |
||
455 |
messageNodeImplementorsMenu:messageNode |
|
456 |
|implementors selector menu| |
|
457 |
||
458 |
menu := Menu new. |
|
459 |
implementors := self implementorsOf:(selector := messageNode selector). |
|
10463 | 460 |
implementors isEmptyOrNil ifTrue:[ |
8775 | 461 |
menu addItem:(MenuItem label:'No implementors found') disable |
462 |
] ifFalse:[ |
|
463 |
menu addItem:(MenuItem |
|
464 |
label:(selector storeString , (' (all implementors) ') asText allItalic) |
|
465 |
value:[ |
|
466 |
self browseMethods:implementors |
|
467 |
label:'Implementors of ' , selector storeString |
|
468 |
]). |
|
469 |
menu addSeparator. |
|
470 |
implementors do:[:mth | |
|
471 |
menu |
|
472 |
addItem:(MenuItem label:(selector storeString |
|
473 |
, (' in ' , mth containingClass name asText allBold)) |
|
474 |
value:[ self browseMethod:mth label: 'Implementor of ' , selector storeString ]) |
|
475 |
] |
|
476 |
]. |
|
477 |
^ menu |
|
478 |
||
479 |
"Created: / 18-02-2008 / 21:05:47 / janfrog" |
|
480 |
"Modified: / 19-10-2008 / 08:16:50 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
10463 | 481 |
"Modified: / 04-08-2011 / 19:05:37 / cg" |
8775 | 482 |
! |
483 |
||
484 |
messageNodeSendersMenu:messageNode |
|
485 |
|implementors selector menu| |
|
486 |
||
487 |
menu := Menu new. |
|
488 |
implementors := self sendersOf:(selector := messageNode selector). |
|
10463 | 489 |
implementors isEmptyOrNil ifTrue:[ |
8775 | 490 |
menu addItem:(MenuItem label:'No senders found') disable |
491 |
] ifFalse:[ |
|
492 |
menu addItem:(MenuItem |
|
493 |
label:(selector storeString , (' (all senders)') asText allItalic) |
|
494 |
value:[ |
|
495 |
self browseMethods:implementors |
|
496 |
label:'Senders of ' , selector storeString |
|
497 |
]). |
|
498 |
menu addSeparator. |
|
499 |
implementors do:[:mth | |
|
500 |
menu |
|
501 |
addItem:(MenuItem label:(mth selector storeString |
|
502 |
, (' in ' , mth containingClass name asText allBold)) |
|
503 |
value:[ self browseMethod:mth label: 'Sender of ' , selector storeString ]) |
|
504 |
] |
|
505 |
]. |
|
506 |
^ menu |
|
507 |
||
508 |
"Created: / 18-02-2008 / 21:05:56 / janfrog" |
|
509 |
"Modified: / 19-10-2008 / 08:17:00 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
10463 | 510 |
"Modified: / 04-08-2011 / 19:05:40 / cg" |
8775 | 511 |
! |
512 |
||
513 |
openMenu: aMenuOrNil |
|
514 |
||
515 |
aMenuOrNil ifNotNil: |
|
516 |
[self highlightClear; redraw. |
|
517 |
aMenuOrNil startUp]. |
|
518 |
||
519 |
"Created: / 18-02-2008 / 19:03:08 / janfrog" |
|
520 |
! |
|
521 |
||
522 |
variableNodeMenuContext:variableNode |
|
523 |
||
524 |
| menu | |
|
525 |
menu := Menu new. |
|
526 |
menu |
|
527 |
addItem: |
|
528 |
(MenuItem new |
|
529 |
label: 'Rename Local Variable'; |
|
530 |
value:[self refactorMenuRenameLocalVariable]; |
|
531 |
enabled:(self isLocalVariableNode: variableNode)); |
|
532 |
addItem: |
|
533 |
(MenuItem new |
|
534 |
label: 'Rename Instance Variable'; |
|
535 |
value:[self refactorMenuRenameInstanceVariable]; |
|
536 |
enabled:(self isInstanceVariableNode: variableNode)). |
|
537 |
||
538 |
^menu |
|
539 |
||
540 |
"Created: / 18-02-2008 / 21:10:46 / janfrog" |
|
541 |
"Modified: / 21-02-2008 / 09:40:09 / janfrog" |
|
542 |
! ! |
|
543 |
||
544 |
!NewSystemBrowserCodeView methodsFor:'menu - actions'! |
|
545 |
||
546 |
accept |
|
547 |
||
548 |
super accept. |
|
549 |
self startParsingProcess |
|
550 |
||
551 |
"Created: / 26-12-2007 / 12:33:19 / janfrog" |
|
552 |
! |
|
553 |
||
10023 | 554 |
browseClass: class |
555 |
||
556 |
self browser ifNil: [^NewSystemBrowser browseClass:class]. |
|
557 |
(UserPreferences current alwaysOpenNewTabWhenCtrlClick or:[self browser navigationState modified]) |
|
558 |
ifTrue: |
|
559 |
[self browser |
|
560 |
spawnClassBrowserFor:(Array with: class) |
|
561 |
in:#newBuffer] |
|
562 |
ifFalse: |
|
563 |
[self browser |
|
564 |
switchToClass: class]. |
|
565 |
||
566 |
"Modified: / 19-02-2008 / 10:15:17 / janfrog" |
|
567 |
"Created: / 01-09-2009 / 08:52:24 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
568 |
! |
|
569 |
||
8775 | 570 |
browseImplementorsOfIt |
571 |
||
572 |
| selector implementors | |
|
573 |
selector := self selectedSelector. |
|
574 |
implementors := self implementorsOf: selector. |
|
575 |
self browseMethods: implementors label: 'Implementors of: ', selector storeString |
|
576 |
||
577 |
"Created: / 26-12-2007 / 11:02:41 / janfrog" |
|
578 |
! |
|
579 |
||
580 |
browseMethod: method label: label |
|
581 |
||
582 |
self browser ifNil: [^NewSystemBrowser openInMethod:method]. |
|
583 |
(UserPreferences current alwaysOpenNewTabWhenCtrlClick or:[self browser navigationState modified]) |
|
584 |
ifTrue: |
|
585 |
[self browser |
|
586 |
spawnMethodBrowserFor:(Array with: method) |
|
587 |
in:#newBuffer |
|
588 |
label:label] |
|
589 |
ifFalse: |
|
590 |
[self browser |
|
591 |
switchToClass: method containingClass |
|
592 |
selector: method selector]. |
|
593 |
||
594 |
"Modified: / 19-02-2008 / 10:15:17 / janfrog" |
|
595 |
"Created: / 19-10-2008 / 08:16:17 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
596 |
! |
|
597 |
||
598 |
browseMethods: methods label: label |
|
599 |
||
600 |
methods size = 1 ifTrue: |
|
601 |
[^self browseMethod: methods anyOne label: label]. |
|
602 |
||
603 |
self browser |
|
604 |
ifNil: [NewSystemBrowser browseMethods: methods title: label] |
|
605 |
ifNotNil:[self browser spawnMethodBrowserFor:methods in:#newBuffer label:label] |
|
606 |
||
607 |
"Created: / 26-12-2007 / 11:32:04 / janfrog" |
|
608 |
"Modified: / 19-10-2008 / 08:17:28 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
609 |
! |
|
610 |
||
611 |
browseSendersOfIt |
|
612 |
||
613 |
| selector implementors | |
|
614 |
selector := self selectedSelector. |
|
615 |
implementors := self sendersOf: selector. |
|
616 |
self browseMethods: implementors label: 'Senders of: ', selector storeString |
|
617 |
||
618 |
"Created: / 26-12-2007 / 11:35:43 / janfrog" |
|
619 |
! |
|
620 |
||
621 |
goBack |
|
622 |
||
623 |
(self browser respondsTo: #goBack) |
|
624 |
ifTrue:[self browser goBack] |
|
625 |
||
626 |
"Created: / 27-02-2008 / 12:18:02 / janfrog" |
|
627 |
! |
|
628 |
||
629 |
inspectParseTree |
|
630 |
^ self parseTree inspect |
|
631 |
||
632 |
"Created: / 25-12-2007 / 21:36:09 / janfrog" |
|
633 |
"Modified: / 19-02-2008 / 09:20:03 / janfrog" |
|
634 |
! |
|
635 |
||
636 |
inspectSelectedSelector |
|
637 |
||
638 |
^self selectedSelector inspect |
|
639 |
||
640 |
"Created: / 26-12-2007 / 11:16:48 / janfrog" |
|
641 |
! |
|
642 |
||
643 |
refactorMenuRenameInstanceVariable |
|
644 |
||
645 |
self topView application codeMenuRenameTemporary |
|
646 |
||
647 |
"Created: / 21-02-2008 / 09:15:08 / janfrog" |
|
648 |
! |
|
649 |
||
650 |
refactorMenuRenameLocalVariable |
|
651 |
||
652 |
self browser codeMenuRenameTemporary |
|
653 |
||
654 |
"Created: / 18-02-2008 / 21:21:26 / janfrog" |
|
655 |
"Modified: / 19-02-2008 / 09:59:11 / janfrog" |
|
656 |
! ! |
|
657 |
||
658 |
!NewSystemBrowserCodeView methodsFor:'menu - double dispatch'! |
|
659 |
||
660 |
blueButtonMenuForMessageNode:messageNode |
|
661 |
^ self messageNodeContextMenu:messageNode |
|
662 |
||
663 |
"Created: / 18-02-2008 / 19:12:56 / janfrog" |
|
664 |
"Modified: / 18-02-2008 / 21:05:36 / janfrog" |
|
665 |
! |
|
666 |
||
667 |
blueButtonMenuForVariableNode: messageNode |
|
668 |
||
669 |
^self variableNodeMenuContext:messageNode |
|
670 |
||
671 |
"Created: / 18-02-2008 / 21:04:32 / janfrog" |
|
672 |
! |
|
673 |
||
10023 | 674 |
leftClickMenuForMessageNode: messageNode |
675 |
^ self messageNodeImplementorsMenu: messageNode |
|
676 |
||
677 |
"Modified: / 18-02-2008 / 21:05:47 / janfrog" |
|
678 |
! |
|
679 |
||
680 |
leftClickMenuForVariableNode: varNode |
|
10172
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
681 |
| environment classes | |
10023 | 682 |
|
683 |
self browser ifNil:[^nil]. |
|
684 |
environment := self browser theSingleSelectedMethod mclass environment. |
|
685 |
classes := OrderedCollection new. |
|
10172
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
686 |
[ environment notNil ] whileTrue:[ |
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
687 |
| cls | |
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
688 |
|
10023 | 689 |
cls := environment at: varNode name asSymbol. |
690 |
cls ifNotNil:[classes add: cls]. |
|
691 |
environment := |
|
10172
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
692 |
(environment == Smalltalk) |
10023 | 693 |
ifTrue:[environment := nil] |
10172
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
694 |
ifFalse:[environment environment] |
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
695 |
]. |
10023 | 696 |
^classes isEmpty |
697 |
ifTrue:[self browseClassesMenu: classes ] |
|
698 |
ifFalse:[self variableNodeMenuContext: varNode] |
|
699 |
||
700 |
"Modified: / 18-02-2008 / 21:05:47 / janfrog" |
|
701 |
"Created: / 01-09-2009 / 08:41:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
702 |
"Modified: / 01-09-2009 / 09:46:10 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10172
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
703 |
"Modified (format): / 05-07-2011 / 16:04:47 / cg" |
10023 | 704 |
! |
705 |
||
706 |
middleClickMenuForMessageNode: messageNode |
|
707 |
^ self messageNodeSendersMenu: messageNode |
|
708 |
||
709 |
"Created: / 18-02-2008 / 19:08:50 / janfrog" |
|
710 |
"Modified: / 18-02-2008 / 21:05:56 / janfrog" |
|
711 |
! |
|
712 |
||
8775 | 713 |
redButtonMenuForMessageNode:messageNode |
714 |
^ self messageNodeImplementorsMenu:messageNode |
|
715 |
||
716 |
"Modified: / 18-02-2008 / 21:05:47 / janfrog" |
|
717 |
! |
|
718 |
||
10023 | 719 |
rightClickMenuForMessageNode: messageNode |
720 |
^ self messageNodeContextMenu: messageNode |
|
721 |
||
722 |
"Created: / 18-02-2008 / 19:12:56 / janfrog" |
|
723 |
"Modified: / 18-02-2008 / 21:05:36 / janfrog" |
|
724 |
! |
|
725 |
||
726 |
rightClickMenuForVariableNode: variableNode |
|
727 |
^ self variableNodeMenuContext: variableNode |
|
728 |
||
729 |
"Created: / 18-02-2008 / 21:04:32 / janfrog" |
|
730 |
! |
|
731 |
||
8775 | 732 |
yellowButtonMenuForMessageNode:messageNode |
733 |
^ self messageNodeSendersMenu:messageNode |
|
734 |
||
735 |
"Created: / 18-02-2008 / 19:08:50 / janfrog" |
|
736 |
"Modified: / 18-02-2008 / 21:05:56 / janfrog" |
|
737 |
! ! |
|
738 |
||
739 |
!NewSystemBrowserCodeView methodsFor:'private'! |
|
740 |
||
741 |
implementorsOf: selector |
|
742 |
||
743 |
selector ifNil:[^#()]. |
|
744 |
^SystemBrowser |
|
745 |
findImplementorsOf: selector |
|
746 |
in: Smalltalk allClasses |
|
747 |
ignoreCase: false |
|
748 |
||
749 |
"Created: / 26-12-2007 / 11:37:11 / janfrog" |
|
750 |
! |
|
751 |
||
752 |
sendersOf: selector |
|
753 |
||
754 |
^SystemBrowser |
|
755 |
findSendersOf: selector |
|
756 |
in: Smalltalk allClasses |
|
757 |
ignoreCase: false |
|
758 |
||
759 |
"Created: / 26-12-2007 / 11:37:22 / janfrog" |
|
760 |
! ! |
|
761 |
||
762 |
!NewSystemBrowserCodeView methodsFor:'private - highlighting'! |
|
763 |
||
764 |
highlightClear |
|
10023 | 765 |
self list ifNil:[ ^ self ]. |
766 |
self list do:[:line | |
|
767 |
line isText ifTrue:[ |
|
768 |
line emphasisAllRemove:self selectorEmphasis |
|
769 |
] |
|
770 |
] |
|
8775 | 771 |
|
772 |
"Created: / 25-12-2007 / 23:26:27 / janfrog" |
|
773 |
"Modified: / 26-12-2007 / 12:28:05 / janfrog" |
|
774 |
! |
|
775 |
||
776 |
highlightFrom: start to: end |
|
777 |
"Remove underlined emphasis" |
|
778 |
||
779 |
|startLine startCol endLine endCol| |
|
780 |
||
781 |
startLine := self lineOfCharacterPosition:start. |
|
782 |
startCol := start - (self characterPositionOfLine:startLine col:1) + 1. |
|
783 |
endLine := self lineOfCharacterPosition:end. |
|
784 |
endCol := end - (self characterPositionOfLine:endLine col:1) + 1. |
|
785 |
self highlightFromLine: startLine col: startCol toLine: endLine col: endCol |
|
786 |
||
787 |
"Created: / 25-12-2007 / 22:56:28 / janfrog" |
|
788 |
! |
|
789 |
||
10023 | 790 |
highlightLine:lineNo fromLine:startLine col:endLine toLine:startCol col:endCol emphasis: em |
791 |
|line start end| |
|
8775 | 792 |
|
10023 | 793 |
(lineNo between:startLine and:endLine) ifFalse:[ |
794 |
^ self |
|
795 |
]. |
|
796 |
line := self listAt:lineNo. |
|
797 |
start := lineNo = startLine ifTrue:[ |
|
798 |
startCol |
|
799 |
] ifFalse:[ |
|
800 |
line indexOfFirstNonBlankCharacter |
|
801 |
]. |
|
802 |
end := lineNo = endLine ifTrue:[ |
|
803 |
endCol |
|
804 |
] ifFalse:[ line size ]. |
|
805 |
line |
|
806 |
emphasisFrom:start |
|
807 |
to:end |
|
808 |
add: em |
|
8775 | 809 |
|
10023 | 810 |
"Created: / 25-06-2010 / 13:59:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
8775 | 811 |
! |
812 |
||
813 |
highlightNode:node |
|
814 |
selectedNode == node ifTrue:[^ self]. |
|
815 |
selectedNode := node. |
|
816 |
selectedNode ifNil:[ ^ self highlightClear ]. |
|
817 |
selectedNode highlightInCodeView:self. |
|
818 |
||
819 |
"Created: / 19-02-2008 / 09:14:38 / janfrog" |
|
820 |
! |
|
821 |
||
822 |
highlightNodeAtCursor |
|
823 |
self highlightNodeAtLine:self cursorLine col:self cursorCol |
|
824 |
||
825 |
"Created: / 19-02-2008 / 09:14:46 / janfrog" |
|
826 |
! |
|
827 |
||
828 |
highlightNodeAtLine:line col:col |
|
829 |
|characterPosition node| |
|
830 |
||
831 |
(self parseTree isNil or:[ self parseTree = #error ]) ifTrue:[ |
|
832 |
^ self |
|
833 |
]. |
|
834 |
characterPosition := self characterPositionOfLine:line col:col. |
|
835 |
node := self findNodeForInterval: (characterPosition to:characterPosition). |
|
836 |
self highlightNode:node |
|
837 |
||
838 |
"Created: / 19-02-2008 / 09:14:58 / janfrog" |
|
839 |
! |
|
840 |
||
841 |
highlightNodeAtX:x y:y |
|
842 |
|visibleLine line col| |
|
843 |
||
844 |
(self parseTree isNil or:[ self parseTree = #error ]) ifTrue:[ |
|
845 |
^ self |
|
846 |
]. |
|
847 |
visibleLine := self visibleLineOfY:y. |
|
848 |
col := self colOfX:x inVisibleLine:visibleLine. |
|
849 |
line := self visibleLineToAbsoluteLine:visibleLine. |
|
850 |
self highlightNodeAtLine:line col:col |
|
851 |
||
852 |
"Created: / 19-02-2008 / 09:15:09 / janfrog" |
|
853 |
! |
|
854 |
||
855 |
highlightWithoutClearFrom: start to: end |
|
856 |
"Remove underlined emphasis" |
|
857 |
||
858 |
|startLine startCol endLine endCol| |
|
859 |
||
860 |
startLine := self lineOfCharacterPosition:start. |
|
861 |
startCol := start - (self characterPositionOfLine:startLine col:1) + 1. |
|
862 |
endLine := self lineOfCharacterPosition:end. |
|
863 |
endCol := end - (self characterPositionOfLine:endLine col:1) + 1. |
|
864 |
self highlightWithoutClearFromLine: startLine col: startCol toLine: endLine col: endCol |
|
865 |
||
866 |
"Created: / 25-12-2007 / 23:27:14 / janfrog" |
|
867 |
! |
|
868 |
||
869 |
highlightWithoutClearFromLine: startLine col: startCol toLine: endLine col: endCol |
|
870 |
||
871 |
self list keysAndValuesDo: |
|
872 |
[:lineNo :line| |
|
873 |
|start end| |
|
874 |
line isText ifTrue: |
|
875 |
[self highlightLine: lineNo fromLine: startLine col: endLine toLine: startCol col: endCol]]. |
|
876 |
||
877 |
"Created: / 25-12-2007 / 23:35:07 / janfrog" |
|
10023 | 878 |
! |
879 |
||
880 |
highlightWithoutClearFromLine: startLine col: startCol toLine: endLine col: endCol emphasis: em |
|
881 |
||
882 |
self list keysAndValuesDo: |
|
883 |
[:lineNo :line| |
|
884 |
|start end| |
|
885 |
line isText ifTrue: |
|
886 |
[self highlightLine: lineNo fromLine: startLine col: endLine toLine: startCol col: endCol emphasis: em]]. |
|
887 |
||
888 |
"Created: / 25-06-2010 / 13:58:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
889 |
! |
|
890 |
||
891 |
selectorEmphasis |
|
892 |
^ highlightEmphasis |
|
893 |
ifNil:[ highlightEmphasis := Array with:#underline with:#bold ] |
|
894 |
||
895 |
"Created: / 25-12-2007 / 22:57:23 / janfrog" |
|
896 |
"Modified: / 26-12-2007 / 11:16:14 / janfrog" |
|
897 |
"Modified: / 01-09-2009 / 22:29:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
8775 | 898 |
! ! |
899 |
||
900 |
!NewSystemBrowserCodeView methodsFor:'private - highlighting - nodes'! |
|
901 |
||
902 |
highlightLiteralNode: node |
|
903 |
||
904 |
node value isSymbol ifTrue: |
|
905 |
[self highlightFrom: node start to: node stop] |
|
906 |
||
907 |
"Created: / 26-12-2007 / 10:19:08 / janfrog" |
|
908 |
! |
|
909 |
||
910 |
highlightMessageNode: node |
|
911 |
||
912 |
self highlightClear. |
|
913 |
node selectorParts do: |
|
914 |
[:part|self highlightWithoutClearFrom: part start to: part stop] |
|
915 |
||
916 |
"Created: / 25-12-2007 / 23:41:36 / janfrog" |
|
917 |
! |
|
918 |
||
919 |
highlightVariableNode: node |
|
920 |
(#('self' 'super' 'here' 'thisContext') includes:node name) ifTrue:[^self]. |
|
921 |
^ self highlightFrom: node start to: node stop |
|
922 |
||
923 |
"Created: / 25-12-2007 / 23:45:42 / janfrog" |
|
924 |
"Modified: / 18-02-2008 / 20:51:51 / janfrog" |
|
925 |
! ! |
|
926 |
||
927 |
!NewSystemBrowserCodeView methodsFor:'private - parsing'! |
|
928 |
||
929 |
parseTree |
|
930 |
||
931 |
^ parseTree |
|
932 |
||
933 |
"Created: / 19-02-2008 / 09:20:03 / janfrog" |
|
934 |
"Modified: / 19-10-2008 / 07:36:36 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
935 |
! |
|
936 |
||
937 |
parseTree:something |
|
938 |
parseTree := something. |
|
939 |
||
940 |
"Created: / 19-10-2008 / 07:39:15 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
941 |
! |
|
942 |
||
943 |
parseTree:something sequenceNumber: givenSeqNum |
|
944 |
||
945 |
givenSeqNum < seqNum ifFalse: |
|
946 |
[parseTree := something]. |
|
947 |
||
948 |
"Created: / 12-03-2009 / 16:29:11 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
949 |
! |
|
950 |
||
951 |
startParsingProcess |
|
952 |
|prio contents| |
|
953 |
||
954 |
seqNum := ((seqNum ? 0) + 1). |
|
955 |
parsingProcess |
|
956 |
ifNotNil:[ |
|
957 |
parsingProcessRunning ~~ true ifTrue:[ |
|
958 |
^ self |
|
959 |
]. |
|
960 |
self stopParsingProcess |
|
961 |
]. |
|
962 |
prio := Processor userBackgroundPriority - 1. |
|
963 |
self shown ifFalse:[ |
|
964 |
prio := prio - 1 max:1 |
|
965 |
]. |
|
966 |
contents := self contents. |
|
967 |
parsingProcess := [ |
|
968 |
[ |
|
969 |
| tree | |
|
10463 | 970 |
tree := ((contents isEmptyOrNil) |
8775 | 971 |
ifTrue:[ nil ] |
972 |
ifFalse:[ RBParser parseMethod:contents onError:[:err :pos | #error ] ]). |
|
973 |
self sensor |
|
974 |
pushUserEvent:#parseTree:sequenceNumber: |
|
975 |
for: self |
|
976 |
withArguments: |
|
977 |
(Array with: tree with: seqNum) |
|
978 |
] ensure:[ |
|
979 |
parsingProcessRunning := false. |
|
980 |
parsingProcess := nil. |
|
981 |
] |
|
982 |
] forkAt:prio |
|
983 |
||
984 |
"Modified: / 19-02-2008 / 09:22:57 / janfrog" |
|
985 |
"Created: / 21-08-2009 / 15:40:06 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
986 |
"Modified: / 22-08-2009 / 11:51:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10463 | 987 |
"Modified: / 04-08-2011 / 19:05:45 / cg" |
8775 | 988 |
! |
989 |
||
990 |
stopParsingProcess |
|
991 |
|p| |
|
992 |
||
993 |
(p := parsingProcess) notNil ifTrue:[ |
|
994 |
parsingProcess := nil. |
|
995 |
p terminate. |
|
996 |
"/ raise its prio to make it terminate quickly |
|
997 |
p priority:(Processor userSchedulingPriority + 1) |
|
998 |
] |
|
999 |
||
1000 |
"Created: / 25-12-2007 / 21:16:03 / janfrog" |
|
1001 |
! ! |
|
1002 |
||
1003 |
!NewSystemBrowserCodeView methodsFor:'private - testing'! |
|
1004 |
||
1005 |
isInstanceVariableNode: node |
|
1006 |
||
1007 |
||
1008 |
node isVariable ifFalse:[^false]. |
|
1009 |
^(self selectedClass allInstVarNames includes:(node name)) |
|
1010 |
||
1011 |
"Created: / 21-02-2008 / 09:39:10 / janfrog" |
|
1012 |
! |
|
1013 |
||
1014 |
isLocalVariableNode: node |
|
1015 |
||
1016 |
||
1017 |
(self parseTree arguments includes: node) ifTrue:[^true]. |
|
1018 |
(self parseTree body temporaries includes: node) ifTrue:[^true]. |
|
1019 |
^false |
|
1020 |
||
1021 |
"Created: / 21-02-2008 / 09:32:33 / janfrog" |
|
1022 |
! ! |
|
1023 |
||
1024 |
!NewSystemBrowserCodeView class methodsFor:'documentation'! |
|
1025 |
||
8806 | 1026 |
version_CVS |
12123
4bde08cebd48
trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10463
diff
changeset
|
1027 |
^ '§Header: /cvs/stx/stx/libtool/Tools__NewSystemBrowserCodeView.st,v 1.10 2011/08/04 19:32:18 cg Exp §' |
10023 | 1028 |
! |
1029 |
||
1030 |
version_SVN |
|
12128
a7ff7d66ee85
Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12123
diff
changeset
|
1031 |
^ '$Id: Tools__NewSystemBrowserCodeView.st 7854 2012-01-30 17:49:41Z vranyj1 $' |
8775 | 1032 |
! ! |
1033 |
||
12123
4bde08cebd48
trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
10463
diff
changeset
|
1034 |
NewSystemBrowserCodeView initialize! |