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

Dylan Smith dylan.ah.smith at
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

More information about the wine-patches mailing list