diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2021-09-24 11:00:45 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2021-09-24 11:30:58 +0300 |
commit | 4e0552a4ffbead06d4a31ef944b37baf8ff7acef (patch) | |
tree | 396bf26b563ab13545be5a2b8985288cef3d349a /doc | |
parent | 10801b90f99eb67b2999e3dc8f42cc82c7799f3e (diff) |
Add selection getter methods to `LineEdit`
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/LineEdit.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/classes/LineEdit.xml b/doc/classes/LineEdit.xml index 834b5a41db..83e3f5b05a 100644 --- a/doc/classes/LineEdit.xml +++ b/doc/classes/LineEdit.xml @@ -82,6 +82,24 @@ Returns the scroll offset due to [member caret_column], as a number of characters. </description> </method> + <method name="get_selection_from_column" qualifiers="const"> + <return type="int" /> + <description> + Returns the selection begin column. + </description> + </method> + <method name="get_selection_to_column" qualifiers="const"> + <return type="int" /> + <description> + Returns the selection end column. + </description> + </method> + <method name="has_selection" qualifiers="const"> + <return type="bool" /> + <description> + Returns [code]true[/code] if the user has selected text. + </description> + </method> <method name="insert_text_at_caret"> <return type="void" /> <argument index="0" name="text" type="String" /> |