Condividi tramite


IVsTextLayerEvents Interface

Definition

Notifies a client that a layer's coordinate mapping is changing.

public interface class IVsTextLayerEvents
public interface class IVsTextLayerEvents
__interface IVsTextLayerEvents
[System.Runtime.InteropServices.Guid("CDE3413A-AD8E-495F-A74F-760547294A6F")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextLayerEvents
[System.Runtime.InteropServices.Guid("CDE3413A-AD8E-495F-A74F-760547294A6F")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextLayerEvents
[<System.Runtime.InteropServices.Guid("CDE3413A-AD8E-495F-A74F-760547294A6F")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextLayerEvents = interface
[<System.Runtime.InteropServices.Guid("CDE3413A-AD8E-495F-A74F-760547294A6F")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextLayerEvents = interface
Public Interface IVsTextLayerEvents
Attributes

Remarks

Sizing the window changes the word-wrap layer's mapping. The view synchronizes these events to maintain the selection. A client will generally convert all of its local coordinates to base buffer coordinates in OnMappingChange then convert to the new local coordinates in OnMappingChangeComplete. IVsTextLayerEvents are purely changes in coordinate mapping. If there is a change in the data, the layer should fire OnChangeLineText.

Methods

OnMappingChange()

Fires to notify client to convert all of its local coordinates to base buffer coordinates.

OnMappingChangeComplete()

Fires to notify client to convert to the new local coordinates.

Applies to