Merge pull request #113433 from arkology/editor-help-single-focus

`EditorHelp`: Scroll to the only result found every time
This commit is contained in:
Thaddeus Crews 2025-12-02 11:51:56 -06:00
commit bf10defa6d
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -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;