ITrackingPoint Interface

A tracking position in an ITextBuffer.

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

public interface ITrackingPoint

The ITrackingPoint type exposes the following members.

  NameDescription
Public propertyTextBufferGets the ITextBuffer to which this point refers.
Public propertyTrackingFidelityDetermines 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).
Public propertyTrackingModeDetermines whether the tracking point shifts or remains stationary when insertions occur at its position.
Top

  NameDescription
Public methodGetCharacterMaps this tracking point to the specified snapshot and gets the character at that position.
Public methodGetPointMaps the tracking point to a particular snapshot of its ITextBuffer.
Public methodGetPosition(ITextSnapshot)Gets the position of the tracking point in the specified ITextSnapshot.
Public methodGetPosition(ITextVersion)Gets the position of the tracking point in the specified ITextVersion.
Top

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft