MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / popup_replace

Method popup_replace

editor/gui/code_editor.cpp:646–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644}
645
646void 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
659void FindReplaceBar::_search_options_changed(bool p_pressed) {
660 results_count = -1;

Callers 3

_edit_optionMethod · 0.80
_edit_optionMethod · 0.80
_menu_optionMethod · 0.80

Calls 6

get_selection_to_lineMethod · 0.80
is_visible_in_treeMethod · 0.45
showMethod · 0.45
set_pressedMethod · 0.45
has_selectionMethod · 0.45

Tested by

no test coverage detected