riched20: EM_STREAMIN should send a EN_UPDATE notification
Phil Krylov
phil at newstar.rinet.ru
Wed Jan 25 12:58:25 CST 2006
ChangeLog:
Fixed EM_STREAMIN rich edit message to send a EN_UPDATE notification.
---
dlls/riched20/editor.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
0dce8a283e1dab42ee0f2fd4e4c6fef879f2f521
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 2479b85..64675ae 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;
--
1.0.GIT
More information about the wine-patches
mailing list