summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-07-03 13:17:46 +0200
committerGitHub <noreply@github.com>2020-07-03 13:17:46 +0200
commitb5fa2634d448cec8fc1c2d7ab481f9750f790323 (patch)
tree292378277d4e0da37b93c11e375805fa0c7a85c1 /doc/classes
parenta6f1714612404f62c67035d155a38e7cb04f352e (diff)
parent654d33866bc0a9135c43e115c0a99d0f044b4b42 (diff)
Merge pull request #40082 from slooths/doc-textedit-center-viewport-to-cursor
Add documentation for center_viewport_to_cursor method
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/TextEdit.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml
index 643da891a1..d72d684ebc 100644
--- a/doc/classes/TextEdit.xml
+++ b/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">