ITextVersion Interface
Describes a version of an ITextBuffer. Each application of an ITextEdit to a text buffer generates a new ITextVersion.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaración
Public Interface ITextVersion
public interface ITextVersion
public interface class ITextVersion
type ITextVersion = interface end
public interface ITextVersion
The ITextVersion type exposes the following members.
Properties
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. |
Top
Methods
Name | Description | |
---|---|---|
CreateCustomTrackingSpan | 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(Span, SpanTrackingMode) | Creates a ITrackingSpan in this version. | |
CreateTrackingSpan(Int32, Int32, SpanTrackingMode) | Creates a ITrackingSpan in this version. | |
CreateTrackingSpan(Span, SpanTrackingMode, TrackingFidelityMode) | Creates a ITrackingSpan in this version. | |
CreateTrackingSpan(Int32, Int32, SpanTrackingMode, TrackingFidelityMode) | Creates a ITrackingSpan in this version. |
Top
Remarks
For more information about text versioning, see the section "A Closer Look at the Text Model and the Text View" in Inside the Editor.