Commit 78e76cf9 authored by Lauri Tulmin's avatar Lauri Tulmin Committed by Alexandre Julliard

Reposition caret after window resize.

parent 4f02b52c
......@@ -2250,6 +2250,8 @@ static void EDIT_SetRectNP(EDITSTATE *es, LPRECT rc)
if ((es->style & ES_MULTILINE) && !(es->style & ES_AUTOHSCROLL))
EDIT_BuildLineDefs_ML(es, 0, strlenW(es->text), 0, NULL);
EDIT_SetCaretPos(es, es->selection_end, es->flags & EF_AFTER_WRAP);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment