Comment #1 on issue 4015 by
[hidden email]: Fix in SmalltalkEditor
http://code.google.com/p/pharo/issues/detail?id=4015I would ban or refactor selectedClassOrMetaClass.
First, it should be Metaclass rather than MetaClass.
Then, it should be selectedClassOrMetaclassOrTraitOrClassTrait given
current implementation.
And finally, why not just selectedBehavior ?
Maybe both should be selectedBehavior.
Just add it to your dispatch method for a transient time (to avoid
complaints coming from various OB, O2 & co), then zap the entire workaround.