[squeak-dev] The Trunk: ToolBuilder-Morphic-mt.316.mcz

commits at source.squeak.org commits at source.squeak.org
Tue May 17 10:05:53 UTC 2022


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

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

Name: ToolBuilder-Morphic-mt.316
Author: mt
Time: 17 May 2022, 12:05:53.947268 pm
UUID: ef0921f4-e7e6-ed4f-934f-00909c007c06
Ancestors: ToolBuilder-Morphic-mt.315

Complement Tools-mt.1157

=============== Diff against ToolBuilder-Morphic-mt.315 ===============

Item was changed:
  ----- Method: MorphicUIManager>>chooseClassOrTrait:from:withRecentList: (in category 'ui requests') -----
+ chooseClassOrTrait: label from: environment withRecentList: recentListWithFormatting
- chooseClassOrTrait: label from: environment withRecentList: recentList
  	"Let the user choose a Class or Trait. Use ListChooser in Morphic."
  	
  	| names index |
  	names := environment classAndTraitNames.
+ 	recentListWithFormatting ifNotNil:
+ 		[names := names asOrderedCollection addAllFirst: recentListWithFormatting; yourself ].
- 	recentList ifNotNil:
- 		[names := names asOrderedCollection addAllFirst: recentList; yourself ].
  	index := self
  		chooseFrom: names
  		lines: #()
  		title: label.
  	index = 0 ifTrue: [ ^nil ].
  	^environment
+ 		at: (names at: index) asSymbol "Drop formatting"
- 		at: (names at: index)
  		ifAbsent: [ nil ]!



More information about the Squeak-dev mailing list