Forráskód Böngészése

Add documentation for center_viewport_to_cursor method

(cherry picked from commit 654d33866bc0a9135c43e115c0a99d0f044b4b42)
Slooth 5 éve
szülő
commit
a8d499723f
1 módosított fájl, 1 hozzáadás és 0 törlés
  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">