From ecbccb97636a2d0094974d23d377faa838f63b73 Mon Sep 17 00:00:00 2001 From: Phil Krylov Date: Thu, 26 Jan 2006 13:28:35 +0100 Subject: [PATCH] riched20: EM_STREAMIN should send a EN_UPDATE notification. --- dlls/riched20/editor.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index abcc9a84574..01a55c10f7e 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -299,7 +299,7 @@ static LRESULT ME_StreamInText(ME_TextEditor *editor, DWORD dwFormat, ME_InStrea stream->dwSize = 0; } while(1); ME_CommitUndo(editor); - ME_Repaint(editor); + ME_UpdateRepaint(editor); return 0; } @@ -605,10 +605,6 @@ static LRESULT ME_StreamIn(ME_TextEditor *editor, DWORD format, EDITSTREAM *stre /* put the cursor at the top */ if (!(format & SFF_SELECTION)) SendMessageA(editor->hWnd, EM_SETSEL, 0, 0); - else - { - /* FIXME where to put cursor now ? */ - } } editor->nUndoMode = nUndoMode;