[squeak-dev] Using SystemEditor (was: Re: Instance variable
access in superclasses.)
Matthew Fulmer
tapplek at gmail.com
Thu Nov 27 01:51:57 UTC 2008
On Wed, Nov 26, 2008 at 09:06:16AM -0800, Andreas Raab wrote:
> Matthew Fulmer wrote:
> > The syntax to do that is:
> >
> > ed := SystemEditor new.
> > (ed at: #Morph) addInstVarName: #foo.
> > ed commitWithProgress.
> >
> > Adding an instance variable to Morph used to work, but now it
> > runs out of memory :P
>
> This doesn't seem to work. If I do something a little simpler:
>
> ed := SystemEditor new.
> (ed at: #SimpleButtonMorph) addInstVarName: #foo.
> ed commitWithProgress.
>
> it completes but subinstances of SimpleButtonMorph are not correctly
> migrated. Try inspecting foo in "IconicButton someInstance" or in
> "UpdatingSimpleButtonMorph someInstance".
I don't see any incorrect migration of the ivar layout, but I
did find out that the methods aren't being recompiled. I fixed
this in 161.
--
Matthew Fulmer -- http://mtfulmer.wordpress.com/
More information about the Squeak-dev
mailing list
|