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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 31 11:54:40 PDT 2011


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





--- Comment #25 from Peng Huang <penghuang at chromium.org>  2011-08-31 11:54:40 PST ---
(In reply to comment #24)
> (In reply to comment #23)
> > How about getSurrounding() or getSurroundingTextAndSelection()? Or do you have some better suggestions?
> 
> Neither of those names signify the fact this function only works in editable region.

getSurroundingIfEditable(), getSurroundingAndSelectionIfEditable(), getInputSurrounding() or getInputSurroundingAndSelection(). 

? I can not get better names. BTW, I prefer without AndSelection suffix personally.

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