ITrackingPoint Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A tracking position in an ITextBuffer.
public interface class ITrackingPoint
public interface class ITrackingPoint
__interface ITrackingPoint
public interface ITrackingPoint
type ITrackingPoint = interface
Public Interface ITrackingPoint
Remarks
For information about tracking, see the "Tracking Points and Tracking Spans" section of Inside the Editor.
Properties
TextBuffer |
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. |
Methods
GetCharacter(ITextSnapshot) |
Maps this tracking point to the specified snapshot and gets the character at that position. |
GetPoint(ITextSnapshot) |
Maps the tracking point to a particular snapshot of its ITextBuffer. |
GetPosition(ITextSnapshot) |
The position of the tracking point in the specified ITextSnapshot. |
GetPosition(ITextVersion) |
The position of the tracking point in the specified ITextVersion. |