From 6c2026a348b275e6524dab1b145e0fe4f5ccdbbd Mon Sep 17 00:00:00 2001 From: Dylan Smith Date: Wed, 25 Jun 2008 11:32:59 -0400 Subject: [PATCH] richedit: Show caret after pasting or streaming in text. There was a missing call to ShowCaret after the caret was created. --- dlls/riched20/editor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index 60db1bf4fe7..b9f41d21784 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -1148,7 +1148,9 @@ static LRESULT ME_StreamIn(ME_TextEditor *editor, DWORD format, EDITSTREAM *stre if (!(format & SFF_SELECTION)) { ME_ClearTempStyle(editor); } + HideCaret(editor->hWnd); ME_MoveCaret(editor); + ShowCaret(editor->hWnd); ME_SendSelChange(editor); ME_SendRequestResize(editor, FALSE);