<div dir="ltr">It might be possible to augment the 'copy values' to pull out a better answer, such as 2r101010 when a number is showing '0010 1010'.<div><br></div><div>All the data is there - it just might be a bit tricky getting to it.</div><div><br></div><div>-cbc</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 5, 2020 at 4:46 AM Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de">Christoph.Thiede@student.hpi.uni-potsdam.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div id="gmail-m_8314269424356992808divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p><span style="font-size:12pt">Hi Marcel,</span><br>
</p>
<div dir="ltr">
<div id="gmail-m_8314269424356992808x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p><br>
</p>
<p>with the current Trunk version, I can copy the value of any of these representations and reevaluate it:</p>
<p><br>
</p>
<p><img size="22886" id="gmail-m_8314269424356992808x_img761773" style="max-width: 99.9%;" src="cid:172851f5999f456b1e51"><br>
</p>
<p><br>
</p>
<p>I just wanted to note that this won't be possible even longer if we start inserting spaces in that representation.</p>
<p><br>
</p>
<p>Btw, just for inspiration here is how they deal with this in C#: <a href="https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-7.0/digit-separators" id="gmail-m_8314269424356992808LPlnk196696" target="_blank">https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-7.0/digit-separators</a></p>
<p>Allow expressions like 2r10_1010 in Smalltalk? This would probably contrast with the minimality of the Smalltalk language. :-)</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
<div id="gmail-m_8314269424356992808x_Signature">
<div id="gmail-m_8314269424356992808x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="x_divtagdefaultwrapper">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_8314269424356992808x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <<a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" target="_blank">squeak-dev-bounces@lists.squeakfoundation.org</a>> im Auftrag von Tobias Pape <<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>><br>
<b>Gesendet:</b> Freitag, 5. Juni 2020 12:59:18<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] The Inbox: Morphic-mt.1664.mcz</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt">
<div>yes!<br>
-t<br>
> On 05.06.2020, at 12:01, Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de" target="_blank">marcel.taeumel@hpi.de</a>> wrote:<br>
> <br>
> Like this?<br>
> <br>
> <br>
> <br>
> Best,<br>
> Marcel<br>
>> Am 05.06.2020 11:59:19 schrieb Tobias Pape <<a href="mailto:das.linux@gmx.de" target="_blank">das.linux@gmx.de</a>>:<br>
>> <br>
>> <br>
>> > On 05.06.2020, at 11:51, Marcel Taeumel wrote:<br>
>> > <br>
>> > Here is an example:<br>
>> > <br>
>> <br>
>> <br>
>> Nice!<br>
>> <br>
>> Here's my thought: binary should be 4 or 8, octal 3 and hex 2 digits :)<br>
>> <br>
>> best regards<br>
>> -Tobias<br>
>> <br>
>> > <br>
>> > <br>
>> > Best,<br>
>> > Marcel<br>
>> >> Am 05.06.2020 11:50:15 schrieb <a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a> :<br>
>> >> <br>
>> >> A new version of Morphic was added to project The Inbox:<br>
>> >> <a href="http://source.squeak.org/inbox/Morphic-mt.1664.mcz" id="gmail-m_8314269424356992808LPlnk498913" target="_blank">
http://source.squeak.org/inbox/Morphic-mt.1664.mcz</a><br>
>> >> <br>
>> >> ==================== Summary ====================<br>
>> >> <br>
>> >> Name: Morphic-mt.1664<br>
>> >> Author: mt<br>
>> >> Time: 5 June 2020, 11:49:58.884634 am<br>
>> >> UUID: 8a563509-bb80-b34a-a723-9bcc1a586f10<br>
>> >> Ancestors: Morphic-mt.1663<br>
>> >> <br>
>> >> Proposal of different format to print integers in the object explorer. Print them in groups of, e.g., 4 digits, separated by a space character.<br>
>> >> <br>
>> >> I am sure that the actual implementation can be improved. :-)<br>
>> >> <br>
>> >> =============== Diff against Morphic-mt.1663 ===============<br>
>> >> <br>
>> >> Item was changed:<br>
>> >> ----- Method: Integer>>explorerContents (in category '*Morphic-Explorer') -----<br>
>> >> explorerContents<br>
>> >> <br>
>> >> ^#(<br>
>> >> + ('hexadecimal' 16 4)<br>
>> >> + ('octal' 8 4)<br>
>> >> + ('binary' 2 4)) collect: [ :each | | label group |<br>
>> >> + group := each third.<br>
>> >> + label := self printStringBase: each second.<br>
>> >> + label := label padded: #left to: (label size roundUpTo: group) with: $0.<br>
>> >> + label := String streamContents: [:s |<br>
>> >> + 1 to: label size by: group do: [:index |<br>
>> >> + 1 to: group do: [:gIndex |<br>
>> >> + s nextPut: (label at: index + gIndex - 1)].<br>
>> >> + s space]].<br>
>> >> + <br>
>> >> - ('hexadecimal' 16)<br>
>> >> - ('octal' 8)<br>
>> >> - ('binary' 2)) collect: [ :each |<br>
>> >> ObjectExplorerWrapper<br>
>> >> + with: label<br>
>> >> - with: (self printStringBase: each second)<br>
>> >> name: each first translated<br>
>> >> model: self ]!<br>
>> >> <br>
>> >> <br>
>> > <br>
>> <br>
>> <br>
>> <br>
> <br>
<br>
<br>
<br>
</div>
</span></font></div>
</div>

<br>
</blockquote></div>