The Trunk: Tools-cmm.270.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Tools-cmm.270.mcz

commits-2
Chris Muller uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-cmm.270.mcz

==================== Summary ====================

Name: Tools-cmm.270
Author: cmm
Time: 19 September 2010, 4:51:06.954 pm
UUID: 6dad9a3e-ecf6-4fbd-99ff-079c47c65051
Ancestors: Tools-dtl.269

Change "copy selector" to copy the signature of the method to the clipboard, not just the selector.

=============== Diff against Tools-dtl.269 ===============

Item was changed:
  ----- Method: StringHolder>>copySelector (in category '*Tools') -----
  copySelector
  "Copy the selected selector to the clipboard"
+ self selectedMessageName ifNotNilDo:
+ [ : selector | Clipboard clipboardText:
+ (self selectedClassOrMetaClass
+ ifNil: [ selector asString ]
+ ifNotNilDo: [ : cls | (cls >> selector) signature ]) ]!
-
- | selector |
- (selector := self selectedMessageName) ifNotNil:
- [Clipboard clipboardText: selector asString]!