[squeak-dev] The Trunk: Tools-laza.354.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu May 12 12:16:08 UTC 2011
Alexander Lazarević uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-laza.354.mcz
==================== Summary ====================
Name: Tools-laza.354
Author: laza
Time: 12 May 2011, 2:15:31.264 pm
UUID: d2a02249-1507-a344-aa9b-fa7168c507c6
Ancestors: Tools-nice.353
The DependencyBrowser did not show the source code for class side methods. Select 311Deprecated>Kernel>Number class>Number class>readExactlyFrom: as an example
=============== Diff against Tools-nice.353 ===============
Item was changed:
----- Method: DependencyBrowser>>selectedMessage (in category 'contents') -----
selectedMessage
"Source code for currently selected message"
| className methodName mref |
className := self classListSelection.
methodName := self messageListSelection.
mref := (classDeps at: self classDepsSelection ifAbsent:[#()])
+ detect:[:mr| mr actualClass name = className
- detect:[:mr| mr classSymbol = className
and:[mr methodSymbol = methodName]]
ifNone:[nil].
mref ifNil:[^self class comment].
mref methodSymbol == #Definition ifTrue:[^mref actualClass definition].
^mref sourceCode!
More information about the Squeak-dev
mailing list
|