[squeak-dev] All instances belonging to the current project?

Bert Freudenberg bert at freudenbergs.de
Thu Mar 31 14:18:02 UTC 2011


On 31.03.2011, at 15:24, Dimitry Golubovsky wrote:

> Hi,
> 
> How can I get a list of all instances of some morph subclass that only
> belong to (visible in, were created under, or loaded with) the current
> project?
> 
> Squeak v3.9 if that matters (the one I have for the Android port).

(Project current world allMorphsAndBookPagesInto: Set new)
	select: [:m | m isKindOf: StringMorph]

- Bert -





More information about the Squeak-dev mailing list