ITextChange2 Interface
Indicates whether the change is opaque
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
声明
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
The ITextChange2 type exposes the following members.
Properties
Name | Description | |
---|---|---|
Delta | Gets the difference in the length of the buffer that results from this change. (Inherited from ITextChange.) | |
IsOpaque | Flag indicating whether the change is opaque. | |
LineCountDelta | Gets the difference in the number of lines in the snapshot that results from this change. (Inherited from ITextChange.) | |
NewEnd | Gets the end position of the NewText in the snapshot immediately after the text change. (Inherited from ITextChange.) | |
NewLength | Gets the length of NewText. (Inherited from ITextChange.) | |
NewPosition | Gets the position of the text change in the snapshot immediately after the change. (Inherited from ITextChange.) | |
NewSpan | Gets the span of the ITextChange in the snapshot immediately after the change. (Inherited from ITextChange.) | |
NewText | Gets the text that replaced the old text. (Inherited from ITextChange.) | |
OldEnd | Gets the end position of the OldText in the snapshot immediately before the change. (Inherited from ITextChange.) | |
OldLength | Gets the length of OldText. (Inherited from ITextChange.) | |
OldPosition | Gets the position of the text change in the snapshot immediately before the change. (Inherited from ITextChange.) | |
OldSpan | The span of the text change in the snapshot immediately before the change. (Inherited from ITextChange.) | |
OldText | Gets the text that was replaced. (Inherited from ITextChange.) |
Top
Remarks
Opaque changes are replacements in which both the old text and the new text are non-empty.