PointTrackingMode Enumeration

 

Represents tracking modes for ITrackingPoint objects.

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

public enum PointTrackingMode

Member nameDescription
Negative

The point tracks toward the beginning of the document. An insertion at the current position leaves the point unaffected. If a replacement contains the point, it will end up at the beginning of the replacement text.

Positive

The point tracks toward the end of the document. An insertion at the current position pushes the point to the end of the inserted text. If a replacement contains the point, it will end up at the end of the replacement text.

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

Return to top
Show: