setParagraphAttribute
fun <T> setParagraphAttribute(key: ParagraphAttributeKey<T>, value: T, range: IntRange = 0 until textLength)
Applies the specified paragraph attribute key and value to the given range. The range is automatically expanded to span the entire paragraphs (separated by \n) it intersects with.