Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

[TextEdit] Correct wrong clear() documentation text

CarrotOfPower5fd4a85f5874
diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml
index 760fd20f9d2..3923b9b937b 100644
--- a/doc/classes/TextEdit.xml
+++ b/doc/classes/TextEdit.xml
@@ -156,7 +156,7 @@
<method name="clear">
<return type="void" />
<description>
- Performs a full reset of [TextEdit], including undo history.
+ Clears all text and related state. This clears the text content, selections, carets, and gutter line data. If [member editable] is [code]false[/code], clears the undo history, otherwise preserves it. Does [b]not[/b] reset other values (such as [member placeholder_text], font, colors) to their defaults.
</description>
</method>
<method name="clear_undo_history">