diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml
index c7cd0890533..c7e4b804c8c 100644
--- a/doc/classes/TextEdit.xml
+++ b/doc/classes/TextEdit.xml
@@ -48,6 +48,7 @@
+ Centers the viewport on the line the editing cursor is at. This also resets the [member scroll_horizontal] value to [code]0[/code].