summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2020-11-11 09:26:55 +0100
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2020-11-11 10:07:31 +0100
commit4775db1600ea69dd961767399441820f274e41f8 (patch)
treeb5af9291c91edbe28baa841eb488a6cf1ad656b5 /doc
parentb67ccf1a6f326c5d4d5fa1cc7cd15eff3573f8f7 (diff)
Expose LineEdit scroll offset to scripts
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/LineEdit.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/LineEdit.xml b/doc/classes/LineEdit.xml
index f08a15d873..5c2dffd538 100644
--- a/doc/classes/LineEdit.xml
+++ b/doc/classes/LineEdit.xml
@@ -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>