> Nice catch! I actually assumed that the styler resets its state before calling into the model. :-O<br>
<br>
What do you think, should we establish that? :-)<br>
<br>
Best,<br>
Christoph<br>
<br>
<font color="#808080">---<br>
</font><font color="#808080"><i>Sent from </i></font><font color="#808080"><i><a href="https://github.com/hpi-swa-lab/squeak-inbox-talk"><u><font color="#808080">Squeak Inbox Talk</font></u></a></i></font><br>
<br>
On 2021-12-16T11:15:17+01:00, marcel.taeumel@hpi.de wrote:<br>
<br>
> Nice catch! I actually assumed that the styler resets its state before calling into the model. :-O<br>
> <br>
> Best,<br>
> Marcel<br>
> Am 15.12.2021 20:01:36 schrieb commits at source.squeak.org <commits at source.squeak.org>:<br>
> Christoph Thiede uploaded a new version of Tools to project The Trunk:<br>
> http://source.squeak.org/trunk/Tools-ct.1091.mcz<br>
> <br>
> ==================== Summary ====================<br>
> <br>
> Name: Tools-ct.1091<br>
> Author: ct<br>
> Time: 15 December 2021, 8:01:22.087022 pm<br>
> UUID: 5b6f6413-b247-5642-8890-68b2ccfacbdc<br>
> Ancestors: Tools-ct.1089<br>
> <br>
> Fixes a slip introduced with BlockClosureInspector. Make sure to reset the styler's workspace variable after switching to a different kind of inspector (i.e., in the context of a debugger). Otherwise, you might see error messages such as "MessageNotUnderstood: Inspector>>hasBindingOf:". :-)<br>
> <br>
> =============== Diff against Tools-ct.1089 ===============<br>
> <br>
> Item was changed:<br>
> ----- Method: Inspector>>updateStyler:requestor: (in category 'user interface - styling') -----<br>
> updateStyler: aStyler requestor: anObject<br>
> "Use this method to update our fieldListStyler and all view stylers."<br>
> <br>
> aStyler<br>
> environment: self environment;<br>
> classOrMetaClass: (self doItReceiver perform: #class "do not inline send of #class, receiver could be a proxy");<br>
> context: self doItContext;<br>
> + parseAMethod: false;<br>
> + workspace: nil "Normally we don't need this, but probably a workspace has been specified when the receiver was belonging to another class. See #inspect: and BlockClosureInspector >> #updateStyler:requestor:.".!<br>
> - parseAMethod: false.!<br>
> <br>
> <br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211216/192a2c30/attachment.html><br>
> <br>