<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>> <span style="font-size: 12pt;">Well, but it makes no sense to browse a uniclass, does it? Except, maybe, if you manage to add new code to those uniclasses via Squeak's reflection interface. And then want to get a code browser for that.</span></p>
<div><br>
</div>
<div>I use #newSubclass every week for playing around with things and it's not even located in the EToys package :-)</div>
<div><br>
</div>
<div>It might be not a top important feature, but I think it would be nice if Squeak would not have these arbitrary limitations, so I would be happy to fix this (before or after the release).</div>
<div>Would there be any good reason to refer to #Smalltalk instead of #environment or #selectedEnvironment from within the Brower?</div>
<div><br>
</div>
<div>Best,</div>
<div>Christoph</div>
<p></p>
<div id="Signature">
<div id="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="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel<br>
<b>Gesendet:</b> Montag, 24. Februar 2020 15:01:18<br>
<b>An:</b> John Pfersich via Squeak-dev<br>
<b>Betreff:</b> Re: [squeak-dev] [BUG] Browsing uniclasses</font>
<div> </div>
</div>
<div>
<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
Well, but it makes no sense to browse a uniclass, does it? Except, maybe, if you manage to add new code to those uniclasses via Squeak's reflection interface. And then want to get a code browser for that.
<div><br>
</div>
<div>Otherwise, use the uniclass's base class to browse.</div>
<div><br>
</div>
<div>Uniclasses are basically for Etoys only and have limited tool support in Squeak's standard code browsing tools. It's a little bit like object-as-method. :-)</div>
<div><br>
</div>
<div>Best,</div>
<div>Marcel</div>
<div class="mb_sig"></div>
<blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
<p style="color: #AAAAAA; margin-top: 10px;">Am 24.02.2020 14:50:36 schrieb Thiede, Christoph <christoph.thiede@student.hpi.uni-potsdam.de>:</p>
<div style="font-family:Arial,Helvetica,sans-serif">
<div id="divtagdefaultwrapper" style="font-size: 12pt;color: #000000;font-family: Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hi Marcel,</p>
<p><br>
</p>
<p>but it should not be a big task to support them, should it? After fixing #hasClassSelected, I could compile and categorize methods as usual ...</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
<div id="Signature">
<div id="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="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif;font-size: ;margin: 0">
<div><span style="font-size: 10pt;color: #808080"></span></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><span style="font-family: Calibri, sans-serif;color: #000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel<br>
<b>Gesendet:</b> Montag, 24. Februar 2020 14:42:26<br>
<b>An:</b> John Pfersich via Squeak-dev<br>
<b>Betreff:</b> Re: [squeak-dev] [BUG] Browsing uniclasses</span>
<div> </div>
</div>
<div>
<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
Hi Christoph,
<div><br>
</div>
<div>uniclasses do not show up in the System Browser; they are not supported there. Yes, there can be strange behavior if you still try to. :-)</div>
<div><br>
</div>
<div>Best,</div>
<div>Marcel</div>
<div class="mb_sig"></div>
<blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
<p style="color: #AAAAAA; margin-top: 10px;">Am 24.02.2020 14:37:44 schrieb Thiede, Christoph <christoph.thiede@student.hpi.uni-potsdam.de>:</p>
<div style="font-family:Arial,Helvetica,sans-serif">
<div id="divtagdefaultwrapper" style="font-size: 12pt;color: #000000;font-family: Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hi all,</p>
<p><br>
</p>
<p>there is another small bug IWLT fix for the release:</p>
<p><br>
</p>
<p><img size="48225" contenttype="image/png" id="img651945" style="user-select: none;" contextid="img968959" tabindex="0" height="180" width="329" sizeoption="small" src="cid:aa5eb5d7-bdf8-4287-ab79-d2f540ce587e"><!-- </img> --><!-- </img> --><br>
</p>
<p><br>
</p>
<p>The message [category] list is empty.</p>
<p><br>
</p>
<p>At first glance, Browser >> #<span style="font-size: 12pt">hasClassSelected is erroneous because it hardcodes Smalltalk instead of the displayed environment:</span></p>
<p><br>
</p>
<blockquote style="margin: 0 0 0 40px;border: none;padding: 0px;min-width: 500px">
<p>hasClassSelected</p>
<p></p>
<div><span style="white-space:pre"></span>^ selectedClassName notNil and: [(Smalltalk classNamed: selectedClassName) notNil]</div>
<p></p>
</blockquote>
<p><span style="font-size: 12pt"></span></p>
<div><br>
</div>
<div>Is my assumption correct that there should be almost zero references to Smalltalk in Browser & Co.?</div>
<div>Now I have to ask the question of whether you should use self environment or self selectedEnvironment here. What's the difference?</div>
<div><br>
</div>
<div>Best,</div>
<div>Christoph</div>
<p></p>
<div id="Signature">
<div id="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="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif;font-size: ;margin: 0">
<div><span style="font-size: 10pt;color: #808080"></span></div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>