TextEdit.cursorSetLine

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.

struct TextEdit
@nogc nothrow
void
cursorSetLine
(
in long line
,
in bool adjust_viewport = true
,
in bool can_be_hidden = true
,
in long wrap_index = 0
)

Meta