2008/11/27 Stéphane Ducasse <[EMAIL PROTECTED]>: > Hi all > > now I understand when I look for senders of objectViewed > I get the method signature selected and it would be great if in such a case > the real occurence would be selected instead > > > objectViewed > "Answer the morph associated with the player that the structure the > receiver currently finds itself within represents." > > ^ (self outermostMorphThat: [:o | o isKindOf: Viewer orOf: > ScriptEditorMorph]) objectViewed >
Uh-oh #isKindOf:orOf: poor me, didn't knew that using isKindOf: is evil. Now i'll use it anywhere! Its fantastic method! I think we should also have #isKindOf:orOf:orOf: as well :) > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
