[Webkit-unassigned] [Bug 25415] [GTK][ATK] Please implement support for get_text_at_offset

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 14 08:50:44 PDT 2009


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





------- Comment #7 from joanmarie.diggs at gmail.com  2009-05-14 08:50 PDT -------
(In reply to comment #6)

> Mmm, I thought I had, but it seems I was wrong. Looking at what Gecko does it
> seems to me that for LINE_{START,END} we want the *visual* lines, not the
> logical ones, right? That is, what is returned in a getText(0, -1) might be
> "One two three four five six seven eight nine ten.", but if that's split in 5
> lines of two items in the browser getTextAtOffset(0, TEXT_BOUNDARY_LINE_START)
> would be "one two". Am I right?

You are indeed. And this should occur regardless of why the line is split (e.g.
forced to split by <br /> or just happens to split due to text wrapping).

> OK, I'll look into this.

Awesome. Thanks!


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



More information about the webkit-unassigned mailing list