Click or drag to resize

TextEditCenterViewportToCursor Method

Centers the viewport on the line the editing cursor is at. This also resets the ScrollHorizontal value to 0.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void CenterViewportToCursor()
See Also