diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-08-17 19:09:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 19:09:56 +0200 |
commit | 273d1ca9329aaa849e18f4d3a1f3f461d54dbb41 (patch) | |
tree | 2cd6f932eafd4e493f9f9bcc092ca49106e2507b /doc/classes/TextEdit.xml | |
parent | 6cea7ebae4721e05ea7013c6159a751f7498ea85 (diff) | |
parent | 16c2d4ef22a2928489934833bab06d5ea33bd90e (diff) |
Merge pull request #51775 from timothyqiu/disable-undo-redo
Improve Undo/Redo menu items
Diffstat (limited to 'doc/classes/TextEdit.xml')
-rw-r--r-- | doc/classes/TextEdit.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml index 68d20e41d0..7aa627b7d0 100644 --- a/doc/classes/TextEdit.xml +++ b/doc/classes/TextEdit.xml @@ -464,12 +464,24 @@ Returns if the user has IME text. </description> </method> + <method name="has_redo" qualifiers="const"> + <return type="bool" /> + <description> + Returns [code]true[/code] if a "redo" action is available. + </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="has_undo" qualifiers="const"> + <return type="bool" /> + <description> + Returns [code]true[/code] if an "undo" action is available. + </description> + </method> <method name="insert_line_at"> <return type="void" /> <argument index="0" name="line" type="int" /> |