This site requires javascript.
Android Code Search
file:androidx/compose/ui/text/TextRange.kt function:TextRange
search
close
info_outline
more_vert
Result 1 of 1
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/
TextRange.kt
content_copy
Preview
39:
40:
41:
*/
fun
TextRange
(
/*@IntRange(from = 0)*/
start: Int,
/*@IntRange(from = 0)*/
end: Int) =
TextRange(packWithCheck(start, end))
96:
97:
98:
/** Creates a [TextRange] where start is equal to end, and the value of those are [index]. */
fun
TextRange
(index: Int): TextRange = TextRange(start = index, end = index)
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch androidx-main