richedit: Made sure the caret position is stored when moving up/down

Dylan Smith dylan.ah.smith at gmail.com
Thu Jun 26 15:17:28 CDT 2008


The caret's x position should be stored in ME_TextEditor.nUDArrowX so
that when the caret is moved up or down, it will stay along the same
horizontal position, or at the end of a line.  Moving past a blank line
will show the bug, because the cursor will stay to the left side on
further up/down movements.

This patch fixes this issue.
---
 dlls/riched20/caret.c  |    1 -
 dlls/riched20/editor.c |    9 +++++++--
 2 files changed, 7 insertions(+), 3 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Made-sure-the-caret-position-is-stored.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080626/b7ac87fc/attachment.txt 


More information about the wine-patches mailing list