ITextChange.NewSpan Property

Definition

The span of the ITextChange in the snapshot immediately after the change.

C++/CX
public:
 property Microsoft::VisualStudio::Text::Span NewSpan { Microsoft::VisualStudio::Text::Span get(); };

Property Value

The span of the ITextChange in the snapshot immediately after the change.

Remarks

This span is empty for a pure deletion. Its start position may differ from OldSpan.Start only when there is more than one ITextChange included in moving from one snapshot to the next.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022