[Webkit-unassigned] [Bug 78856] visual word movement: Using ICU break iterator to simplify implementation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 15 14:12:14 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=78856
--- Comment #24 from Xiaomei Ji <xji at chromium.org> 2012-03-15 14:12:14 PST ---
(From update of attachment 132101)
View in context: https://bugs.webkit.org/attachment.cgi?id=132101&action=review
>> Source/WebCore/editing/visible_units.cpp:177
>> + }
>
> Maybe you can extract a function here (e.g. boxIndexInVector) and use it in nextBoxInLine as well? You can subtract/add 1 outside of the function, right?
done.
>> Source/WebCore/editing/visible_units.cpp:214
>> + break;
>
> I think it's better to do:
> if (!leafBoxesInLogicalOrder.size())
> break;
> startBox = leafBoxesInLogicalOrder[0];
done.
>> Source/WebCore/editing/visible_units.cpp:274
>> + break;
>
> Ditto.
done.
--
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