[squeak-dev] The Trunk: Tools-cmm.270.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Sep 19 21:51:33 UTC 2010


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]!




More information about the Squeak-dev mailing list