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

NameDescription
System_CAPS_pubpropertyTextBuffer

Gets the ITextBuffer to which this point refers.

System_CAPS_pubpropertyTrackingFidelity

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).

System_CAPS_pubpropertyTrackingMode

Determines whether the tracking point shifts or remains stationary when insertions occur at its position.

NameDescription
System_CAPS_pubmethodGetCharacter(ITextSnapshot)

Maps this tracking point to the specified snapshot and gets the character at that position.

System_CAPS_pubmethodGetPoint(ITextSnapshot)

Maps the tracking point to a particular snapshot of its ITextBuffer.

System_CAPS_pubmethodGetPosition(ITextSnapshot)

Gets the position of the tracking point in the specified ITextSnapshot.

System_CAPS_pubmethodGetPosition(ITextVersion)

Gets the position of the tracking point in the specified ITextVersion.

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

Return to top
Show: