[Cuis-dev] LayoutMorph subclass instance #beColumn has not effect
Alexandre Rousseau
yalexr at gmail.com
Tue Mar 14 11:26:42 PDT 2023
And that's why it's still appreciated. :)
On Tue, Mar 14, 2023 at 1:47 PM Juan Vuletich <juan at cuis.st> wrote:
> On 3/13/2023 8:41 PM, Alexandre Rousseau wrote:
>
> I looked at the commit ...
>
> aMorph == self ifTrue: [^ self error: 'cannot be own submorph'].
>
>
> but this will not save me from a more insidious mistake such as ...
>
> m1 = Morph new.
>> m2 = Morph new.
>> m3 = Morph new.
>
> m1 addSubmorph: m2.
>> m2 addSubmorph: m3.
>> m3 addSubmorph: m1.
>
>
> Anyway, I didn't want to complicate your life/lives. Thanks for this. It
> will help reduce some mistakes.
>
> A.
>
>
> Right. But a single test for identity is quick, while a validation of the
> whole tree structure could get pretty expensive. That's why I didn't add it.
>
> Thanks,
>
> --
> Juan Vuletichcuis.stgithub.com/jvuletichresearchgate.net/profile/Juan-Vuletichindependent.academia.edu/JuanVuletichpatents.justia.com/inventor/juan-manuel-vuletichlinkedin.com/in/juan-vuletich-75611b3twitter.com/JuanVuletich
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230314/44a5b8e6/attachment.htm>
More information about the Cuis-dev
mailing list