diff options
author | Paulb23 <p_batty@hotmail.co.uk> | 2023-05-01 21:41:50 +0100 |
---|---|---|
committer | Paulb23 <p_batty@hotmail.co.uk> | 2023-05-07 13:08:37 +0100 |
commit | 0b3fba45c6e8d2e65904804cfd4c9a219ea31d2a (patch) | |
tree | de45f1e29863fe7601b21c964cb60d490808bcf9 /doc/classes/CodeEdit.xml | |
parent | 64eeb04d2cb2e269d9710c38bdbf366ab3656e76 (diff) | |
download | redot-engine-0b3fba45c6e8d2e65904804cfd4c9a219ea31d2a.tar.gz |
Move convert_indent into CodeEdit
Diffstat (limited to 'doc/classes/CodeEdit.xml')
-rw-r--r-- | doc/classes/CodeEdit.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/CodeEdit.xml b/doc/classes/CodeEdit.xml index b8b9b5fe5e..84e1c80900 100644 --- a/doc/classes/CodeEdit.xml +++ b/doc/classes/CodeEdit.xml @@ -126,6 +126,15 @@ Inserts the selected entry into the text. If [param replace] is true, any existing text is replaced rather then merged. </description> </method> + <method name="convert_indent"> + <return type="void" /> + <param index="0" name="from_line" type="int" default="-1" /> + <param index="1" name="to_line" type="int" default="-1" /> + <description> + Converts the indents of lines between [param from_line] and [param to_line] to tabs or spaces as set by [member indent_use_spaces]. + Values of [code]-1[/code] convert the entire text. + </description> + </method> <method name="do_indent"> <return type="void" /> <description> |