<div dir="auto">Funny... not sure whether this is an intended and desirable feature though.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"> <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>> schrieb am Mi., 29. Jan. 2020, 18:27:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Christoph Thiede uploaded a new version of Tools to project The Inbox:<br>
<a href="http://source.squeak.org/inbox/Tools-ct.937.mcz" rel="noreferrer noreferrer" target="_blank">http://source.squeak.org/inbox/Tools-ct.937.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Tools-ct.937<br>
Author: ct<br>
Time: 29 January 2020, 6:26:57.711894 pm<br>
UUID: 34af35bc-83e2-9b40-9aa3-8f6af607ac6e<br>
Ancestors: Tools-mt.929<br>
<br>
Fixes a styling issue in the Workspace that missstyled class variables from Object as invalid (that is DependentsFields). This is a bug because you can access DependentsFields indeed.<br>
<br>
There is a subtle but important difference between the classOrMetaclass nil and the classOrMetaclass Object: The former does not respect any state for styling, but the latter respects class variables from Object (as well as, hypothetically, ProtoObject).<br>
<br>
Please note that it would be even more accurate to specify nil class instead of Object here, but I don't know whether we really want to emphasize the nuances of UndefinedObject. It feels rather like an implementation detail for me, at least in this context. (Just imagine UndefinedObject had a UniqueInstance class variable - would we really to access it from any Workspace?) Open for opinions.<br>
<br>
=============== Diff against Tools-mt.929 ===============<br>
<br>
Item was changed:<br>
  ----- Method: Workspace>>aboutToStyle: (in category 'code pane') -----<br>
  aboutToStyle: aStyler<br>
<br>
        self shouldStyle ifFalse: [ ^false ].<br>
+       aStyler<br>
+               parseAMethod: false;<br>
+               classOrMetaClass: Object;<br>
-       aStyler <br>
-               classOrMetaClass: nil;<br>
                workspace: self.<br>
        ^true!<br>
<br>
<br>
</blockquote></div>