Sync to Wine-0_9_4: Ulrich Czekalla <ulrich.czekalla@utoronto.ca> - riched20: Reset selection when text is reset.
Modified: trunk/reactos/lib/riched20/editor.c
--- trunk/reactos/lib/riched20/editor.c 2005-12-26 23:18:49 UTC (rev 20351) +++ trunk/reactos/lib/riched20/editor.c 2005-12-26 23:20:19 UTC (rev 20352) @@ -1471,6 +1471,7 @@
TRACE("WM_SETTEXT - NULL\n"); ME_CommitUndo(editor); ME_EmptyUndoStack(editor);
+ ME_SetSelection(editor, 0, 0);
ME_UpdateRepaint(editor); return 0; }