projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afdf040
)
Sync to Wine-0_9_4:
author
Gé van Geldorp
<ge@gse.nl>
Mon, 26 Dec 2005 23:20:19 +0000
(23:20 +0000)
committer
Gé van Geldorp
<ge@gse.nl>
Mon, 26 Dec 2005 23:20:19 +0000
(23:20 +0000)
Ulrich Czekalla <ulrich.czekalla@utoronto.ca>
- riched20: Reset selection when text is reset.
svn path=/trunk/; revision=20352
reactos/lib/riched20/editor.c
patch
|
blob
|
history
diff --git
a/reactos/lib/riched20/editor.c
b/reactos/lib/riched20/editor.c
index
1383bcf
..
7723865
100644
(file)
--- a/
reactos/lib/riched20/editor.c
+++ b/
reactos/lib/riched20/editor.c
@@
-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;
}