deleteAllHalos

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

deleteAllHalos

stephane ducasse

PasteUpMorph>>abandonAllHalos
        self flag: #arNote. "Remove the method"
        ^self deleteAllHalos

PasteUpMorph>>deleteAllHalos
        self halt.
        self haloMorphs
                do: [:each | (each target isKindOf: SelectionMorph)
                                ifTrue: [each target delete]].
        self hands
                do: [:each | each removeHalo]

it looks to me that this is totally useless :).
self haloMorphs always returns #()

now even when I completely comment the method deleteAllHalos
destroying a morph or a selectionMorph destroy all the halos and the selected morph.

Does anybody has experience with that?

stef