ITrackingPoint Interface
A tracking position in an ITextBuffer.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaración
Public Interface ITrackingPoint
public interface ITrackingPoint
public interface class ITrackingPoint
type ITrackingPoint = interface end
public interface ITrackingPoint
The ITrackingPoint type exposes the following members.
Properties
Name | Description | |
---|---|---|
TextBuffer | Gets the ITextBuffer to which this point refers. | |
TrackingFidelity | Determines how the tracking point behaves when moving to a previous version or when encountering versions that are replications of previous versions (due to undo or redo). | |
TrackingMode | Determines whether the tracking point shifts or remains stationary when insertions occur at its position. |
Top
Methods
Name | Description | |
---|---|---|
GetCharacter | Maps this tracking point to the specified snapshot and gets the character at that position. | |
GetPoint | Maps the tracking point to a particular snapshot of its ITextBuffer. | |
GetPosition(ITextSnapshot) | Gets the position of the tracking point in the specified ITextSnapshot. | |
GetPosition(ITextVersion) | Gets the position of the tracking point in the specified ITextVersion. |
Top
Remarks
For information about tracking, see the "Tracking Points and Tracking Spans" section of Inside the Editor.