Sync to Wine-0_9_4:

Ulrich Czekalla <ulrich.czekalla@utoronto.ca>
- riched20: Reset selection when text is reset.

svn path=/trunk/; revision=20352
This commit is contained in:
Gé van Geldorp 2005-12-26 23:20:19 +00:00
parent afdf040ea3
commit 5187602453

View file

@ -1471,6 +1471,7 @@ LRESULT WINAPI RichEditANSIWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP
TRACE("WM_SETTEXT - NULL\n");
ME_CommitUndo(editor);
ME_EmptyUndoStack(editor);
ME_SetSelection(editor, 0, 0);
ME_UpdateRepaint(editor);
return 0;
}