IVsTextLayerEvents 接口

通知客户端层的坐标映射更改。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

语法

声明
<InterfaceTypeAttribute()> _
<GuidAttribute("CDE3413A-AD8E-495F-A74F-760547294A6F")> _
Public Interface IVsTextLayerEvents
[InterfaceTypeAttribute()]
[GuidAttribute("CDE3413A-AD8E-495F-A74F-760547294A6F")]
public interface IVsTextLayerEvents
[InterfaceTypeAttribute()]
[GuidAttribute(L"CDE3413A-AD8E-495F-A74F-760547294A6F")]
public interface class IVsTextLayerEvents
[<InterfaceTypeAttribute()>]
[<GuidAttribute("CDE3413A-AD8E-495F-A74F-760547294A6F")>]
type IVsTextLayerEvents =  interface end
public interface IVsTextLayerEvents

IVsTextLayerEvents 类型公开以下成员。

方法

  名称 说明
公共方法 OnMappingChange
公共方法 OnMappingChangeComplete

页首

备注

调整窗口更改自动换行层的映射。 视图同步这些事件维护选定内容。 客户端通常会将其所有本地坐标转换为 OnMappingChange 的基本缓冲区坐标然后转换为 OnMappingChangeComplete的新的本地坐标。 IVsTextLayerEvents 纯粹是在协调映射的更改。 如果数据更改,层应激发 OnChangeLineText

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间