The Inbox: Morphic-ct.1622.mcz

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

The Inbox: Morphic-ct.1622.mcz

commits-2
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 ]!


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Morphic-ct.1622.mcz

Jakob Reschke
Good idea

<[hidden email]> schrieb am Do., 30. Jan. 2020, 19:05:
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 ]!