Expose LineEdit scroll offset to scripts

This commit is contained in:
PouleyKetchoupp
2020-11-11 09:26:55 +01:00
parent b67ccf1a6f
commit 4775db1600
3 changed files with 46 additions and 33 deletions

View File

@@ -78,6 +78,13 @@
Returns the [PopupMenu] of this [LineEdit]. By default, this menu is displayed when right-clicking on the [LineEdit].
</description>
</method>
<method name="get_scroll_offset" qualifiers="const">
<return type="int">
</return>
<description>
Returns the scroll offset due to [member caret_position], as a number of characters.
</description>
</method>
<method name="menu_option">
<return type="void">
</return>