diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-09-29 10:31:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 10:31:37 +0200 |
commit | 6c0f44ca7e77566aeb1d510f14fc969f1a4192e6 (patch) | |
tree | c7db5327d64ba4904a05eb9c8203017f2c876a4e /doc/classes | |
parent | 1979266a17df5b19ac5cb1b63d80e0428bfd7756 (diff) | |
parent | 4e0552a4ffbead06d4a31ef944b37baf8ff7acef (diff) |
Merge pull request #53000 from Chaosus/lineedit_expose_selection_methods
Diffstat (limited to 'doc/classes')
-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" /> |