IVsTextLinesEvents 接口

更改通知的客户端基础文本缓冲区的。

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

语法

声明
<GuidAttribute("598D7074-DC17-4162-9A2F-97DD4540C2DD")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextLinesEvents
[GuidAttribute("598D7074-DC17-4162-9A2F-97DD4540C2DD")]
[InterfaceTypeAttribute()]
public interface IVsTextLinesEvents
[GuidAttribute(L"598D7074-DC17-4162-9A2F-97DD4540C2DD")]
[InterfaceTypeAttribute()]
public interface class IVsTextLinesEvents
[<GuidAttribute("598D7074-DC17-4162-9A2F-97DD4540C2DD")>]
[<InterfaceTypeAttribute()>]
type IVsTextLinesEvents =  interface end
public interface IVsTextLinesEvents

IVsTextLinesEvents 类型公开以下成员。

方法

  名称 说明
公共方法 OnChangeLineAttributes ,当更改时,通知客户端文本行的属性设置为。
公共方法 OnChangeLineText ,它带有文本行的内容缓冲区的已更改时,通知客户端。

页首

备注

实现在客户端对象的 IVsTextLinesEvents 接口接收更改的通知在文本缓冲区中的。 显示该接口在文本缓冲区使用文本缓冲区的 IConnectionPointContainer 接口接收行更改的通知从此缓冲区中。 会二维/行索引坐标系表示。

对实现者的说明

实现由客户端,因此它们对接收更改的通知到行中文本缓冲区中。

对调用者的说明

调用文本缓冲区以响应对文本做更改或属性在缓冲区中。

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间