riched20: Reset Selection
Ulrich Czekalla
ulrich.czekalla at utoronto.ca
Tue Dec 13 12:59:37 CST 2005
ChangeLog:
Reset selection when text is reset
-------------- next part --------------
---
dlls/riched20/editor.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
applies-to: 8744edf6de4006d586f9321417c04b0119d894c9
501f73229f7086a7f7e83a17e3d29b3f7f7d9819
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 1383bcf..7723865 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -1471,6 +1471,7 @@ LRESULT WINAPI RichEditANSIWndProc(HWND
TRACE("WM_SETTEXT - NULL\n");
ME_CommitUndo(editor);
ME_EmptyUndoStack(editor);
+ ME_SetSelection(editor, 0, 0);
ME_UpdateRepaint(editor);
return 0;
}
---
0.99.9i
More information about the wine-patches
mailing list