richedit: Fixed the forward word movement bug.

Dylan Smith dylan.ah.smith at
Wed Jun 25 10:33:19 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: 0001-richedit-Fixed-the-forward-word-movement-bug.diff
Type: text/x-diff
Size: 4218 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list