applyTextLineCommandResult method
void
applyTextLineCommandResult(
- TextLineCommandResult result, {
- bool pushHistoryBoundary = true,
Applies a line-based editor-core command result.
Implementation
void applyTextLineCommandResult(
TextLineCommandResult result, {
bool pushHistoryBoundary = true,
}) {
final before = _TextAreaControllerSnapshot.capture(_model);
_model.applyTextLineCommandResult(
result,
pushHistoryBoundary: pushHistoryBoundary,
);
if (!before.matches(_model)) {
notifyListeners();
}
}