Quellcode durchsuchen

Add documentation for center_viewport_to_cursor method

(cherry picked from commit 654d33866bc0a9135c43e115c0a99d0f044b4b42)
Slooth vor 5 Jahren
Ursprung
Commit
a8d499723f
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      doc/classes/TextEdit.xml

+ 1 - 0
doc/classes/TextEdit.xml

@@ -48,6 +48,7 @@
 			<return type="void">
 			</return>
 			<description>
+				Centers the viewport on the line the editing cursor is at. This also resets the [member scroll_horizontal] value to [code]0[/code].
 			</description>
 		</method>
 		<method name="clear_colors">