summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2021-07-09 14:05:52 +0100
committerPaulb23 <p_batty@hotmail.co.uk>2021-08-12 09:29:58 +0100
commit7dbb0f32333a2bb2c856e17cc1cc69a91fbf1fa3 (patch)
treecda36d59387d5e27df98e067ac0e3a2c27d1a7d2 /doc/classes
parentb799e5583acd40f62603305c8a6b2fb31dfca9e3 (diff)
Rename readonly to editable
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/TextEdit.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml
index 7bf8520c1c..00c4c170db 100644
--- a/doc/classes/TextEdit.xml
+++ b/doc/classes/TextEdit.xml
@@ -688,6 +688,9 @@
<member name="draw_tabs" type="bool" setter="set_draw_tabs" getter="is_drawing_tabs" default="false">
If [code]true[/code], the "tab" character will have a visible representation.
</member>
+ <member name="editable" type="bool" setter="set_editable" getter="is_editable" default="true">
+ If [code]false[/code], existing text cannot be modified and new text cannot be added.
+ </member>
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" override="true" enum="Control.FocusMode" default="2" />
<member name="highlight_all_occurrences" type="bool" setter="set_highlight_all_occurrences" getter="is_highlight_all_occurrences_enabled" default="false">
If [code]true[/code], all occurrences of the selected text will be highlighted.
@@ -708,9 +711,6 @@
<member name="override_selected_font_color" type="bool" setter="set_override_selected_font_color" getter="is_overriding_selected_font_color" default="false">
If [code]true[/code], custom [code]font_selected_color[/code] will be used for selected text.
</member>
- <member name="readonly" type="bool" setter="set_readonly" getter="is_readonly" default="false">
- If [code]true[/code], read-only mode is enabled. Existing text cannot be modified and new text cannot be added.
- </member>
<member name="scroll_horizontal" type="int" setter="set_h_scroll" getter="get_h_scroll" default="0">
If there is a horizontal scrollbar, this determines the current horizontal scroll value in pixels.
</member>