Sdílet prostřednictvím


IMergeTextUndoTransactionPolicy Interface

Definition

Provides the merge policy for undo transactions.

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

Remarks

These policies are used when transactions are completed and pushed onto the undo stack. Only adjacent ITextUndoTransaction objects can be merged.

Methods

CanMerge(ITextUndoTransaction, ITextUndoTransaction)

Determines whether two ITextUndoTransaction objects can be merged.

PerformTransactionMerge(ITextUndoTransaction, ITextUndoTransaction)

Merges a new ITextUndoTransaction with an existing one.

TestCompatiblePolicy(IMergeTextUndoTransactionPolicy)

Determines whether one IMergeTextUndoTransactionPolicy is compatible with another.

Applies to