Share via


TextEditorEventsClass Class

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

Microsoft Internal Use Only.

Inheritance Hierarchy

System.Object
  EnvDTE.TextEditorEventsClass

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

Syntax

'Declaration
<GuidAttribute("ADF22C37-0069-4ADF-B12D-D8D47C38FE79")> _
<ClassInterfaceAttribute()> _
Public Class TextEditorEventsClass _
    Implements _TextEditorEvents, TextEditorEvents, _dispTextEditorEvents_Event
[GuidAttribute("ADF22C37-0069-4ADF-B12D-D8D47C38FE79")]
[ClassInterfaceAttribute()]
public class TextEditorEventsClass : _TextEditorEvents, 
    TextEditorEvents, _dispTextEditorEvents_Event
[GuidAttribute(L"ADF22C37-0069-4ADF-B12D-D8D47C38FE79")]
[ClassInterfaceAttribute()]
public ref class TextEditorEventsClass : _TextEditorEvents, 
    TextEditorEvents, _dispTextEditorEvents_Event
[<GuidAttribute("ADF22C37-0069-4ADF-B12D-D8D47C38FE79")>]
[<ClassInterfaceAttribute()>]
type TextEditorEventsClass =  
    class 
        interface _TextEditorEvents 
        interface TextEditorEvents 
        interface _dispTextEditorEvents_Event 
    end
public class TextEditorEventsClass implements _TextEditorEvents, TextEditorEvents, _dispTextEditorEvents_Event

The TextEditorEventsClass type exposes the following members.

Constructors

  Name Description
Public method TextEditorEventsClass Infrastructure. Microsoft Internal Use Only.

Top

Methods

  Name Description
Public method add_LineChanged Infrastructure. Microsoft Internal Use Only.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method remove_LineChanged Infrastructure. Microsoft Internal Use Only.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event LineChanged Occurs when changes are made to a line in the Text/Code Editor that moves the insertion point.

Top

Remarks

Refer to TextEditorEvents for this functionality. Do not instantiate this class.

Starting in Visual Studio 2010, text editor events fire on every text change, not when the change is committed.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

EnvDTE Namespace