applyTextLineCommandResult method
void
applyTextLineCommandResult(
- TextLineCommandResult result, {
- bool pushHistoryBoundary = false,
Applies a line-based command result to the live document state.
Implementation
void applyTextLineCommandResult(
commands.TextLineCommandResult result, {
bool pushHistoryBoundary = false,
}) {
if (pushHistoryBoundary) {
this.pushHistoryBoundary();
}
_applyLineCommandResult(result);
_syncCoreState();
if (pushHistoryBoundary) {
this.pushHistoryBoundary();
}
}