Merge pull request #76658 from Paulb23/convert-indent-code-edit

Move convert_indent into CodeEdit
This commit is contained in:
Rémi Verschelde 2023-05-08 12:20:37 +02:00
commit eb6d6ab29f
No known key found for this signature in database
GPG key ID: C3336907360768E1
12 changed files with 282 additions and 153 deletions

View file

@ -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>