Marcel Taeumel uploaded a new version of Morphic to project The Trunk: http://source.squeak.org/trunk/Morphic-mt.2146.mcz
==================== Summary ====================
Name: Morphic-mt.2146 Author: mt Time: 4 December 2023, 10:41:12.878721 am UUID: 0270eb19-334f-bf46-9eea-dadbeeb695e7 Ancestors: Morphic-mt.2145
Complements Collections-mt.1057 for object explorers: - For bags, show number of occurances - For sets, drop that serial number to not imply index-based access
=============== Diff against Morphic-mt.2145 ===============
Item was added: + ----- Method: Bag>>explorerContents (in category '*Morphic-Explorer') ----- + explorerContents + "Show the receiver's contents in a compact way, similar to its #printString representation." + + ^ self valuesAndCounts withKeysSortedSafely associations withIndexCollect: [:assoc :index | + ObjectExplorerWrapper + with: assoc key + name: assoc value "i.e., number of occasions" printString, '×' + model: self]!
Item was changed: ----- Method: Set>>explorerContents (in category '*Morphic-Explorer') ----- explorerContents + "Like dictionaries, indicate some human-readable sort order, yet refrain from showing a serial number to not imply index-based access."
^Array new: self size streamContents: [ :stream | + self sortedSafely do: [ :each | - self do: [ :each | stream nextPut: ( ObjectExplorerWrapper with: each + name: '·' "i.e., no order, no index-based access" - name: (stream position + 1) printString model: self) ] ]!
packages@lists.squeakfoundation.org