mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 10:30:59 +00:00
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:
parent
afdf040ea3
commit
5187602453
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue