Enumeration DecorationRangeBehavior

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

Enumeration Members

ClosedClosed: 1

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

ClosedOpen: 3

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

OpenClosed: 2

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

OpenOpen: 0

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