Merge pull request #100329 from eviltrout/add-custom-line-offset
Add `get_selection_line_offset` to `RichTextLabel`
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user