IMergeTextUndoTransactionPolicy Interface
Visual Studio 2015
Provides the merge policy for undo transactions.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
| Name | Description | |
|---|---|---|
![]() | CanMerge(ITextUndoTransaction, ITextUndoTransaction) | Determines whether two transactions can be merged |
![]() | PerformTransactionMerge(ITextUndoTransaction, ITextUndoTransaction) | Merges a new ITextUndoTransaction with an existing one. |
![]() | TestCompatiblePolicy(IMergeTextUndoTransactionPolicy) | 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.
Show:
