addStyle

fun addStyle(style: SpanStyle, start: Int, end: Int)

Set a SpanStyle for the given range between start (inclusive) and end (exclusive) to this Builder.

Parameters

style

SpanStyle to be applied

start

the inclusive starting offset of the range

end

the exclusive end offset of the range