TextEditCursorSetLine Method |
Moves the cursor at the specified line index.
If adjust_viewport is set to true, the viewport will center at the cursor position after the move occurs.
If can_be_hidden is set to true, the specified line can be hidden using SetLineAsHidden(Int32, Boolean).
Namespace: Godot
public void CursorSetLine( int line, bool adjustViewport = true, bool canBeHidden = true, int wrapIndex = 0 )
[Missing <param name="line"/> documentation for "M:Godot.TextEdit.CursorSetLine(System.Int32,System.Boolean,System.Boolean,System.Int32)"]
[Missing <param name="adjustViewport"/> documentation for "M:Godot.TextEdit.CursorSetLine(System.Int32,System.Boolean,System.Boolean,System.Int32)"]
[Missing <param name="canBeHidden"/> documentation for "M:Godot.TextEdit.CursorSetLine(System.Int32,System.Boolean,System.Boolean,System.Int32)"]
[Missing <param name="wrapIndex"/> documentation for "M:Godot.TextEdit.CursorSetLine(System.Int32,System.Boolean,System.Boolean,System.Int32)"]