Comment 4 for bug 36013

Revision history for this message
In , Jason Grieves (jasongrieves) wrote :

(In reply to comment #3)

Thanks so much! This bug does a much better job keeping up with me. However as I type this bug in this box, it does not bring hte focus back correctly when it reaches the end of a line. Instead it appears to out of bounds and loses focus completely. The product is much more usable however to the gnome-mag screen magnifier.

> Created an attachment (id=205718) [edit]
> deal with the situation when there is no text to get
>
> this bug is caused by two things:
> 1. In nsMaiInterfaceText.cpp:getCharacterExtentsCB, it should be "if(!accText)"
> but not "if(accText)". This has been fix by some patch from Ginn Chen for
> another bug.
> 2. When user deleted all the text in a text box,
> nsAccessibleText::GetCharacterExtents() will end with error, Which the attached
> patch deals with.
>