From 2e7cfa0400805c531e1a5a69adefe7c987240723 Mon Sep 17 00:00:00 2001 From: Mohammad Amin Mollazadeh Date: Mon, 5 May 2025 00:02:56 +0330 Subject: [PATCH] [WINESYNC][COMCTL32] Move caret to the end on "select all" (#7939) CORE-19903 comctl32/edit: Scroll caret on Ctrl+A. wine commit id https://github.com/wine-mirror/wine/commit/e71087cd39fdc546846f1f74f2e701596bcfd18d by Vladislav Timonin --- dll/win32/comctl32/edit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dll/win32/comctl32/edit.c b/dll/win32/comctl32/edit.c index 9756d32f3f4..8670e86f5c2 100644 --- a/dll/win32/comctl32/edit.c +++ b/dll/win32/comctl32/edit.c @@ -3469,6 +3469,9 @@ static LRESULT EDIT_WM_KeyDown(EDITSTATE *es, INT key) { if (!notify_parent(es, EN_UPDATE)) break; notify_parent(es, EN_CHANGE); +#ifdef __REACTOS__ + EDIT_EM_ScrollCaret(es); +#endif } } break;