ITextVersion Interface
Describes a version of an ITextBuffer. Each application of an ITextEdit to a text buffer generates a new ITextVersion.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
| Name | Description | |
|---|---|---|
![]() | Changes | Gets the text changes that produce the next version. |
![]() | Length | Gets the length in characters of this ITextVersion. |
![]() | Next | Gets the next ITextVersion. |
![]() | ReiteratedVersionNumber | Gets the oldest version number for which all text changes between that version and this version have been canceled out by corresponding undo/redo operations. |
![]() | TextBuffer | The ITextBuffer to which this ITextVersion applies. |
![]() | VersionNumber | The version number for this version, used for comparisons between versions of the same buffer. |
| Name | Description | |
|---|---|---|
![]() | CreateCustomTrackingSpan(Span, TrackingFidelityMode, Object, CustomTrackToVersion) | Creates a custom ITrackingSpan in this version. |
![]() | CreateTrackingPoint(Int32, PointTrackingMode) | Creates a ITrackingPoint in this version. |
![]() | CreateTrackingPoint(Int32, PointTrackingMode, TrackingFidelityMode) | Creates a ITrackingPoint in this version. |
![]() | CreateTrackingSpan(Int32, Int32, SpanTrackingMode) | Creates a ITrackingSpan in this version. |
![]() | CreateTrackingSpan(Int32, Int32, SpanTrackingMode, TrackingFidelityMode) | Creates a ITrackingSpan in this version. |
![]() | CreateTrackingSpan(Span, SpanTrackingMode) | Creates a ITrackingSpan in this version. |
![]() | CreateTrackingSpan(Span, SpanTrackingMode, TrackingFidelityMode) | Creates a ITrackingSpan in this version. |
For more information about text versioning, see the section "A Closer Look at the Text Model and the Text View" in Inside the Editor.

