次の方法で共有


SpanTrackingMode Enum

Definition

Represents tracking modes for ITrackingSpan objects.

public enum class SpanTrackingMode
public enum class SpanTrackingMode
enum SpanTrackingMode
public enum SpanTrackingMode
type SpanTrackingMode = 
Public Enum SpanTrackingMode
Inheritance
SpanTrackingMode

Fields

Name Value Description
EdgeExclusive 0

The leading edge of the span is positive tracking (insertions push the current position towards the end) and the trailing edge is negative tracking (insertions push the current position towards the start). The span will not expand when text changes occur at the span boundaries. For example, if an EdgeExclusive Span has Start position 3, and a single character is inserted at position 3, the Span will then have Start position 4 and its length will be unchanged.

EdgeInclusive 1

The leading edge of the span is negative tracking (insertions push the current position toward the start) and the trailing edge is positive tracking (insertions push the current position toward the end). The span will expand when text changes occur at the span boundaries. For example, if an EdgeInclusive Span has Start position 3, and a single character is inserted at position 3, the Span will then have Start position 3 and its length will be increased by one.

EdgePositive 2

Both edges of the span are positive tracking (insertions push the current position toward the end).

EdgeNegative 3

Both edges of the span are negative tracking (insertions push the current position toward the start).

Custom 4

Custom client-determined tracking behavior.

Applies to