Godot Engine – Multi-platform 2D and 3D game engine
Merge pull request #117261 from Cboyd97/master
Thaddeus Crews5f4378f1311d
diff --cc editor/gui/code_editor.cppindex b04bf2a117b,a8723514479..2445d3d17cc--- a/editor/gui/code_editor.cpp+++ b/editor/gui/code_editor.cpp@@@ -221,8 -217,9 +221,8 @@@ bool FindReplaceBar::_search(uint32_t pif (!preserve_cursor && !is_selection_only()) {text_editor->unfold_line(pos.y);text_editor->select(pos.y, pos.x, pos.y, pos.x + text.length());- text_editor->center_viewport_to_caret(0);+ base_text_editor->center_viewport_to_caret();text_editor->set_code_hint("");- text_editor->cancel_code_completion();line_col_changed_for_result = true;}