richedit: Allow cursor to move over trailing spaces in wrapped lines

Dylan Smith dylan.ah.smith at gmail.com
Mon Jun 23 16:09:44 CDT 2008


To test the bug, open wordpad with a paragraph that is long enough to
need wrapping, then put some extra spaces at the end of one of the
wrapped lines (i.e. not the end of the paragraph).  Use the arrow keys
to move over the spaces, and notice how the cursor does not move when
moving between them as if they have no size.  I tested on Windows and
this behaviour is indeed inconsistent with native richedit controls.

This patch fixes the bug mentioned above.
---
 dlls/riched20/caret.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0041-richedit-Allow-cursor-to-move-over-trailing-spaces-i.diff
Type: text/x-diff
Size: 568 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080623/6e5f1f81/attachment.diff 


More information about the wine-patches mailing list