applyTextCursorCommandResult method
void
applyTextCursorCommandResult(
- TextCursorCommandResult result, {
- bool pushHistoryBoundary = false,
Applies an offset cursor command result to the live document state.
Implementation
void applyTextCursorCommandResult(
commands.TextCursorCommandResult result, {
bool pushHistoryBoundary = false,
}) {
if (pushHistoryBoundary) {
this.pushHistoryBoundary();
}
_applyOffsetCursorCommandResult(result);
_syncCoreState();
if (pushHistoryBoundary) {
this.pushHistoryBoundary();
}
}