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

Tim Johnson tjohnson at iwu.edu
Thu Dec 18 21:55:12 UTC 2008


On Dec 18, 2008, at 12:18 PM, Lukas Renggli wrote:

>> I suppose this is something which should be fixed.  I am not sure  
>> of the
>> purpose of Lukas's override... hopefully he can shine some light on  
>> its
>> intended purpose.
>
> Check out these two threads:
>
> http://lists.squeakfoundation.org/pipermail/v3dot9/2006-January/000188.html
> http://lists.squeakfoundation.org/pipermail/v3dot9/2006-February/000229.html

Thanks, Lukas.  From what I can tell from these threads, your method  
override was not to fix anything, but rather was just put in place  
because the method was not present.  In removing your method, not only  
does Stéphane's code work, but also the BadgeMorph's text chat now  
works again* (this was the only code I could find in the image which  
actually used TextAnchor).  I would consider the BadgeMorph to be a  
true "proof of concept" so now that it works again maybe it is a sign  
that we should remove your change to TextAnchor.

I will go through the process of creating a Mantis report, creating  
test cases, making a changeset, ... I guess.  I don't know how to make  
a changeset that only says to remove a method.  Any guidance?

Thanks,
TimJ

* For the curious who want to test/repeat... open the Objects flap,  
drag out a Badge morph, enter your name if it asks, hit the button  
labelled "C".  Enter text in the top pane and hit return.  With  
TextAnchor>>#emphasizeScanner: in place, you will get two or three DNU  
windows.  Without TextAnchor>>#emphasizeScanner: in place, you will  
see a little avatar of yourself appear next to your message in the  
bottom page, and no DNUs.  Please don't try hitting the "T" on the  
BadgeMorph, though :)


More information about the Squeak-dev mailing list