the "script manager" in Stable Squeak

Stephen Pair spair at advantive.com
Thu May 24 17:29:44 UTC 2001


Jon Hylands wrote:
> I don't know... One of the central tenants of the way that text panes
> in Smalltalk work is that DoIts are done in the context of what you're
> looking at. Since a workspace really has no central object, nil works
> well. In an inspector, the context is the object being inspected. In a
> browser, the context is the class being browsed.
>
> If you had a UserWorkspace, then it might make sense to have it use
> the current user as the context...

Right...but, isn't that exactly what a workspace is...a "user workspace?"
I'd even argue that the usage of "self" as the thing you are looking at is a
misuse...would it make more sense to have a special variable called
"theThingImLookingAt" (please don't take me literally).

- Stephen





More information about the Squeak-dev mailing list