mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-26 05:37:13 +01:00
The match case option is on by default now when searching in the current file and in files in the editor.
This commit is contained in:
parent
a7cf92860a
commit
edec78785d
@ -364,6 +364,7 @@ FindInFilesDialog::FindInFilesDialog() {
|
|||||||
|
|
||||||
_match_case_checkbox = memnew(CheckBox);
|
_match_case_checkbox = memnew(CheckBox);
|
||||||
_match_case_checkbox->set_text(TTR("Match Case"));
|
_match_case_checkbox->set_text(TTR("Match Case"));
|
||||||
|
_match_case_checkbox->set_pressed(true);
|
||||||
hbc->add_child(_match_case_checkbox);
|
hbc->add_child(_match_case_checkbox);
|
||||||
|
|
||||||
gc->add_child(hbc);
|
gc->add_child(hbc);
|
||||||
|
@ -615,6 +615,7 @@ EditorFindReplaceBar::EditorFindReplaceBar() {
|
|||||||
hbc_option_search->add_child(case_sensitive);
|
hbc_option_search->add_child(case_sensitive);
|
||||||
case_sensitive->set_text(TTR("Match Case"));
|
case_sensitive->set_text(TTR("Match Case"));
|
||||||
case_sensitive->set_focus_mode(FOCUS_NONE);
|
case_sensitive->set_focus_mode(FOCUS_NONE);
|
||||||
|
case_sensitive->set_pressed(true);
|
||||||
case_sensitive->connect("toggled", this, "_search_options_changed");
|
case_sensitive->connect("toggled", this, "_search_options_changed");
|
||||||
|
|
||||||
whole_words = memnew(CheckBox);
|
whole_words = memnew(CheckBox);
|
||||||
|
Loading…
Reference in New Issue
Block a user