[squeak-dev] The Trunk: ToolBuilder-Kernel-mt.153.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Feb 9 13:01:45 UTC 2022


Marcel Taeumel uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-mt.153.mcz

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

Name: ToolBuilder-Kernel-mt.153
Author: mt
Time: 9 February 2022, 2:01:45.074754 pm
UUID: ebaff8f0-64ac-b34e-8a3c-11a3cc9e9460
Ancestors: ToolBuilder-Kernel-mt.152

When you search for a class, indicate in the result list whether that class is deprecated or not.

Complements Tools-mt.1129.

=============== Diff against ToolBuilder-Kernel-mt.152 ===============

Item was changed:
  ----- Method: UIManager>>classOrTraitFrom:pattern:label: (in category 'system introspecting') -----
  classOrTraitFrom: environment pattern: pattern label: label
  	
  	^ ((SystemNavigation for: environment) allClassesAndTraitsMatching: pattern)
  		ifEmpty: [nil]
  		ifNotEmpty: [:results |
  			results size = 1
  				ifTrue: [results first]
  				ifFalse: [self
+ 							chooseFrom: (results collect: [:each | 
+ 								each isDeprecated
+ 									ifTrue: [each name asText addAttributesForDeprecation]
+ 									ifFalse: [each name]])
- 							chooseFrom: (results collect: [:each | each name])
  							values: results
  							title: label]]!



More information about the Squeak-dev mailing list