Merge pull request #100329 from eviltrout/add-custom-line-offset

Add `get_selection_line_offset` to `RichTextLabel`
This commit is contained in:
Rémi Verschelde
2025-01-06 22:47:33 +01:00
3 changed files with 36 additions and 19 deletions

View File

@ -199,6 +199,12 @@
Returns the current selection first character index if a selection is active, [code]-1[/code] otherwise. Does not include BBCodes.
</description>
</method>
<method name="get_selection_line_offset" qualifiers="const">
<return type="float" />
<description>
Returns the current selection vertical line offset if a selection is active, [code]-1.0[/code] otherwise.
</description>
</method>
<method name="get_selection_to" qualifiers="const">
<return type="int" />
<description>