From a8d499723fdf2fcd0d621c6342bddde5abcf4834 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 (cherry picked from commit 654d33866bc0a9135c43e115c0a99d0f044b4b42) --- doc/classes/TextEdit.xml | 1 + 1 file changed, 1 insertion(+) 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].