summaryrefslogtreecommitdiffstats
path: root/scene/gui/code_edit.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 /scene/gui/code_edit.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 'scene/gui/code_edit.h')
-rw-r--r--scene/gui/code_edit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/code_edit.h b/scene/gui/code_edit.h
index ee73758bef..a086707745 100644
--- a/scene/gui/code_edit.h
+++ b/scene/gui/code_edit.h
@@ -314,6 +314,8 @@ public:
void indent_lines();
void unindent_lines();
+ void convert_indent(int p_from_line = -1, int p_to_line = -1);
+
/* Auto brace completion */
void set_auto_brace_completion_enabled(bool p_enabled);
bool is_auto_brace_completion_enabled() const;