Package-level declarations

Types

Link copied to clipboard
typealias DrawApplier = ContentDrawScope.(TextLayoutResult) -> Unit
Link copied to clipboard
typealias StyleApplier = AnnotatedString.Builder.(List<StyleSection>) -> Unit
Link copied to clipboard
data class StyleSection(val range: TextRange, val style: SpanStyle)

Functions

Link copied to clipboard
fun AnnotatedString.Builder.addStyles(sections: Iterable<StyleSection>)
Link copied to clipboard
fun <Input, Node> List<Input>.asTree(range: Input.() -> TextRange, node: (Input, List<Node>) -> Node): List<Node>
Link copied to clipboard
operator fun TextRange.compareTo(other: TextRange): Int
Link copied to clipboard
fun Iterable<TextRange>.filterContaining(): List<TextRange>
Link copied to clipboard
fun String.lineRanges(): List<TextRange>
Link copied to clipboard
operator fun String.minus(ranges: Iterable<TextRange>): String
Link copied to clipboard
fun Iterable<StyleSection>.offset(toRange: TextRange): List<StyleSection>
fun List<ClassesSection>.offset(hiddenRanges: Iterable<TextRange>): List<ClassesSection>
Link copied to clipboard
fun TextRange.positive(): TextRange
Link copied to clipboard
Link copied to clipboard
fun Modifier.scaleWithSize(scaleX: Float = 1.0f, scaleY: Float = 1.0f): Modifier