[35/44] richedit: Made sure the caret position is stored when moving up/down
dylan.ah.smith at gmail.com
Tue Jun 17 20:20:46 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 --------------
A non-text attachment was scrubbed...
Size: 1586 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080617/7e7f345a/attachment.diff
More information about the wine-patches