richedit: Show caret after pasting or streaming in text.

There was a missing call to ShowCaret after the caret was created.
This commit is contained in:
Dylan Smith 2008-06-25 11:32:59 -04:00 committed by Alexandre Julliard
parent eaf7becabd
commit 6c2026a348
1 changed files with 2 additions and 0 deletions

View File

@ -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);