[Webkit-unassigned] [Bug 24419] WordAwareIterator not working in WebCore/editing/Editor.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 6 00:06:02 PST 2009


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


mrowe at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrowe at apple.com




------- Comment #1 from mrowe at apple.com  2009-03-06 00:06 PDT -------
It's not quite clear to me what you think is wrong.  it.characters() returns a
pointer into a given buffer.  it.length() returns the number of characters in
the current word.  The buffer that it.characters() points in to may be
substantially longer than the value returned by it.length(), which I suspect is
what is throwing you off, but that is because the underlying buffer is probably
the one associated with a DOM node or similar and allocating a new buffer per
word would be slooooow.

Am I missing something here?


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