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)
Syntax
'Dichiarazione
Public Interface IMergeTextUndoTransactionPolicy
public interface IMergeTextUndoTransactionPolicy
public interface class IMergeTextUndoTransactionPolicy
type IMergeTextUndoTransactionPolicy = interface end
public interface IMergeTextUndoTransactionPolicy
The IMergeTextUndoTransactionPolicy type exposes the following members.
Methods
Name | Description | |
---|---|---|
CanMerge | Determines whether two transactions can be merged | |
PerformTransactionMerge | Merges a new ITextUndoTransaction with an existing one. | |
TestCompatiblePolicy | Determines whether one IMergeTextUndoTransactionPolicy is compatible with another. |
Top
Remarks
These policies are used when transactions are completed and pushed onto the undo stack. Only adjacent ITextUndoTransaction objects can be merged.