Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

IVsQueryLineChangeCommit Interface

Determines if an CCG_CARET_ON_NEW_BUFFER_LINE commit event should be fired.

Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in microsoft.visualstudio.textmanager.interop.dll)

[InterfaceTypeAttribute(1)] 
[GuidAttribute("72E67329-8765-4586-8B15-0B445E6F3B57")] 
public interface IVsQueryLineChangeCommit
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("72E67329-8765-4586-8B15-0B445E6F3B57") */ 
public interface IVsQueryLineChangeCommit
InterfaceTypeAttribute(1) 
GuidAttribute("72E67329-8765-4586-8B15-0B445E6F3B57") 
public interface IVsQueryLineChangeCommit

This is an optional interface that should be implemented by the IVsTextViewFilter to determine whether an CCG_CARET_ON_NEW_BUFFER_LINE commit event should be fired. This only needs to happen if you don't want this commit event to be fired on every Carriage Return/Line feed, and if you listen to IVsFinalTextChangeCommitEvents or IVsPreliminaryTextChangeCommitEvents.

Community Additions

ADD
Show:
© 2015 Microsoft