addStyleAttribute

actual fun addStyleAttribute(attribute: StringStyleAttribute, range: IntRange)

Adds a StringStyleAttribute for a given range

Parameters

attribute
range

the IntRange at which to apply the style

Throws

if range is out of bounds for the text to span

expect fun addStyleAttribute(attribute: StringStyleAttribute, range: IntRange)

Adds a StringStyleAttribute for a given range

Parameters

attribute
range

the IntRange at which to apply the style

Throws

if range is out of bounds for the text to span

actual fun addStyleAttribute(attribute: StringStyleAttribute, range: IntRange)

Adds a StringStyleAttribute for a given range

Parameters

attribute
range

the IntRange at which to apply the style

Throws

if range is out of bounds for the text to span

actual fun addStyleAttribute(attribute: StringStyleAttribute, range: IntRange)

Adds a StringStyleAttribute for a given range

Parameters

attribute
range

the IntRange at which to apply the style

Throws

if range is out of bounds for the text to span