Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TextEditorEvents

TextEditorEvents Object

Visual Studio .NET 2003

Provides events for changes made in the Text/Code Editor.

DTE

   Events

      TextEditorEvents

[Visual Basic .NET]
Public Class TextEditorEvents
[Visual Basic 6]
Class TextEditorEvents
[C++]
class TextEditorEvents
[C#]
public class TextEditorEvents
[JScript .NET]
public class TextEditorEvents

Remarks

The TextEditorEvents object is returned by DTE.Events.

Requirements

Namespace: EnvDTE

File: dte.olb

Example

<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

See Also

Properties, Methods, and Events | LineChanged Event

Show:
© 2015 Microsoft