Range

constructor(item: T, start: Int, end: Int)

Parameters

item

The object attached to AnnotatedStrings.

start

The start of the range where item takes effect. It's inclusive

end

The end of the range where item takes effect. It's exclusive