IVsPreliminaryTextChangeCommitEvents Interface

Notifies clients of a commit gesture to trigger a text buffer event, and provides the range of text changed.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("7F57B996-148B-46DE-A261-B1A02E6D9DBA")> _
Public Interface IVsPreliminaryTextChangeCommitEvents _
    Inherits IVsFinalTextChangeCommitEvents
'Usage
Dim instance As IVsPreliminaryTextChangeCommitEvents
[InterfaceTypeAttribute()]
[GuidAttribute("7F57B996-148B-46DE-A261-B1A02E6D9DBA")]
public interface IVsPreliminaryTextChangeCommitEvents : IVsFinalTextChangeCommitEvents
[InterfaceTypeAttribute()]
[GuidAttribute(L"7F57B996-148B-46DE-A261-B1A02E6D9DBA")]
public interface class IVsPreliminaryTextChangeCommitEvents : IVsFinalTextChangeCommitEvents
public interface IVsPreliminaryTextChangeCommitEvents extends IVsFinalTextChangeCommitEvents

Remarks

IVsPreliminaryTextChangeCommitEvents is similar to IVsFinalTextChangeCommitEvents except when it gets fired. IVsPreliminaryTextChangeCommitEvents gets fired before other events do, so that the client can manipulate the text buffer before other events like Visual Basic Pretty Listing, take place.

Notes to Implementers:

Implement IVsPreliminaryTextChangeCommitEvents on your client object to receive notification of changes to the text buffer object (VsTextBuffer). Use IVsPreliminaryTextChangeCommitEvents to respond to an event prior to other events. For example, Visual Basic Pretty Listing may make undesirable changes to the text if it is allowed to take place prior to other events. Expose this interface to the text buffer using the IConnectionPointContainer interface on the text buffer object (VsTextBuffer). For more information, see How to: Advise Text Buffer Events.

See Also

Reference

IVsPreliminaryTextChangeCommitEvents Members

Microsoft.VisualStudio.TextManager.Interop Namespace