diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c index 5ed2329b61b..dcaab0ce00a 100644 --- a/dlls/riched20/caret.c +++ b/dlls/riched20/caret.c @@ -966,6 +966,7 @@ void ME_MouseMove(ME_TextEditor *editor, int x, int y) ME_InvalidateSelection(editor); ShowCaret(editor->hWnd); ME_SendSelChange(editor); + SendMessageW(editor->hWnd, EM_SCROLLCARET, 0, 0); } static ME_DisplayItem *ME_FindRunInRow(ME_TextEditor *editor, ME_DisplayItem *pRow,