예제 #1
0
 public TextFormatAction(ISupportsUndo executor, int index, int[] oldFormats, int[] newFormats)
     : base(executor)
 {
     Index      = index;
     OldFormats = oldFormats;
     NewFormats = newFormats;
 }
예제 #2
0
 public ModeChangeAction(ISupportsUndo executor, int index, EditorMode[] oldModes, EditorMode[] newModes)
     : base(executor)
 {
     Index = index;
     OldModes = oldModes;
     NewModes = newModes;
 }
예제 #3
0
 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;
 }
예제 #11
0
 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;
 }
예제 #12
0
 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;
 }
예제 #13
0
 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)
 {
 }
예제 #27
0
 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)
 {
 }