[squeak-dev] The Inbox: Morphic-ct.1622.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jan 30 18:05:12 UTC 2020


Christoph Thiede uploaded a new version of Morphic to project The Inbox:
http://source.squeak.org/inbox/Morphic-ct.1622.mcz

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

Name: Morphic-ct.1622
Author: ct
Time: 30 January 2020, 7:05:04.363325 pm
UUID: 8641b370-6222-f948-aeda-fbb50f764f72
Ancestors: Morphic-cmm.1618

Proposal: Swap key and item of an Integer's explorer contents. Integer representations are not really keys, but rather values. In an explorer's code pane, this allows you to interact with the selected string representation (for example '101010') which is much more interesting than the base name (for example 'binary').

=============== Diff against Morphic-cmm.1618 ===============

Item was changed:
  ----- Method: Integer>>explorerContents (in category '*Morphic-Explorer') -----
  explorerContents
  
  	^#(
  		('hexadecimal' 16)
  		('octal' 8)
  		('binary' 2)) collect: [ :each |
  			ObjectExplorerWrapper
+ 				with: (self printStringBase: each second)
+ 				name: each first translated
- 				with: each first translated
- 				name: (self printStringBase: each second)
  				model: self ]!



More information about the Squeak-dev mailing list