setCursor method

void setCursor(
  1. int row,
  2. int col
)

Sets the cursor position.

Implementation

void setCursor(int row, int col) {
  _moveLineCursor(TextPosition(line: row, column: col));
  _lastDocumentChange = null;
  _syncCoreState();
}