summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_editor_plugin.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-05-08 12:20:37 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-05-08 12:20:37 +0200
commiteb6d6ab29f2ee2a86d76d1f6926ea1fa58ed0180 (patch)
tree1ce88444bbef152aee6b447ea69b7b28b7bc33e4 /editor/plugins/script_editor_plugin.h
parente85f6871ba9bf8993399136efbad5617dba11b0a (diff)
parent0b3fba45c6e8d2e65904804cfd4c9a219ea31d2a (diff)
downloadredot-engine-eb6d6ab29f2ee2a86d76d1f6926ea1fa58ed0180.tar.gz
Merge pull request #76658 from Paulb23/convert-indent-code-edit
Move convert_indent into CodeEdit
Diffstat (limited to 'editor/plugins/script_editor_plugin.h')
-rw-r--r--editor/plugins/script_editor_plugin.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h
index 10dfe0f199..5cbe56b68b 100644
--- a/editor/plugins/script_editor_plugin.h
+++ b/editor/plugins/script_editor_plugin.h
@@ -169,8 +169,7 @@ public:
virtual void clear_executing_line() = 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 convert_indent() = 0;
virtual void ensure_focus() = 0;
virtual void tag_saved_version() = 0;
virtual void reload(bool p_soft) {}
@@ -390,7 +389,6 @@ class ScriptEditor : public PanelContainer {
bool open_textfile_after_create = true;
bool trim_trailing_whitespace_on_save;
- bool use_space_indentation;
bool convert_indent_on_save;
void _goto_script_line2(int p_line);