Udostępnij za pośrednictwem


TextEditorEventsClass Class

Definition

Microsoft Internal Use Only.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class TextEditorEventsClass : EnvDTE::TextEditorEvents
public ref class TextEditorEventsClass
[Windows::Foundation::Metadata::WebHostHidden]
class TextEditorEventsClass : EnvDTE::TextEditorEvents
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispTextEditorEvents\0")]
[System.Runtime.InteropServices.Guid("ADF22C37-0069-4ADF-B12D-D8D47C38FE79")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class TextEditorEventsClass : EnvDTE.TextEditorEvents
[System.Runtime.InteropServices.Guid("ADF22C37-0069-4ADF-B12D-D8D47C38FE79")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispTextEditorEvents")]
[System.Runtime.InteropServices.ComVisible(false)]
public class TextEditorEventsClass
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispTextEditorEvents\0")>]
[<System.Runtime.InteropServices.Guid("ADF22C37-0069-4ADF-B12D-D8D47C38FE79")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type TextEditorEventsClass = class
    interface _TextEditorEvents
    interface TextEditorEvents
    interface _dispTextEditorEvents_Event
[<System.Runtime.InteropServices.Guid("ADF22C37-0069-4ADF-B12D-D8D47C38FE79")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispTextEditorEvents")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type TextEditorEventsClass = class
Public Class TextEditorEventsClass
Implements TextEditorEvents
Public Class TextEditorEventsClass
Inheritance
TextEditorEventsClass
Attributes
Implements

Remarks

Refer to TextEditorEvents for this functionality. Do not instantiate this class.

Starting in Visual Studio 2010, text editor events fire on every text change, not when the change is committed.

Constructors

TextEditorEventsClass()

This API supports the product infrastructure and is not intended to be used directly from your code.

Microsoft Internal Use Only.

Methods

add_LineChanged(_dispTextEditorEvents_LineChangedEventHandler)
remove_LineChanged(_dispTextEditorEvents_LineChangedEventHandler)

Events

LineChanged

This API supports the product infrastructure and is not intended to be used directly from your code.

Occurs when changes are made to a line in the Text/Code Editor that moves the insertion point.

Applies to