[Webkit-unassigned] [Bug 52781] Inserting multiple whitespace using text composition (IME) should insert interleaved nbsp and whitespace.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 24 18:59:27 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=52781
--- Comment #11 from Ojan Vafai <ojan at chromium.org> 2011-01-24 18:59:26 PST ---
(From update of attachment 79951)
View in context: https://bugs.webkit.org/attachment.cgi?id=79951&action=review
>>> Source/WebCore/editing/htmlediting.cpp:359
>>> + Vector<UChar> rebalanacedString;
>>
>> s/rebalanacedString/rebalancedString
>>
>> Also, why use a Vector<UChar> instead of String like the old code did?
>
> As far I checked, we can't modify each character in String directly (because multiple String instances may share single StringImpl). i.e. String only has UChar operator[](unsigned index) const.
I don't understand. Isn't that what the old code was doing with the "replace" calls?
--
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