Expand Minimize

PointTrackingMode Enumeration

Represents tracking modes for ITrackingPoint objects.

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

type PointTrackingMode

Member nameDescription
NegativeThe 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.
PositiveThe 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.

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