ITextUndoPrimitive Interface
Represents an atomic operation that knows how to do, undo, and redo itself.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaração
Public Interface ITextUndoPrimitive
public interface ITextUndoPrimitive
public interface class ITextUndoPrimitive
type ITextUndoPrimitive = interface end
public interface ITextUndoPrimitive
The ITextUndoPrimitive type exposes the following members.
Properties
Name | Description | |
---|---|---|
CanRedo | Determines whether it is currently possible to call Do() successfully. | |
CanUndo | Determines whether it is currently possible to call Undo() successfully. | |
Parent | Gets or sets the ITextUndoTransaction that contains the primitive. |
Top
Methods
Name | Description | |
---|---|---|
CanMerge | Determines whether this undo primitive can merge with the specified undo primitive. | |
Do | Performs or redoes the operation. | |
Merge | Performs a merge with the specified undo primitive. | |
Undo | Performs undo on the primitive. |
Top