diff options
author | Paulb23 <p_batty@hotmail.co.uk> | 2021-07-09 13:40:05 +0100 |
---|---|---|
committer | Paulb23 <p_batty@hotmail.co.uk> | 2021-08-12 09:29:58 +0100 |
commit | b799e5583acd40f62603305c8a6b2fb31dfca9e3 (patch) | |
tree | d1a5d209ec58f3d1b77ad581d5c406d8a46cf70e /doc/classes | |
parent | b70001131498d9487cc131d0ba27fff1abab99e8 (diff) |
Rename insert mode to overtype mode
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/TextEdit.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml index 088072b411..7bf8520c1c 100644 --- a/doc/classes/TextEdit.xml +++ b/doc/classes/TextEdit.xml @@ -391,6 +391,13 @@ Returns if the given line is wrapped. </description> </method> + <method name="is_overtype_mode_enabled" qualifiers="const"> + <return type="bool"> + </return> + <description> + Gets if the user is in overtype mode. + </description> + </method> <method name="menu_option"> <return type="void" /> <argument index="0" name="option" type="int" /> @@ -620,6 +627,15 @@ Sets OpenType feature [code]tag[/code]. More info: [url=https://docs.microsoft.com/en-us/typography/opentype/spec/featuretags]OpenType feature tags[/url]. </description> </method> + <method name="set_overtype_mode_enabled"> + <return type="void"> + </return> + <argument index="0" name="enabled" type="bool"> + </argument> + <description> + If [code]True[/code] set the user into overtype mode. When the user types it will override existing text. + </description> + </method> <method name="set_selection_mode"> <return type="void" /> <argument index="0" name="mode" type="int" enum="TextEdit.SelectionMode" /> |