Поделиться через


PointTrackingMode Enumeration

Represents tracking modes for ITrackingPoint objects.

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

Syntax

'Декларация
Public Enumeration PointTrackingMode
public enum PointTrackingMode
public enum class PointTrackingMode
type PointTrackingMode
public enum PointTrackingMode

Members

Member name Description
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.
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.

Remarks

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

See Also

Reference

Microsoft.VisualStudio.Text Namespace