updateContent method

void updateContent()

Implementation

void updateContent() {
  _contentVersion++;
  invalidateNodeIndex();
  // Commit any pending delta snapshot. This produces a minimal undo
  // record that stores only the changed top-level nodes, not the
  // entire document tree.
  _undoRedoManager.commitSaveState(this);
  notifyListeners();
}