From eb00eb9a686ef2af27bbfa2ceec140fab7b8316b Mon Sep 17 00:00:00 2001 From: arkology <43543909+arkology@users.noreply.github.com> Date: Tue, 2 Dec 2025 08:00:43 +0000 Subject: [PATCH] `EditorHelp`: Scroll to the only result found every time --- editor/doc/editor_help.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/editor/doc/editor_help.cpp b/editor/doc/editor_help.cpp index d36de6ebde6..00a0e19619a 100644 --- a/editor/doc/editor_help.cpp +++ b/editor/doc/editor_help.cpp @@ -4999,6 +4999,11 @@ bool FindBar::_search(bool p_search_previous) { results_count = 0; results_count_to_current = 0; } + + if (results_count == 1) { + rich_text_label->scroll_to_selection(); + } + _update_matches_label(); return ret;