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

tjohnson at iwu.edu tjohnson at iwu.edu
Thu Dec 18 23:18:30 UTC 2008


> 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



More information about the Squeak-dev mailing list