ITextChange2 Interface

Indicates whether the change is opaque.

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

public interface ITextChange2 : ITextChange

The ITextChange2 type exposes the following members.

  NameDescription
Public propertyDeltaGets the difference in the length of the buffer that results from this change. (Inherited from ITextChange.)
Public propertyIsOpaqueFlag indicating whether the change is opaque.
Public propertyLineCountDeltaGets the difference in the number of lines in the snapshot that results from this change. (Inherited from ITextChange.)
Public propertyNewEndGets the end position of the NewText in the snapshot immediately after the text change. (Inherited from ITextChange.)
Public propertyNewLengthGets the length of NewText. (Inherited from ITextChange.)
Public propertyNewPositionGets the position of the text change in the snapshot immediately after the change. (Inherited from ITextChange.)
Public propertyNewSpanGets the span of the ITextChange in the snapshot immediately after the change. (Inherited from ITextChange.)
Public propertyNewTextGets the text that replaced the old text. (Inherited from ITextChange.)
Public propertyOldEndGets the end position of the OldText in the snapshot immediately before the change. (Inherited from ITextChange.)
Public propertyOldLengthGets the length of OldText. (Inherited from ITextChange.)
Public propertyOldPositionGets the position of the text change in the snapshot immediately before the change. (Inherited from ITextChange.)
Public propertyOldSpanThe span of the text change in the snapshot immediately before the change. (Inherited from ITextChange.)
Public propertyOldTextGets the text that was replaced. (Inherited from ITextChange.)
Top

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft