[squeak-dev] The Trunk: Tools-ct.1091.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Thu Dec 16 10:15:17 UTC 2021

Nice catch! I actually assumed that the styler resets its state before calling into the model. :-O

Am 15.12.2021 20:01:36 schrieb commits at source.squeak.org <commits at source.squeak.org>:
Christoph Thiede uploaded a new version of Tools to project The Trunk:

==================== Summary ====================

Name: Tools-ct.1091
Author: ct
Time: 15 December 2021, 8:01:22.087022 pm
UUID: 5b6f6413-b247-5642-8890-68b2ccfacbdc
Ancestors: Tools-ct.1089

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:". :-)

=============== Diff against Tools-ct.1089 ===============

Item was changed:
----- Method: Inspector>>updateStyler:requestor: (in category 'user interface - styling') -----
updateStyler: aStyler requestor: anObject
"Use this method to update our fieldListStyler and all view stylers."

environment: self environment;
classOrMetaClass: (self doItReceiver perform: #class "do not inline send of #class, receiver could be a proxy");
context: self doItContext;
+ parseAMethod: false;
+ 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:.".!
- parseAMethod: false.!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211216/192a2c30/attachment.html>

More information about the Squeak-dev mailing list