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)
Syntax
'Declaração
Public Interface ITrackingSpan
public interface ITrackingSpan
public interface class ITrackingSpan
type ITrackingSpan = interface end
public interface ITrackingSpan
The ITrackingSpan type exposes the following members.
Properties
Name | Description | |
---|---|---|
TextBuffer | The ITextBuffer to which this tracking span refers. | |
TrackingFidelity | The TrackingFidelityMode of the tracking span. | |
TrackingMode | The SoanTrackingMode of this tracking span, which determines how it behaves when insertions occur at its edges. |
Top
Methods
Name | Description | |
---|---|---|
GetEndPoint | Maps the end of the tracking span to the specified snapshot of its text buffer. | |
GetSpan(ITextSnapshot) | Maps the tracking span to the specified snapshot of its text buffer. | |
GetSpan(ITextVersion) | Maps the tracking span to the specified version of its text buffer. | |
GetStartPoint | Maps the start of the tracking span to the specified snapshot of its text buffer. | |
GetText | Maps the tracking span to the specified snapshot of its text buffer and gets the text it designates. |
Top
Remarks
For information about tracking, see the "Tracking Points and Tracking Spans" section of Inside the Editor.