Udostępnij za pośrednictwem


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

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.

Methods

CanMerge(ITextUndoPrimitive)

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

Do()

Performs or redoes the operation.

Merge(ITextUndoPrimitive)

Performs the actual merge.

Undo()

Performs rollback or undo on the operation.

Applies to