Skip to content

Commit 07017fd

Browse files
Copilotphkahler
andcommitted
Auto-select text in editor input box on web (guihtml.cpp)
Agent-Logs-Url: https://github.com/solvespace/solvespace/sessions/4f2bf1b2-a72d-4863-8184-0207f666f020 Co-authored-by: phkahler <14852918+phkahler@users.noreply.github.com>
1 parent 3e5873e commit 07017fd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/platform/guihtml.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,6 +1062,7 @@ class WindowImplHtml final : public Window {
10621062
htmlEditor["style"].set("fontFamily", isMonospace ? "monospace" : "sans");
10631063
htmlEditor.set("value", text);
10641064
htmlEditor.call<void>("focus");
1065+
htmlEditor.call<void>("select");
10651066
}
10661067

10671068
void HideEditor() override {

0 commit comments

Comments
 (0)