ITextChange::OldSpan Property

 

The span of the text change in the snapshot immediately before the change.

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

property Span OldSpan {
	Span get();
}

Property Value

Type: Microsoft.VisualStudio.Text::Span

The span of the text change in the snapshot immediately before the change.

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.

Return to top
Show: