rangeSetOf
Build a RangeSet using the RangeSetBuilder DSL.
val decorations = rangeSetOf<Decoration> {
add(5, 10, highlightDeco)
add(20, 20, widgetDeco)
}Content copied to clipboard
Ranges must be added in sorted order (by from position).