Ulrich Czekalla : riched20: Reset selection when text is reset.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Dec 14 05:23:28 CST 2005


Module: wine
Branch: refs/heads/master
Commit: 0f55ef3befa563fd578f7c16dbc65602defd0e1d
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=0f55ef3befa563fd578f7c16dbc65602defd0e1d

Author: Ulrich Czekalla <ulrich.czekalla at utoronto.ca>
Date:   Wed Dec 14 10:50:04 2005 +0100

riched20: Reset selection when text is reset.

---

 dlls/riched20/editor.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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;
   }




More information about the wine-cvs mailing list