Condividi tramite


ITrackingPoint Interface

Definition

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.

Applies to