[Pharo-project] deleteAllHalos

stephane ducasse stephane.ducasse at free.fr
Wed Feb 9 18:01:19 CET 2011


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



More information about the Pharo-project mailing list