[Webkit-unassigned] [Bug 66681] Need API for getting surrounding text from webkit in chromium

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 2 13:31:19 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=66681





--- Comment #48 from Ryosuke Niwa <rniwa at webkit.org>  2011-09-02 13:31:19 PST ---
(In reply to comment #47)
> Several candidates, please choice one.
> 
> textAroundEditCaret(), getTextAroundEditCaret(), surroundingTextInEditableElement(), getSurroundingTextInEditableElement().

You probably need to include the word selection there because this API also obtains anchor and focus offsets.  Given that, how about getSelectionOffsetsAndTextInEditableContent?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list