[Pharo-dev] Extending a Class by adding an Instance Variable

Sean P. DeNigris sean at clipperadams.com
Sat Feb 1 23:21:37 EST 2020

SmalltalkVimMode adds an instance variable to RubSmalltalkEditor so it can
track whether it is in normal/insert mode, etc. Currently, the inst var is
undeclared when the project is loaded and one has to manually edit the class
def to add it.

Is there an elegant way to handle this? I can't think of a way that isn't
awkward, dirtying packages, or leaving zombie objects around when editors

Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

More information about the Pharo-dev mailing list