| 644 | } |
| 645 | |
| 646 | void FindReplaceBar::popup_replace() { |
| 647 | if (!replace_text->is_visible_in_tree()) { |
| 648 | replace_text->show(); |
| 649 | hbc_button_replace->show(); |
| 650 | hbc_option_replace->show(); |
| 651 | _update_toggle_replace_button(true); |
| 652 | } |
| 653 | |
| 654 | selection_only->set_pressed(text_editor->has_selection(0) && text_editor->get_selection_from_line(0) < text_editor->get_selection_to_line(0)); |
| 655 | |
| 656 | _show_search(true, false); |
| 657 | } |
| 658 | |
| 659 | void FindReplaceBar::_search_options_changed(bool p_pressed) { |
| 660 | results_count = -1; |
no test coverage detected