ITrackingSpan Interface

 

A span of text in an ITextBuffer that grows or shrinks with changes to the text buffer. The span may be empty.

Namespace:   Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubpropertyTextBuffer

The ITextBuffer to which this tracking span refers.

System_CAPS_pubpropertyTrackingFidelity

The TrackingFidelityMode of the tracking span.

System_CAPS_pubpropertyTrackingMode

The T:Microsoft.VisualStudio.Text.SoanTrackingMode of this tracking span, which determines how it behaves when insertions occur at its edges.

NameDescription
System_CAPS_pubmethodGetEndPoint(ITextSnapshot)

Maps the end of the tracking span to the specified snapshot of its text buffer.

System_CAPS_pubmethodGetSpan(ITextSnapshot)

Maps the tracking span to the specified snapshot of its text buffer.

System_CAPS_pubmethodGetSpan(ITextVersion)

Maps the tracking span to the specified version of its text buffer.

System_CAPS_pubmethodGetStartPoint(ITextSnapshot)

Maps the start of the tracking span to the specified snapshot of its text buffer.

System_CAPS_pubmethodGetText(ITextSnapshot)

Maps the tracking span to the specified snapshot of its text buffer and gets the text it designates.

For information about tracking, see the "Tracking Points and Tracking Spans" section of Inside the Editor.

Return to top
Show: