[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:23:27 PDT 2011


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


Peng Huang <penghuang at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bryeung at chromium.org




--- Comment #47 from Peng Huang <penghuang at chromium.org>  2011-09-02 13:23:26 PST ---
(In reply to comment #46)
> (From update of attachment 106175 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=106175&action=review
> 
> > Source/WebKit/chromium/public/WebWidget.h:153
> > +    virtual bool getTextSurroundEditCaret(WebString&, size_t& focus, size_t& anchor) const { return false; }
> 
> "EditCaret" is inaccurate name because non-collapsed selection isn't a caret. Also you have two verbs (get & surround) here. It sounds as if you're making the text surround "edit-caret".

Several candidates, please choice one.

textAroundEditCaret(), getTextAroundEditCaret(), surroundingTextInEditableElement(), getSurroundingTextInEditableElement().

-- 
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