summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-22 08:51:13 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-22 08:51:13 +0100
commit4ba5289f91e0ade465a497fd0efdbcb5b0a888c3 (patch)
tree0d951cb36d277c6bce464de2211f7235e7b3c9bb /doc
parentd894fa8ba3bebd07fcdd8a948a6f90b6cfbcd247 (diff)
parente846b22da6069a8d6394c12ab4f4a1762e6cd9c9 (diff)
Merge pull request #70413 from Koyper/rtl_rename_remove_line
[RTL] Rename remove_line() to remove_paragraph() for naming consistancy.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/RichTextLabel.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/RichTextLabel.xml b/doc/classes/RichTextLabel.xml
index e4bc2db104..dd291a425d 100644
--- a/doc/classes/RichTextLabel.xml
+++ b/doc/classes/RichTextLabel.xml
@@ -378,12 +378,12 @@
Adds a [code][u][/code] tag to the tag stack.
</description>
</method>
- <method name="remove_line">
+ <method name="remove_paragraph">
<return type="bool" />
- <param index="0" name="line" type="int" />
+ <param index="0" name="paragraph" type="int" />
<description>
- Removes a line of content from the label. Returns [code]true[/code] if the line exists.
- The [param line] argument is the index of the line to remove, it can take values in the interval [code][0, get_line_count() - 1][/code].
+ Removes a paragraph of content from the label. Returns [code]true[/code] if the paragraph exists.
+ The [param paragraph] argument is the index of the paragraph to remove, it can take values in the interval [code][0, get_paragraph_count() - 1][/code].
</description>
</method>
<method name="scroll_to_line">