clearAllAttributes

fun clearAllAttributes(range: IntRange = 0 until textLength)

Removes all attributes (both span and paragraph level) within the given range. Paragraph attributes will be cleared from their entire respective paragraphs.