insertTextDocumentCommand method

TextCommandResult insertTextDocumentCommand(
  1. TextDocument document, {
  2. required String text,
  3. bool replaceSelection = true,
})

Implementation

TextCommandResult insertTextDocumentCommand(
  TextDocument document, {
  required String text,
  bool replaceSelection = true,
}) {
  return textInsertText(
    document: document,
    state: this,
    text: text,
    replaceSelection: replaceSelection,
  );
}