public TextFormatAction(ISupportsUndo executor, int index, int[] oldFormats, int[] newFormats)
     : base(executor)
 {
     Index      = index;
     OldFormats = oldFormats;
     NewFormats = newFormats;
 }
 public ModeChangeAction(ISupportsUndo executor, int index, EditorMode[] oldModes, EditorMode[] newModes)
     : base(executor)
 {
     Index = index;
     OldModes = oldModes;
     NewModes = newModes;
 }
 public TextFormatAction(ISupportsUndo executor, int index, int[] oldFormats, int[] newFormats)
     : base(executor)
 {
     Index = index;
     OldFormats = oldFormats;
     NewFormats = newFormats;
 }
 public ModeChangeAction(ISupportsUndo executor, int index, EditorMode[] oldModes, EditorMode[] newModes)
     : base(executor)
 {
     Index    = index;
     OldModes = oldModes;
     NewModes = newModes;
 }
 public RowContainerAction(ISupportsUndo executor, int index, int childIndexInRow, int caretIndex, EquationRow equation)
     : base(executor)
 {
     Index = index;
     ChildIndexInRow = childIndexInRow;
     CaretIndex = caretIndex;
     Equation = equation;
 }
示例#6
0
 public RowAction(ISupportsUndo executor, EquationBase equation, TextEquation equationAfter, int index, int caretIndex)
     : base(executor)
 {
     Index         = index;
     Equation      = equation;
     CaretIndex    = caretIndex;
     EquationAfter = equationAfter;
 }
示例#7
0
 public RowContainerAction(ISupportsUndo executor, int index, int childIndexInRow, int caretIndex, EquationRow equation)
     : base(executor)
 {
     Index           = index;
     ChildIndexInRow = childIndexInRow;
     CaretIndex      = caretIndex;
     Equation        = equation;
 }
示例#8
0
 public RowAction(ISupportsUndo executor, EquationBase equation, TextEquation equationAfter, int index, int caretIndex)
     : base(executor)
 {
     Index = index;
     Equation = equation;
     CaretIndex = caretIndex;
     EquationAfter = equationAfter;
 }
示例#9
0
 public TextAction(ISupportsUndo executor, int index, string text, int[] formats, EditorMode[] modes, CharacterDecorationInfo[] decorations)
     : base(executor)
 {
     Index = index;
     Text = text;
     Formats = formats;
     Modes = modes;
     Decorations = decorations;
 }
示例#10
0
 public TextAction(ISupportsUndo executor, int index, string text, int[] formats, EditorMode[] modes, CharacterDecorationInfo[] decorations)
     : base(executor)
 {
     Index       = index;
     Text        = text;
     Formats     = formats;
     Modes       = modes;
     Decorations = decorations;
 }
 public TextRemoveAction(ISupportsUndo executor, int index, string text, int selectionStartIndex,
                         int selectionCout, int parentSelectionStartIndex, int[] formats, EditorMode[] modes, 
                         CharacterDecorationInfo[] decorations)
     : base(executor)
 {
     Index = index;
     Text = text;
     Formats = formats;
     Modes = modes;
     Decorations = decorations;
     SelectionStartIndex = selectionStartIndex;
     SelectionCount = selectionCout;
     ParentSelectionStartIndex = parentSelectionStartIndex;
 }
 public TextRemoveAction(ISupportsUndo executor, int index, string text, int selectionStartIndex,
                         int selectionCout, int parentSelectionStartIndex, int[] formats, EditorMode[] modes,
                         CharacterDecorationInfo[] decorations)
     : base(executor)
 {
     Index                     = index;
     Text                      = text;
     Formats                   = formats;
     Modes                     = modes;
     Decorations               = decorations;
     SelectionStartIndex       = selectionStartIndex;
     SelectionCount            = selectionCout;
     ParentSelectionStartIndex = parentSelectionStartIndex;
 }
 public DecorationAction(ISupportsUndo executor, CharacterDecorationInfo [] cdi)
     : base(executor)
 {
     CharacterDecorations = cdi;
 }
示例#14
0
 public TextAction(ISupportsUndo executor)
     : base(executor)
 {
 }
 public EquationAction(ISupportsUndo executor)
 {
     Executor = executor;
     UndoFlag = true;
 }
示例#16
0
 public EquationAction(ISupportsUndo executor)
 {
     Executor = executor;
     UndoFlag = true;
 }
示例#17
0
 public TextAction(ISupportsUndo executor)
     : base(executor)
 {
 }
示例#18
0
 public RowRemoveAction(ISupportsUndo executor)
     : base(executor)
 {
 }
示例#19
0
 public EquationRowFormatAction(ISupportsUndo executor)
     : base(executor)
 {
 }
 public RowContainerFormatAction(ISupportsUndo executor)
     : base(executor)
 {
 }
示例#21
0
 public RowContainerTextAction(ISupportsUndo executor)
     : base(executor)
 {
 }
示例#22
0
 public DecorationAction(ISupportsUndo executor, CharacterDecorationInfo [] cdi)
     : base(executor)
 {
     CharacterDecorations = cdi;
 }
 public EquationRowPasteAction(ISupportsUndo executor)
     : base(executor)
 {
 }
 public EquationRowFormatAction(ISupportsUndo executor)
     : base(executor)
 {
 }
示例#25
0
 public DecorationAction(ISupportsUndo executor, CharacterDecorationInfo [] cdi, bool added)
     : base(executor)
 {
     Added = added;
     CharacterDecorations = cdi;
 }
 public RowContainerRemoveAction(ISupportsUndo executor)
     : base(executor)
 {
 }
 public DecorationAction(ISupportsUndo executor, CharacterDecorationInfo [] cdi, bool added)
     : base(executor)
 {
     Added = added;
     CharacterDecorations = cdi;
 }
 public EquationRowPasteAction(ISupportsUndo executor)
     : base(executor)
 {
 }
示例#29
0
 public RowRemoveAction(ISupportsUndo executor)
     : base(executor)
 {
 }
示例#30
0
		/// <summary>
		/// Starts an undo batch, which is ended when this instance is disposed. Designed for use in a using statement.
		/// </summary>
		/// <param name="instance">An object that implements ISupportsUndo. The batch will call GetUndoRoot() to get the root.</param>
		/// <param name="description">The description of this batch of changes.</param>
		/// <param name="consolidateChangesForSameInstance">Should the batch consolidate changes.</param>
		public UndoBatch(ISupportsUndo instance, string description, bool consolidateChangesForSameInstance)
			: this(UndoService.Current[instance.GetUndoRoot()], description, consolidateChangesForSameInstance) { }
示例#31
0
 /// <summary>
 ///     Starts an undo batch, which is ended when this instance is disposed. Designed for use in a using statement.
 /// </summary>
 /// <param name="instance">An object that implements ISupportsUndo. The batch will call GetUndoRoot() to get the root.</param>
 /// <param name="description">The description of this batch of changes.</param>
 /// <param name="consolidateChangesForSameInstance">Should the batch consolidate changes.</param>
 public UndoBatch(ISupportsUndo instance, string description, bool consolidateChangesForSameInstance)
     : this(UndoService.Current[instance.GetUndoRoot()], description, consolidateChangesForSameInstance)
 {
 }
 public RowContainerRemoveAction(ISupportsUndo executor)
     : base(executor)
 {
 }