Freigeben über


ITextChange2 Interface

Indicates whether the change is opaque.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
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
Public property Delta Gets the difference in the length of the buffer that results from this change. (Inherited from ITextChange.)
Public property IsOpaque Flag indicating whether the change is opaque.
Public property LineCountDelta Gets the difference in the number of lines in the snapshot that results from this change. (Inherited from ITextChange.)
Public property NewEnd Gets the end position of the NewText in the snapshot immediately after the text change. (Inherited from ITextChange.)
Public property NewLength Gets the length of NewText. (Inherited from ITextChange.)
Public property NewPosition Gets the position of the text change in the snapshot immediately after the change. (Inherited from ITextChange.)
Public property NewSpan Gets the span of the ITextChange in the snapshot immediately after the change. (Inherited from ITextChange.)
Public property NewText Gets the text that replaced the old text. (Inherited from ITextChange.)
Public property OldEnd Gets the end position of the OldText in the snapshot immediately before the change. (Inherited from ITextChange.)
Public property OldLength Gets the length of OldText. (Inherited from ITextChange.)
Public property OldPosition Gets the position of the text change in the snapshot immediately before the change. (Inherited from ITextChange.)
Public property OldSpan The span of the text change in the snapshot immediately before the change. (Inherited from ITextChange.)
Public property 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.

See Also

Reference

Microsoft.VisualStudio.Text Namespace