[Webkit-unassigned] [Bug 73124] Backwards text iterators occassionally missing whitespaces

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 30 10:30:01 PST 2011


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





--- Comment #1 from Darin Adler <darin at apple.com>  2011-11-30 10:30:01 PST ---
(In reply to comment #0)
> Is this intentional as the 'Simplified' in the class name suggests?

Well, the idea of SimplifiedBackwardTextIterator is that it doesn’t do everything the real text iterator does. Because of that, it can only be used for certain limited purposes.

Precisely what it does and does not do is not clearly defined; it would be good if it was, but it would be a challenge.

The real answer to your question is that if there is a problem caused by the lack of these spaces, then we need to evaluate possible fixes to that concrete problem. Generally speaking, it would be extremely challenging to build a full version of TextIterator that works backwards, and may be impossible to do so efficiently.

I am concerned that BackwardsCharacterIterator exists. Its name seems to over-promise! I don’t know when it was added or what it is used for.

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