Partager via


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)

Syntax

'Declaration
<GuidAttribute("72E67329-8765-4586-8B15-0B445E6F3B57")> _
<InterfaceTypeAttribute()> _
Public Interface IVsQueryLineChangeCommit
[GuidAttribute("72E67329-8765-4586-8B15-0B445E6F3B57")]
[InterfaceTypeAttribute()]
public interface IVsQueryLineChangeCommit
[GuidAttribute(L"72E67329-8765-4586-8B15-0B445E6F3B57")]
[InterfaceTypeAttribute()]
public interface class IVsQueryLineChangeCommit
[<GuidAttribute("72E67329-8765-4586-8B15-0B445E6F3B57")>]
[<InterfaceTypeAttribute()>]
type IVsQueryLineChangeCommit =  interface end
public interface IVsQueryLineChangeCommit

The IVsQueryLineChangeCommit type exposes the following members.

Methods

  Name Description
Public method QuerySendEnterLineCommit Gets a flag indicating whether to send the CCG_CARET_ON_NEW_BUFFER_LINE event for the specified line.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace