[squeak-dev] [fix] Request for help: TextAnchor display broken in 3.9 and newer

Lukas Renggli renggli at gmail.com
Thu Dec 18 23:36:12 UTC 2008


I don't remember the details. As far as I remember is change was
necessary to add icons into the colums of OB. Nowadays OB has its own
ListMorph with custom drawing code so it probably doesen't matter
anyway.

On 12/19/08, tjohnson at iwu.edu <tjohnson at iwu.edu> wrote:
>
>> I don't think so. All subclasses of TextAttribute implement
>> #emphasizeScanner:. There would be no point in having the
>> TextAttribute class, if it does not implement #emphasizeScanner:. The
>> #emphasizeScanner: method is like the #accept: method in the visitor
>> pattern. If it is not there, the object is simply ignored.
>
> Also, it appears that the point of the TextAnchor class is to hold the
> #anchoredMorph.  The
> superclass, TextAttribute, specifically rejects #anchoredMorph.
>
> - TimJ
>
>


-- 
Lukas Renggli
http://www.lukas-renggli.ch



More information about the Squeak-dev mailing list