Phil Krylov : riched20: EM_STREAMIN should send a EN_UPDATE notification.
Module: wine Branch: refs/heads/master Commit: ecbccb97636a2d0094974d23d377faa838f63b73 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ecbccb97636a2d0094974d23... Author: Phil Krylov <phil(a)newstar.rinet.ru> Date: Thu Jan 26 13:28:35 2006 +0100 riched20: EM_STREAMIN should send a EN_UPDATE notification. --- dlls/riched20/editor.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index abcc9a8..01a55c1 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -299,7 +299,7 @@ static LRESULT ME_StreamInText(ME_TextEd 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 /* 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;
participants (1)
-
Alexandre Julliard