ITextChange.OldSpan Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The span of the text change in the snapshot immediately before the change.
public:
property Microsoft::VisualStudio::Text::Span OldSpan { Microsoft::VisualStudio::Text::Span get(); };
public:
property Microsoft::VisualStudio::Text::Span OldSpan { Microsoft::VisualStudio::Text::Span get(); };
public Microsoft.VisualStudio.Text.Span OldSpan { get; }
member this.OldSpan : Microsoft.VisualStudio.Text.Span
Public ReadOnly Property OldSpan As Span
Property Value
The span of the text change in the snapshot immediately before the change.
Remarks
This span is empty for a pure insertion. Its start position may differ from NewSpan.Start only when there is more than one ITextChange included in moving from one snapshot to the next.