Bagikan melalui


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

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