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".
Cheers, - Andreas