The Trunk: ToolBuilder-Morphic-mt.267.mcz

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

The Trunk: ToolBuilder-Morphic-mt.267.mcz

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

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

Name: ToolBuilder-Morphic-mt.267
Author: mt
Time: 14 October 2020, 1:52:03.144569 pm
UUID: f8079b45-af97-5f4c-a80d-13f110caec22
Ancestors: ToolBuilder-Morphic-mt.266

Rename #collectWithIndex: to #withIndexCollect:. See http://forum.world.st/The-Inbox-60Deprecated-ct-80-mcz-td5120706.html

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

Item was changed:
  ----- Method: PluggableTreeMorph>>nodesForChildren:inNode: (in category 'node access') -----
  nodesForChildren: aCollection inNode: anObject
 
  ^ aCollection isSequenceable
+ ifTrue: [aCollection withIndexCollect:
- ifTrue: [aCollection collectWithIndex:
  [:item :index |
  self instantiateNodeWithContents: item index: index parent: anObject]]
  ifFalse: [ | count |
  count := 0. "artificial index."
  aCollection collect:
  [:item |
  count := count + 1.
  self instantiateNodeWithContents: item index: count parent: anObject]]!