[Webkit-unassigned] [Bug 114871] [GTK] Reimplement atk_text_get_text_*_offset for WORD boundaries

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 26 08:03:05 PDT 2013


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





--- Comment #11 from Mario Sanchez Prada <mario at webkit.org>  2013-06-26 08:05:00 PST ---
(In reply to comment #10)
> [...]
> >> Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp:806
> >> +        return webkitAccessibleTextGetWord(text, offset, boundaryType, textPosition, startOffset, endOffset);
> > 
> > webkitAccessibleTextGetWord -> webkitAccessibleTextGetAtWordBoundary?
> 
> Ok

Well, actually I would name it webkitAccessibleTextGetWordForBoundary() instead, since this static function is used internally for the AT, AFTER and BEFORE cases (see the textPosition param), not only the AT one.

Also, you are not getting anything "at the word boundary", you are getting the word at/after/before the word at the specified offset :)

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