IMergeTextUndoTransactionPolicy Interface

Provides the merge policy for undo transactions.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)


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

The IMergeTextUndoTransactionPolicy type exposes the following members.


  Name Description
Public method CanMerge Determines whether two transactions can be merged
Public method PerformTransactionMerge Merges a new ITextUndoTransaction with an existing one.
Public method TestCompatiblePolicy Determines whether one IMergeTextUndoTransactionPolicy is compatible with another.



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

See Also


Microsoft.VisualStudio.Text.Operations Namespace