//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// This file contain implementations details that are subject to change without notice.
// Use at your own risk.
//
namespace Microsoft.VisualStudio.Text.Operations.Standalone
{
///
/// These are the three states for the DelegatedUndoPrimitives. If Redoing or Undoing, a Redo or undo is in progress. In the
/// inactive case, it is illegal to send new operations to the primitive.
///
internal enum DelegatedUndoPrimitiveState
{
///
/// No redo or undo is in progress, and it is illegal to send new operations to the primitive.
///
Inactive,
///
/// A redo is in progress. New operations go into the undo list.
///
Redoing,
///
/// An undo is in progress. New operations go into the redo list.
///
Undoing
}
}