ITextVersion2 Interface

Definition

Describes a version of an ITextBuffer. Each application of an ITextEdit to a text buffer generates a new ITextVersion.

public interface class ITextVersion2 : Microsoft::VisualStudio::Text::ITextVersion
public interface ITextVersion2 : Microsoft.VisualStudio.Text.ITextVersion
type ITextVersion2 = interface
    interface ITextVersion
Public Interface ITextVersion2
Implements ITextVersion
Implements

Remarks

Any ITextVersion will be upcastable to an ITextVersion2.

Properties

Changes

Gets the text changes that produce the next version. Returns null if and only if this is the most recent version of its text buffer.

(Inherited from ITextVersion)
ImageVersion
Length

Gets the length in characters of this ITextVersion.

(Inherited from ITextVersion)
Next

Gets the next ITextVersion. Returns null if and only if this is the most recent version of its text buffer.

(Inherited from 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.

(Inherited from ITextVersion)
TextBuffer

The ITextBuffer to which this ITextVersion applies.

(Inherited from ITextVersion)
VersionNumber

The version number for this version. It is used for comparisons between versions of the same buffer.

(Inherited from ITextVersion)

Methods

CreateCustomTrackingSpan(Span, TrackingFidelityMode, Object, CustomTrackToVersion)

Creates a custom ITrackingSpan against this version.

(Inherited from ITextVersion)
CreateTrackingPoint(Int32, PointTrackingMode)

Creates a ITrackingPoint against this version.

(Inherited from ITextVersion)
CreateTrackingPoint(Int32, PointTrackingMode, TrackingFidelityMode)

Creates a ITrackingPoint against this version.

(Inherited from ITextVersion)
CreateTrackingSpan(Int32, Int32, SpanTrackingMode)

Creates a ITrackingSpan against this version.

(Inherited from ITextVersion)
CreateTrackingSpan(Int32, Int32, SpanTrackingMode, TrackingFidelityMode)

Creates a ITrackingSpan against this version.

(Inherited from ITextVersion)
CreateTrackingSpan(Span, SpanTrackingMode)

Creates a ITrackingSpan against this version.

(Inherited from ITextVersion)
CreateTrackingSpan(Span, SpanTrackingMode, TrackingFidelityMode)

Creates a ITrackingSpan against this version.

(Inherited from ITextVersion)

Applies to