Udostępnij za pośrednictwem


TextEditorEvents Interface

Definition

Provides events for changes made in the Text/Code Editor. Use this interface for functionality and refer to TextEditorEventsClass for this object's documentation.

public interface class TextEditorEvents : EnvDTE::_dispTextEditorEvents_Event, EnvDTE::_TextEditorEvents
public interface class TextEditorEvents : EnvDTE::_dispTextEditorEvents_Event
public interface class TextEditorEvents : EnvDTE::_dispTextEditorEvents_Event, EnvDTE::_TextEditorEvents
__interface TextEditorEvents : EnvDTE::_dispTextEditorEvents_Event, EnvDTE::_TextEditorEvents
[System.Runtime.InteropServices.CoClass(typeof(EnvDTE.TextEditorEventsClass))]
[System.Runtime.InteropServices.Guid("23B7A868-6C89-436A-94FA-25D755456A77")]
public interface TextEditorEvents : EnvDTE._dispTextEditorEvents_Event, EnvDTE._TextEditorEvents
[System.Runtime.InteropServices.CoClass(typeof(EnvDTE.TextEditorEventsClass))]
[System.Runtime.InteropServices.Guid("23B7A868-6C89-436A-94FA-25D755456A77")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface TextEditorEvents : EnvDTE._dispTextEditorEvents_Event
[<System.Runtime.InteropServices.CoClass(typeof(EnvDTE.TextEditorEventsClass))>]
[<System.Runtime.InteropServices.Guid("23B7A868-6C89-436A-94FA-25D755456A77")>]
type TextEditorEvents = interface
    interface _TextEditorEvents
    interface _dispTextEditorEvents_Event
[<System.Runtime.InteropServices.CoClass(typeof(EnvDTE.TextEditorEventsClass))>]
[<System.Runtime.InteropServices.Guid("23B7A868-6C89-436A-94FA-25D755456A77")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type TextEditorEvents = interface
    interface _dispTextEditorEvents_Event
Public Interface TextEditorEvents
Implements _dispTextEditorEvents_Event, _TextEditorEvents
Public Interface TextEditorEvents
Implements _dispTextEditorEvents_Event
Derived
Attributes
Implements

Examples

<System.ContextStaticAttribute()> Public WithEvents TextEditorEvents As EnvDTE.TextEditorEvents  

Public Sub TextEditorEvents_LineChanged(ByVal StartPoint As EnvDTE.TextPoint, ByVal EndPoint As EnvDTE.TextPoint, ByVal Hint As Integer) Handles TextEditorEvents.LineChanged  
   MsgBox("test")  
End Sub  

Remarks

The TextEditorEvents object is returned by DTE.Events.

Methods

add_LineChanged(_dispTextEditorEvents_LineChangedEventHandler) (Inherited from _dispTextEditorEvents_Event)
remove_LineChanged(_dispTextEditorEvents_LineChangedEventHandler) (Inherited from _dispTextEditorEvents_Event)

Events

LineChanged

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

Microsoft Internal Use Only.

(Inherited from _dispTextEditorEvents_Event)

Applies to