This documentation is archived and is not being maintained.

TextEditorEvents Interface

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

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

[GuidAttribute("23B7A868-6C89-436A-94FA-25D755456A77")]
public interface TextEditorEvents : _TextEditorEvents, 
	_dispTextEditorEvents_Event

The TextEditorEvents object is returned by DTE.Events.

<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
Show: