Defines how a TrackedRange expands when text is inserted exactly at its boundaries.

This policy is used in methods like TextFieldBuffer.addStyle to configure whether the range expands to include text inserted at its start, end, or both boundaries.

Summary

Public companion properties

ExpandPolicy

The range will expand when text is inserted at either of its boundaries.

Cmn
ExpandPolicy

The range will expand when text is inserted at its end boundary.

Cmn
ExpandPolicy

The range will expand when text is inserted at its start boundary.

Cmn
ExpandPolicy

The range will not expand when text is inserted at its boundaries.

Cmn

Public companion properties

AtBoth

val AtBothExpandPolicy

The range will expand when text is inserted at either of its boundaries.

AtEnd

val AtEndExpandPolicy

The range will expand when text is inserted at its end boundary. Text inserted exactly at the end will be included in the range.

AtStart

val AtStartExpandPolicy

The range will expand when text is inserted at its start boundary. Text inserted exactly at the start will be included in the range.

InsideOnly

val InsideOnlyExpandPolicy

The range will not expand when text is inserted at its boundaries. Text inserted exactly at the start or end will be placed outside the range.