void UndoManager_DataChanged(ChangedData data, bool undo) { ExecuteDataChanged(undo ? data.GetUndoData() : data, undo); SetFile(File); //OnDocumentChanged(this); is already called in SetFile }
private void UndoManagerDataChanged(ChangedData data, bool undo) { this.ExecuteDataChanged(undo ? data.GetUndoData() : data, undo); this.SetFile(this.File); // OnDocumentChanged(this); is already called in SetFile }