On 13 Mar 2014, at 22:46, Sven Van Caekenberghe <s...@stfx.eu> wrote:

> Maybe #childrenFor[Object]: can be used to shortcut the depth of the tree. 
> For strings characters could then no longer be shown.

Well, this does the trick, but it is getting uglier:

EyeTreeInspector>>#childrenForObject: anObject
        anObject isString ifTrue: [ ^ #() ].
        ^ anObject inspector elements
                reject: [ :element | 
                        (element isKindOf: SelfEyeElement)
                                or: [ (element isKindOf: AllInstVarsEyeElement) 
                                        or: [ element isKindOf: ClassEyeElement 
] ] ]

This gives you clean strings in the explorer/tree.

Reply via email to