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)

public interface ITextVersion

NameDescription
System_CAPS_pubpropertyChanges

Gets the text changes that produce the next version.

System_CAPS_pubpropertyLength

Gets the length in characters of this ITextVersion.

System_CAPS_pubpropertyNext

Gets the next ITextVersion.

System_CAPS_pubpropertyReiteratedVersionNumber

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.

System_CAPS_pubpropertyTextBuffer

The ITextBuffer to which this ITextVersion applies.

System_CAPS_pubpropertyVersionNumber

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

For more information about text versioning, see the section "A Closer Look at the Text Model and the Text View" in Inside the Editor.

Return to top
Show: