ARCed.Scintilla.UndoRedoFlags.UndoRedoFlags C# (CSharp) Method

UndoRedoFlags() public method

Initializes a new instance of the UndoRedoFlags structure.
public UndoRedoFlags ( int modificationType )
modificationType int Specifies the modification type
        public UndoRedoFlags(int modificationType)
        {
            this.IsLastStep = (modificationType & Constants.SC_LASTSTEPINUNDOREDO) > 0;
            this.IsMultiLine = (modificationType & Constants.SC_MULTILINEUNDOREDO) > 0;
            this.IsMultiStep = (modificationType & Constants.SC_MULTISTEPUNDOREDO) > 0;
            this.IsRedo = (modificationType & Constants.SC_PERFORMED_REDO) > 0;
            this.IsUndo = (modificationType & Constants.SC_PERFORMED_UNDO) > 0;
        }