summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2021-07-09 12:42:55 +0100
committerPaulb23 <p_batty@hotmail.co.uk>2021-08-12 09:29:56 +0100
commit9ec3e7f3d7ae7f9eaf5a1de29346c5e10b3af6f9 (patch)
tree2953e06268871695e0c49b12f16372ce672bf027 /doc/classes
parent7e70f9e0b9696fab55e2d0570c6bdc8b07c14462 (diff)
Cleanup TextEdit selection methods
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/TextEdit.xml20
1 files changed, 14 insertions, 6 deletions
diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml
index ce25c8c7f4..088072b411 100644
--- a/doc/classes/TextEdit.xml
+++ b/doc/classes/TextEdit.xml
@@ -324,6 +324,13 @@
Returns a [String] text with the word under the caret location.
</description>
</method>
+ <method name="has_selection" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ Returns [code]true[/code] if the user is has a selection.
+ </description>
+ </method>
<method name="insert_text_at_caret">
<return type="void">
</return>
@@ -384,12 +391,6 @@
Returns if the given line is wrapped.
</description>
</method>
- <method name="is_selection_active" qualifiers="const">
- <return type="bool" />
- <description>
- Returns [code]true[/code] if the selection is active.
- </description>
- </method>
<method name="menu_option">
<return type="void" />
<argument index="0" name="option" type="int" />
@@ -469,6 +470,13 @@
If [member selecting_enabled] is [code]false[/code], no selection will occur.
</description>
</method>
+ <method name="select_word_under_caret">
+ <return type="void">
+ </return>
+ <description>
+ Selects the word under the caret.
+ </description>
+ </method>
<method name="set_caret_column">
<return type="void">
</return>