Partager via


IVsQueryLineChangeCommit Interface

Definition

Determines if an CCG_CARET_ON_NEW_BUFFER_LINE commit event should be fired.

public interface class IVsQueryLineChangeCommit
public interface class IVsQueryLineChangeCommit
__interface IVsQueryLineChangeCommit
[System.Runtime.InteropServices.Guid("72E67329-8765-4586-8B15-0B445E6F3B57")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsQueryLineChangeCommit
[System.Runtime.InteropServices.Guid("72E67329-8765-4586-8B15-0B445E6F3B57")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsQueryLineChangeCommit
[<System.Runtime.InteropServices.Guid("72E67329-8765-4586-8B15-0B445E6F3B57")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsQueryLineChangeCommit = interface
[<System.Runtime.InteropServices.Guid("72E67329-8765-4586-8B15-0B445E6F3B57")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsQueryLineChangeCommit = interface
Public Interface IVsQueryLineChangeCommit
Attributes

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.

Methods

QuerySendEnterLineCommit(UInt32, Int32, Int32, UInt32)

Gets a flag indicating whether to send the CCG_CARET_ON_NEW_BUFFER_LINE event for the specified line.

Applies to