[Webkit-unassigned] [Bug 110487] Ctrl+Shift+Right in Windows should select the spacing after the word

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 28 00:20:08 PST 2013


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





--- Comment #32 from Ryosuke Niwa <rniwa at webkit.org>  2013-02-28 00:22:32 PST ---
(In reply to comment #30)
> (In reply to comment #29)
> > (From update of attachment 190658 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=190658&action=review
> > 
> > > Source/WebCore/platform/text/TextBoundaries.cpp:65
> > > -int findNextWordFromIndex(const UChar* chars, int len, int position, bool forward)
> > > +int findNextWordFromIndex(const UChar* chars, int len, int position, bool forward, bool skipSpaces)
> > 
> > It's not a good idea to modify findNextWordFromIndex like this. Please follow what we did for visualWordPosition.
> 
> Thanks for the comments. Not sure I understand though. visualWordPosition() is used from left/rightWordPosition(). For the platforms where the wordbreak is not available, the fallback is going to lead to findNextWordFromIndex() too.. would you mind clarifying what exactly you mean?

The technique we used there is to move forward twice and go back.

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