Describes the behavior of decorations when typing/editing at their edges.

Variables

@:enum@:implread onlyClosedClosed:DecorationRangeBehavior

The decoration's range will not widen when edits occur at the start of end.

@:enum@:implread onlyClosedOpen:DecorationRangeBehavior

The decoration's range will widen when edits occur at the end, but not at the start.

@:enum@:implread onlyOpenClosed:DecorationRangeBehavior

The decoration's range will widen when edits occur at the start, but not at the end.

@:enum@:implread onlyOpenOpen:DecorationRangeBehavior

The decoration's range will widen when edits occur at the start or end.