IEditorOperations.GotoLine(Int32) Method

Definition

Moves the caret to the start of the specified line.

public void GotoLine (int lineNumber);
Parameters
lineNumber
Int32

The line number to which to move the caret.

Exceptions

lineNumber is less than zero or greater than the number of the last line in the text buffer.

Applies to