Čitajte na engleskom

Dijeli putem


TextEditorEvents Interface

Definition

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

C++/CX
public interface class TextEditorEvents : EnvDTE::_dispTextEditorEvents_Event, EnvDTE::_TextEditorEvents
Derived
Attributes
Implements

Examples

VB
<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  

Remarks

The TextEditorEvents object is returned by DTE.Events.

Methods

Events

LineChanged

This API supports the product infrastructure and is not intended to be used directly from your code.

Microsoft Internal Use Only.

(Inherited from _dispTextEditorEvents_Event)

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022