Share via


TextEditorEventsClass.LineChanged Event

This API supports the .NET Framework 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.

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

Syntax

'Declaration
Public Overridable Event LineChanged As _dispTextEditorEvents_LineChangedEventHandler
public virtual event _dispTextEditorEvents_LineChangedEventHandler LineChanged
public:
virtual   event _dispTextEditorEvents_LineChangedEventHandler^ LineChanged {
    void add (_dispTextEditorEvents_LineChangedEventHandler^ value);
    void remove (_dispTextEditorEvents_LineChangedEventHandler^ value);
}
abstract LineChanged : IEvent<_dispTextEditorEvents_LineChangedEventHandler,
    EventArgs>
override LineChanged : IEvent<_dispTextEditorEvents_LineChangedEventHandler,
    EventArgs>
JScript does not support events.

Implements

_dispTextEditorEvents_Event.LineChanged

Examples

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

.NET Framework Security

See Also

Reference

TextEditorEventsClass Class

EnvDTE Namespace