riched20: EM_STREAMIN should send a EN_UPDATE notification.

This commit is contained in:
Phil Krylov 2006-01-26 13:28:35 +01:00 committed by Alexandre Julliard
parent bb9631b196
commit ecbccb9763
1 changed files with 1 additions and 5 deletions

View File

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