Exemplo n.º 1
0
 public TextFormatAction(ISupportsUndo executor, int index, int[] oldFormats, int[] newFormats)
     : base(executor)
 {
     Index      = index;
     OldFormats = oldFormats;
     NewFormats = newFormats;
 }
Exemplo n.º 2
0
 public ModeChangeAction(ISupportsUndo executor, int index, EditorMode[] oldModes, EditorMode[] newModes)
     : base(executor)
 {
     Index = index;
     OldModes = oldModes;
     NewModes = newModes;
 }
Exemplo n.º 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;
 }
Exemplo n.º 6
0
 public RowAction(ISupportsUndo executor, EquationBase equation, TextEquation equationAfter, int index, int caretIndex)
     : base(executor)
 {
     Index         = index;
     Equation      = equation;
     CaretIndex    = caretIndex;
     EquationAfter = equationAfter;
 }
Exemplo n.º 7
0
 public RowContainerAction(ISupportsUndo executor, int index, int childIndexInRow, int caretIndex, EquationRow equation)
     : base(executor)
 {
     Index           = index;
     ChildIndexInRow = childIndexInRow;
     CaretIndex      = caretIndex;
     Equation        = equation;
 }
Exemplo n.º 8
0
 public RowAction(ISupportsUndo executor, EquationBase equation, TextEquation equationAfter, int index, int caretIndex)
     : base(executor)
 {
     Index = index;
     Equation = equation;
     CaretIndex = caretIndex;
     EquationAfter = equationAfter;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 13
0
 public DecorationAction(ISupportsUndo executor, CharacterDecorationInfo [] cdi)
     : base(executor)
 {
     CharacterDecorations = cdi;
 }
Exemplo n.º 14
0
 public TextAction(ISupportsUndo executor)
     : base(executor)
 {
 }
 public EquationAction(ISupportsUndo executor)
 {
     Executor = executor;
     UndoFlag = true;
 }
Exemplo n.º 16
0
 public EquationAction(ISupportsUndo executor)
 {
     Executor = executor;
     UndoFlag = true;
 }
Exemplo n.º 17
0
 public TextAction(ISupportsUndo executor)
     : base(executor)
 {
 }
Exemplo n.º 18
0
 public RowRemoveAction(ISupportsUndo executor)
     : base(executor)
 {
 }
Exemplo n.º 19
0
 public EquationRowFormatAction(ISupportsUndo executor)
     : base(executor)
 {
 }
 public RowContainerFormatAction(ISupportsUndo executor)
     : base(executor)
 {
 }
Exemplo n.º 21
0
 public RowContainerTextAction(ISupportsUndo executor)
     : base(executor)
 {
 }
Exemplo n.º 22
0
 public DecorationAction(ISupportsUndo executor, CharacterDecorationInfo [] cdi)
     : base(executor)
 {
     CharacterDecorations = cdi;
 }
 public EquationRowPasteAction(ISupportsUndo executor)
     : base(executor)
 {
 }
 public EquationRowFormatAction(ISupportsUndo executor)
     : base(executor)
 {
 }
Exemplo n.º 25
0
 public DecorationAction(ISupportsUndo executor, CharacterDecorationInfo [] cdi, bool added)
     : base(executor)
 {
     Added = added;
     CharacterDecorations = cdi;
 }
 public RowContainerRemoveAction(ISupportsUndo executor)
     : base(executor)
 {
 }
Exemplo n.º 27
0
 public DecorationAction(ISupportsUndo executor, CharacterDecorationInfo [] cdi, bool added)
     : base(executor)
 {
     Added = added;
     CharacterDecorations = cdi;
 }
 public EquationRowPasteAction(ISupportsUndo executor)
     : base(executor)
 {
 }
Exemplo n.º 29
0
 public RowRemoveAction(ISupportsUndo executor)
     : base(executor)
 {
 }
Exemplo n.º 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) { }
Exemplo n.º 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)
 {
 }