You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fixed removing secondary carets when editing with search open
This commit is contained in:
@@ -143,7 +143,9 @@ void FindReplaceBar::unhandled_input(const Ref<InputEvent> &p_event) {
|
||||
}
|
||||
|
||||
bool FindReplaceBar::_search(uint32_t p_flags, int p_from_line, int p_from_col) {
|
||||
text_editor->remove_secondary_carets();
|
||||
if (!preserve_cursor) {
|
||||
text_editor->remove_secondary_carets();
|
||||
}
|
||||
String text = get_search_text();
|
||||
Point2i pos = text_editor->search(text, p_flags, p_from_line, p_from_col);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user