Use Patti Yeh's hack to determine the appropriate rectangle
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Mar 2005 03:03:02 +0000 (03:03 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Mar 2005 03:03:02 +0000 (03:03 +0000)
commit2faf092a548a9f7f9afaf031808aecb90b044430
treedfe8ed3868154e4fce2d11d1321c46ffd5a812dc
parent254dab45ea613af87f2cae4927af8d48d6298ea4
Use Patti Yeh's hack to determine the appropriate rectangle
to place the "associated word" window.
If there is no marked text firstRectForCharacterRange: will
use the selected range to determine the returned rectangle,
ignoring the input range.  This is the fix from
4029491 that I previously backed out.

        Reviewed by Vicki.

        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView firstRectForCharacterRange:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/WebView.subproj/WebHTMLView.m