applyTextCommandResult method
Applies an offset-based command result to the live document state.
Implementation
void applyTextCommandResult(
commands.TextCommandResult result, {
bool pushHistoryBoundary = false,
}) {
if (pushHistoryBoundary) {
this.pushHistoryBoundary();
}
_applyOffsetCommandResult(result);
_syncCoreState();
if (pushHistoryBoundary) {
this.pushHistoryBoundary();
}
}