[Pharo-project] Issue 4015 in pharo: Fix in SmalltalkEditor

pharo at googlecode.com pharo at googlecode.com
Thu Apr 14 13:50:21 CEST 2011


Comment #1 on issue 4015 by nicolas.... at gmail.com: Fix in SmalltalkEditor
http://code.google.com/p/pharo/issues/detail?id=4015

I 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.





More information about the Pharo-project mailing list