Exemple #1
0
        void UndoManager_DataChanged(ChangedData data, bool undo)
        {
            ExecuteDataChanged(undo ? data.GetUndoData() : data, undo);

            SetFile(File);
            //OnDocumentChanged(this); is already called in SetFile
        }
Exemple #2
0
        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
        }