[2/4] richedit: Fixed the forward word movement bug. (try 2)

Dylan Smith dylan.ah.smith at gmail.com
Tue May 13 18:11:00 CDT 2008

Using Ctrl-RightArrow to move to the start of the next word did not
previously work when at the start of a word.  This means that
Ctrl-RightArrow would not work twice in a row since it should move to
the start of the next word.  This commit fixes this bug.

A test was also added to prevent a regression and show that the
behavior is now consistent
with native Windows.
 dlls/riched20/string.c       |   16 ++-------
 dlls/riched20/tests/editor.c |   72 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+), 12 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-richedit-Fixed-the-forward-word-movement-bug.diff
Type: text/x-diff
Size: 4207 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080513/c7e4c803/attachment.diff 

More information about the wine-patches mailing list