wrapSelectionDocumentCommand method

TextCommandResult wrapSelectionDocumentCommand(
  1. TextDocument document, {
  2. required String before,
  3. String? after,
})

Implementation

TextCommandResult wrapSelectionDocumentCommand(
  TextDocument document, {
  required String before,
  String? after,
}) {
  return textWrapSelection(
    document: document,
    state: this,
    before: before,
    after: after,
  );
}