You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
458 B
29 lines
458 B
using System; |
|
using System.Collections.Generic; |
|
using System.Linq; |
|
using System.Text; |
|
using ICSharpCode.TextEditor.Undo; |
|
using SharpDevelop.XamlDesigner.Dom.UndoSystem; |
|
|
|
namespace SharpDevelop.Samples.XamlDesigner |
|
{ |
|
class TextAction : UndoAction |
|
{ |
|
public TextAction(IUndoableOperation op) |
|
{ |
|
this.op = op; |
|
} |
|
|
|
IUndoableOperation op; |
|
|
|
public override void Redo() |
|
{ |
|
op.Redo(); |
|
} |
|
|
|
public override void Undo() |
|
{ |
|
op.Undo(); |
|
} |
|
} |
|
}
|
|
|