This documentation is archived and is not being maintained.

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)

[InterfaceTypeAttribute(1)] 
[GuidAttribute("7F57B996-148B-46DE-A261-B1A02E6D9DBA")] 
public interface IVsPreliminaryTextChangeCommitEvents : IVsFinalTextChangeCommitEvents
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("7F57B996-148B-46DE-A261-B1A02E6D9DBA") */ 
public interface IVsPreliminaryTextChangeCommitEvents extends IVsFinalTextChangeCommitEvents
InterfaceTypeAttribute(1) 
GuidAttribute("7F57B996-148B-46DE-A261-B1A02E6D9DBA") 
public interface IVsPreliminaryTextChangeCommitEvents extends IVsFinalTextChangeCommitEvents

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.

Show: