From 654d33866bc0a9135c43e115c0a99d0f044b4b42 Mon Sep 17 00:00:00 2001 From: Slooth Date: Fri, 3 Jul 2020 05:39:17 -0500 Subject: [PATCH] Add documentation for center_viewport_to_cursor method --- doc/classes/TextEdit.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml index 0c6615c53ba..cfa6c7e4442 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].