浏览代码

Add documentation for center_viewport_to_cursor method

(cherry picked from commit 654d33866bc0a9135c43e115c0a99d0f044b4b42)
Slooth 5 年之前
父节点
当前提交
a8d499723f
共有 1 个文件被更改,包括 1 次插入0 次删除
  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">