ITextChange2 接口

Indicates whether the change is opaque.

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

语法

声明
Public Interface ITextChange2 _
    Inherits ITextChange
public interface ITextChange2 : ITextChange
public interface class ITextChange2 : ITextChange
type ITextChange2 =  
    interface 
        interface ITextChange 
    end
public interface ITextChange2 extends ITextChange

ITextChange2 类型公开以下成员。

属性

  名称 说明
公共属性 Delta 从此更改在缓冲区的长度的差异该结果。 (继承自 ITextChange。)
公共属性 IsOpaque Flag indicating whether the change is opaque.
公共属性 LineCountDelta 从此更改在中的行数的差异快照中的该结果。 (继承自 ITextChange。)
公共属性 NewEnd 获取 NewText 的结束位置在文本更改之后立即生成的快照。 (继承自 ITextChange。)
公共属性 NewLength 获取 NewText的长度。 (继承自 ITextChange。)
公共属性 NewPosition 获取文本更改位置。快照上的更改之后。 (继承自 ITextChange。)
公共属性 NewSpan 获取 ITextChange 的范围在快照中更改之后。 (继承自 ITextChange。)
公共属性 NewText 获取已替换旧文本的文本。 (继承自 ITextChange。)
公共属性 OldEnd 获取 OldText 的结束位置在更改之前立即生成的快照。 (继承自 ITextChange。)
公共属性 OldLength 获取 OldText的长度。 (继承自 ITextChange。)
公共属性 OldPosition 获取文本更改位置。快照中的更改前的。 (继承自 ITextChange。)
公共属性 OldSpan 在更改之前立即生成的快照中的文本更改范围。 (继承自 ITextChange。)
公共属性 OldText 获取已替换的文本。 (继承自 ITextChange。)

页首

备注

Opaque changes are replacements in which both the old text and the new text are non-empty.

请参阅

参考

Microsoft.VisualStudio.Text 命名空间