Jan. 8, 2013
1:22 a.m.
On 7 January 2013 23:32, Igor Stasenko <siguctua@gmail.com> wrote:
Workspace allInstances collect: [:ea | ea contents
Following your example I used this expression 'TextMorphForEditView allInstances collect: [ :ea | ea text]'.to get the text in all the TextMorphForEditView instances without have to Cmd-S them first.. In my case I need to know if the TextMorphForEditView belongs to a Workspace. Is there a message for checking if an object is a child object of a particular class further up the hierarchy,.something along the lines of: isTrue(TextMorphForEditViewObject childOf: Workspace) and conversely isTrue(WorkspaceObject parentOf: TextMorphForEditView) ? -- Frank Church ======================= http://devblog.brahmancreations.com