From 39627cc5bde1c6cafff7a6c005137a999d689cb0 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" <destructionator@gmail.com> Date: Thu, 2 Mar 2023 09:11:56 -0500 Subject: [PATCH] focus new thing this process needs fixes --- minigui.d | 3 +++ 1 file changed, 3 insertions(+) diff --git a/minigui.d b/minigui.d index 4f79cac..d75dbec 100644 --- a/minigui.d +++ b/minigui.d @@ -12329,6 +12329,9 @@ abstract class EditableTextWidget : EditableTextWidgetParent { version(use_new_text_system) override int maxHeight() { return tdh.maxHeight; } + version(use_new_text_system) + override void focus() { if(tdh) tdh.focus(); } + void selectAll() { version(win32_widgets) SendMessage(hwnd, EM_SETSEL, 0, -1);