applyTextCommandResult method
Applies an offset-based editor-core command result.
Implementation
void applyTextCommandResult(
TextCommandResult result, {
bool pushHistoryBoundary = true,
}) {
final before = _TextAreaControllerSnapshot.capture(_model);
_model.applyTextCommandResult(
result,
pushHistoryBoundary: pushHistoryBoundary,
);
if (!before.matches(_model)) {
notifyListeners();
}
}