Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TextUndoHistoryState.cs « Undo « TextLogic « Def « Text « src - github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 25e8a45ceed9d9b474155c852ac2ad2935b1d742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// ****************************************************************************
// Copyright (c) Microsoft Corporation.  All rights reserved.
// ****************************************************************************

using System;
using System.Collections.Generic;
using System.Text;

namespace Microsoft.VisualStudio.Text.Operations
{
    /// <summary>
    /// Provides information about the <see cref="ITextUndoHistory"/>.
    /// </summary>
    public enum TextUndoHistoryState
    {
        /// <summary>
        /// The <see cref="ITextUndoHistory"/> is not in the process of performing an undo or redo.
        /// </summary>
        /// <remarks>
        /// If you care whether the <see cref="ITextUndoHistory"/> is altering its contents, be sure to check CurrentTransaction also.
        /// </remarks>
        Idle,

        /// <summary>
        /// The <see cref="ITextUndoHistory"/> is in the process of executing its Undo method.
        /// </summary>
        Undoing,

        /// <summary>
        /// The <see cref="ITextUndoHistory"/> is in the process of executing its Redo method.
        /// </summary>
        Redoing,
    }
}