[Cuis] Implementors of initWithContents:font:emphasis:
H. Hirzel
hannes.hirzel at gmail.com
Tue Sep 8 12:24:25 CDT 2015
Hi Dan
No. The three morphs you mention all have instance variables
font emphasis
whereas the sibling morphs do not have these variables neither does Morph.
So the reason of not doing it is that we do not want these instance
variables to be in the other Morphs where they are not used.
--Hannes
On 9/8/15, Dan Norton <dnorton at mindspring.com> wrote:
> Greetings,
>
> The following implement #initWithContents:font:emphasis: identically:
>
> MinimalStringMorph
> OneLineEditorMorph
> StringMorph
>
> and they all inherit from:
>
> Morph
> RectangleLikeMorph
>
> So, refactoring seems to be in order, maybe by pulling
> #initWithContents:font:emphasis: up
> into Morph. What do you think?
>
> - Dan
>
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>
More information about the Cuis
mailing list