[Webkit-unassigned] [Bug 58294] continue (3rd) experiment with moving caret by word in visual order

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 12 10:56:35 PDT 2011


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





--- Comment #3 from Xiaomei Ji <xji at chromium.org>  2011-04-12 10:56:35 PST ---
(From update of attachment 89134)
View in context: https://bugs.webkit.org/attachment.cgi?id=89134&action=review

>> Source/WebCore/editing/visible_units.cpp:1381
>> +static VisiblePosition orderedLastWordBounaryInBox(const InlineBox* box, int offset, TextDirection blockDirection)
> 
> What does "ordered last word boundary" mean?

Needs comments here.

Word boundaries are visually ordered. It is ordered from right to left for LTR block, and ordered from left to right for RTL block. (as comments in nextWordBreakInBoxInsideBlockWithDifferentDirectionality and previousWordBreakInBoxInsideBlockWithSameDirectionality). 
this returns the last word boundary in this ordered list.

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