Back to API Reference
Struct

RangeTracking

sealed

Tracking policy applied when a text revision replaces one contiguous region.

public RangeBoundaryAffinity StartAffinity{ get }

How the inclusive start follows insertion at the same position.

public RangeBoundaryAffinity EndAffinity{ get }

How the exclusive end follows insertion at the same position.

public RangeDeletionBehavior DeletionBehavior{ get }

What remains when a deletion fully covers the segment.

public static RangeTracking Content{ get }

Content-oriented tracking: insertion at the start stays outside, insertion at the end stays outside, and deleting all content removes the segment.

[ctor]public RangeTracking()

Creates an explicit boundary and deletion tracking policy.