replaceSelectionOrInsertDocumentCommand method
TextCommandResult
replaceSelectionOrInsertDocumentCommand(
- TextDocument document, {
- List<
String> replacement = const <String>[], - bool replaceSelection = true,
Implementation
TextCommandResult replaceSelectionOrInsertDocumentCommand(
TextDocument document, {
List<String> replacement = const <String>[],
bool replaceSelection = true,
}) {
return textInsertGraphemes(
document: document,
state: this,
graphemes: replacement,
replaceSelection: replaceSelection,
);
}