aboutsummaryrefslogtreecommitdiff
path: root/editor/code_editor.h
diff options
context:
space:
mode:
authorvolzhs2018-01-18 08:52:17 +0900
committervolzhs2018-01-18 09:08:01 +0900
commite96a808756944d1969837833966775475aa2b3f2 (patch)
treec927bd3e3e54949d5e9e90dabd9c6a10ac00fd2b /editor/code_editor.h
parent1968cc445cc3f9dfaa96adc9671c025e0d7b743e (diff)
downloadgodot-e96a808756944d1969837833966775475aa2b3f2.tar.gz
godot-e96a808756944d1969837833966775475aa2b3f2.tar.zst
godot-e96a808756944d1969837833966775475aa2b3f2.zip
Diffstat (limited to 'editor/code_editor.h')
-rw-r--r--editor/code_editor.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/editor/code_editor.h b/editor/code_editor.h
index 2e6340acc..db2e25b92 100644
--- a/editor/code_editor.h
+++ b/editor/code_editor.h
@@ -63,12 +63,12 @@ class FindReplaceBar : public HBoxContainer {
GDCLASS(FindReplaceBar, HBoxContainer);
+ Control *container;
LineEdit *search_text;
ToolButton *find_prev;
ToolButton *find_next;
CheckBox *case_sensitive;
CheckBox *whole_words;
- Label *error_label;
TextureButton *hide_button;
LineEdit *replace_text;
@@ -76,9 +76,10 @@ class FindReplaceBar : public HBoxContainer {
Button *replace_all;
CheckBox *selection_only;
- VBoxContainer *text_vbc;
- HBoxContainer *replace_hbc;
- HBoxContainer *replace_options_hbc;
+ HBoxContainer *hbc;
+ VBoxContainer *vbc_lineedit;
+ HBoxContainer *hbc_button_replace;
+ HBoxContainer *hbc_option_replace;
TextEdit *text_edit;
@@ -98,6 +99,7 @@ class FindReplaceBar : public HBoxContainer {
void _search_text_changed(const String &p_text);
void _search_text_entered(const String &p_text);
void _replace_text_entered(const String &p_text);
+ void _update_size();
protected:
void _notification(int p_what);