Enumeration: RangeExpansionBehavior
libs/common/types/RangeExpansionBehavior.RangeExpansionBehavior
Describes the behavior of ranges when typing/editing at their edges.
Enumeration members
closedClosed
• closedClosed = 1
The decoration's range will not widen when edits occur at the start of end.
Defined in
libs/common/types/RangeExpansionBehavior.ts:12
closedOpen
• closedOpen = 3
The decoration's range will widen when edits occur at the end, but not at the start.
Defined in
libs/common/types/RangeExpansionBehavior.ts:20
openClosed
• openClosed = 2
The decoration's range will widen when edits occur at the start, but not at the end.
Defined in
libs/common/types/RangeExpansionBehavior.ts:16
openOpen
• openOpen = 0
The decoration's range will widen when edits occur at the start or end.
Defined in
libs/common/types/RangeExpansionBehavior.ts:8