summaryrefslogtreecommitdiff
path: root/editor/plugins/script_editor_plugin.h
diff options
context:
space:
mode:
authorMatheus Lima Cunha <matheus.limacunha@hotmail.com>2019-05-28 18:27:32 -0300
committerMatheus Lima Cunha <matheus.limacunha@hotmail.com>2019-05-29 18:13:29 -0300
commit7fbb6d986ffe6101af1e062daeb9e1aa203684a6 (patch)
tree7062d63f37b3dd58f9a817e6577d4dbf59652edd /editor/plugins/script_editor_plugin.h
parent06e580f5ba801cf524b1d82753127a9992c7b907 (diff)
Automatically add new line to scripts
Diffstat (limited to 'editor/plugins/script_editor_plugin.h')
-rw-r--r--editor/plugins/script_editor_plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h
index 954b014935..d5e2da5c4b 100644
--- a/editor/plugins/script_editor_plugin.h
+++ b/editor/plugins/script_editor_plugin.h
@@ -97,6 +97,7 @@ public:
virtual void set_edit_state(const Variant &p_state) = 0;
virtual void goto_line(int p_line, bool p_with_error = false) = 0;
virtual void trim_trailing_whitespace() = 0;
+ virtual void insert_final_newline() = 0;
virtual void convert_indent_to_spaces() = 0;
virtual void convert_indent_to_tabs() = 0;
virtual void ensure_focus() = 0;