editAttributes

fun editAttributes(range: IntRange = 0 until textLength, editAction: <Error class: unknown class>.() -> Unit)

Applies a set of attribute mutations to the specified range using a DSL builder.