diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-08-10 16:22:41 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-10 16:22:41 -0300 |
commit | 783fd23deab0360366b52c551b3717a894f42ab7 (patch) | |
tree | e3be780af897539c89839c8b3c0a7a934e3e25b9 /editor/code_editor.h | |
parent | 7e33b2085c244b3d41f46f1fb4498a81af0a97c7 (diff) | |
parent | eb481198218399c9f86e5bfe1879757e1aa9a86e (diff) |
Merge pull request #19993 from vnen/gdscript-warnings
System for GDScript warnings
Diffstat (limited to 'editor/code_editor.h')
-rw-r--r-- | editor/code_editor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/code_editor.h b/editor/code_editor.h index 903f61d87d..ee47eff9a8 100644 --- a/editor/code_editor.h +++ b/editor/code_editor.h @@ -142,6 +142,8 @@ class CodeTextEditor : public VBoxContainer { TextEdit *text_editor; FindReplaceBar *find_replace_bar; HBoxContainer *status_bar; + Label *warning_label; + Label *warning_count_label; Label *line_nb; Label *col_nb; @@ -214,6 +216,8 @@ public: void update_line_and_column() { _line_col_changed(); } TextEdit *get_text_edit() { return text_editor; } FindReplaceBar *get_find_replace_bar() { return find_replace_bar; } + Label *get_warning_label() const { return warning_label; } + Label *get_warning_count_label() const { return warning_count_label; } virtual void apply_code() {} void set_code_complete_func(CodeTextEditorCodeCompleteFunc p_code_complete_func, void *p_ud); |