riched20: EM_STREAMIN should send a EN_UPDATE notification.
This commit is contained in:
parent
bb9631b196
commit
ecbccb9763
|
@ -299,7 +299,7 @@ static LRESULT ME_StreamInText(ME_TextEditor *editor, DWORD dwFormat, ME_InStrea
|
||||||
stream->dwSize = 0;
|
stream->dwSize = 0;
|
||||||
} while(1);
|
} while(1);
|
||||||
ME_CommitUndo(editor);
|
ME_CommitUndo(editor);
|
||||||
ME_Repaint(editor);
|
ME_UpdateRepaint(editor);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -605,10 +605,6 @@ static LRESULT ME_StreamIn(ME_TextEditor *editor, DWORD format, EDITSTREAM *stre
|
||||||
/* put the cursor at the top */
|
/* put the cursor at the top */
|
||||||
if (!(format & SFF_SELECTION))
|
if (!(format & SFF_SELECTION))
|
||||||
SendMessageA(editor->hWnd, EM_SETSEL, 0, 0);
|
SendMessageA(editor->hWnd, EM_SETSEL, 0, 0);
|
||||||
else
|
|
||||||
{
|
|
||||||
/* FIXME where to put cursor now ? */
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
editor->nUndoMode = nUndoMode;
|
editor->nUndoMode = nUndoMode;
|
||||||
|
|
Loading…
Reference in New Issue