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)

public interface ITextUndoPrimitive

NameDescription
System_CAPS_pubpropertyCanRedo

Determines whether it is currently possible to call Do() successfully.

System_CAPS_pubpropertyCanUndo

Determines whether it is currently possible to call Undo() successfully.

System_CAPS_pubpropertyParent

Gets or sets the ITextUndoTransaction that contains the primitive.

NameDescription
System_CAPS_pubmethodCanMerge(ITextUndoPrimitive)

Determines whether this undo primitive can merge with the specified undo primitive.

System_CAPS_pubmethodDo()

Performs or redoes the operation.

System_CAPS_pubmethodMerge(ITextUndoPrimitive)

Performs a merge with the specified undo primitive.

System_CAPS_pubmethodUndo()

Performs undo on the primitive.

Return to top
Show: