summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authormarkdibarry <markdibarry@protonmail.com>2022-02-11 16:02:59 -0500
committermarkdibarry <markdibarry@protonmail.com>2022-02-13 11:12:12 -0500
commitae7eec53c00fa30bc4527937a79dd01f0c31050a (patch)
tree5804e607ca4b0814ec746001d553d3df15f8c69c /doc/classes
parentc5760759723491768fd44f5efc85925ca2b45b88 (diff)
Add get_character_line method for RichTextLabel
Adds the ability to get the line number of provided character position Fix arg name Add get_character_paragraph Replaced glyph logic with code suggestions, added get_character_paragraph method Run doctool Use built-in method Replace TS access with built in method
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/RichTextLabel.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/classes/RichTextLabel.xml b/doc/classes/RichTextLabel.xml
index 6a2812bb93..cb733f34ca 100644
--- a/doc/classes/RichTextLabel.xml
+++ b/doc/classes/RichTextLabel.xml
@@ -49,6 +49,20 @@
Clears the tag stack and sets [member text] to an empty string.
</description>
</method>
+ <method name="get_character_line">
+ <return type="int" />
+ <argument index="0" name="character" type="int" />
+ <description>
+ Returns the line number of the character position provided.
+ </description>
+ </method>
+ <method name="get_character_paragraph">
+ <return type="int" />
+ <argument index="0" name="character" type="int" />
+ <description>
+ Returns the paragraph number of the character position provided.
+ </description>
+ </method>
<method name="get_content_height" qualifiers="const">
<return type="int" />
<description>