Dylan Smith : richedit: Make cursor visible when selecting via mouse above/ below editor.
Alexandre Julliard
julliard at winehq.org
Thu Jun 26 14:51:01 CDT 2008
Module: wine
Branch: master
Commit: 9b67a38f1a514c9f20d0c99ad2b721abd2c37e1a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9b67a38f1a514c9f20d0c99ad2b721abd2c37e1a
Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date: Wed Jun 25 11:51:17 2008 -0400
richedit: Make cursor visible when selecting via mouse above/below editor.
---
dlls/riched20/caret.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c
index 5ed2329..dcaab0c 100644
--- a/dlls/riched20/caret.c
+++ b/dlls/riched20/caret.c
@@ -966,6 +966,7 @@ void ME_MouseMove(ME_TextEditor *editor, int x, int y)
ME_InvalidateSelection(editor);
ShowCaret(editor->hWnd);
ME_SendSelChange(editor);
+ SendMessageW(editor->hWnd, EM_SCROLLCARET, 0, 0);
}
static ME_DisplayItem *ME_FindRunInRow(ME_TextEditor *editor, ME_DisplayItem *pRow,
More information about the wine-cvs
mailing list