Udostępnij za pośrednictwem


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
'Usage
Dim instance As TextEditorEventsClass 
Dim handler As _dispTextEditorEvents_LineChangedEventHandler 

AddHandler instance.LineChanged, handler
public virtual event _dispTextEditorEvents_LineChangedEventHandler LineChanged
public:
virtual   event _dispTextEditorEvents_LineChangedEventHandler^ LineChanged {
    void add (_dispTextEditorEvents_LineChangedEventHandler^ value);
    void remove (_dispTextEditorEvents_LineChangedEventHandler^ value);
}
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

TextEditorEventsClass Members

EnvDTE Namespace