Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IVsTextLayerEvents Interface

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

Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in microsoft.visualstudio.textmanager.interop.dll)

[InterfaceTypeAttribute(1)] 
[GuidAttribute("CDE3413A-AD8E-495F-A74F-760547294A6F")] 
public interface IVsTextLayerEvents
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("CDE3413A-AD8E-495F-A74F-760547294A6F") */ 
public interface IVsTextLayerEvents
InterfaceTypeAttribute(1) 
GuidAttribute("CDE3413A-AD8E-495F-A74F-760547294A6F") 
public interface IVsTextLayerEvents

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.