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 type exposes the following members.

  NameDescription
Public methodadd_LineChangedInfrastructure. Microsoft Internal Use Only. (Inherited from _dispTextEditorEvents_Event.)
Public methodremove_LineChangedInfrastructure. Microsoft Internal Use Only. (Inherited from _dispTextEditorEvents_Event.)
Top

  NameDescription
Public eventLineChangedInfrastructure. Microsoft Internal Use Only. (Inherited from _dispTextEditorEvents_Event.)
Top

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft