ITextUndoPrimitive ITextUndoPrimitive ITextUndoPrimitive ITextUndoPrimitive ITextUndoPrimitive ITextUndoPrimitive Interface

Definition

Represents an atomic operation that knows how to Do/Undo/Redo itself.

public interface class ITextUndoPrimitive
public interface class ITextUndoPrimitive
__interface ITextUndoPrimitive
public interface ITextUndoPrimitive
type ITextUndoPrimitive = interface
Public Interface ITextUndoPrimitive

Properties

CanRedo CanRedo CanRedo CanRedo CanRedo CanRedo

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

CanUndo CanUndo CanUndo CanUndo CanUndo CanUndo

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

Parent Parent Parent Parent Parent Parent

Gets or sets the ITextUndoTransaction that contains the primitive.

Methods

CanMerge(ITextUndoPrimitive) CanMerge(ITextUndoPrimitive) CanMerge(ITextUndoPrimitive) CanMerge(ITextUndoPrimitive) CanMerge(ITextUndoPrimitive) CanMerge(ITextUndoPrimitive)

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

Do() Do() Do() Do() Do() Do()

Performs or redoes the operation.

Merge(ITextUndoPrimitive) Merge(ITextUndoPrimitive) Merge(ITextUndoPrimitive) Merge(ITextUndoPrimitive) Merge(ITextUndoPrimitive) Merge(ITextUndoPrimitive)

Performs the actual merge.

Undo() Undo() Undo() Undo() Undo() Undo()

Performs rollback or undo on the operation.

Applies to