summaryrefslogtreecommitdiffstats
path: root/doc/classes/CodeEdit.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/CodeEdit.xml')
-rw-r--r--doc/classes/CodeEdit.xml9
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>