Compose API Reference Compose UI Text getTextBeforeSelection Function Common fun TextFieldValue.getTextBeforeSelection(maxChars: Int): AnnotatedString Returns the text before the selection. Parameters maxCharsmaximum number of characters (inclusive) before the minimum value in TextFieldValue.selection.
Compose API Reference Compose UI Text getTextBeforeSelection Function Common fun TextFieldValue.getTextBeforeSelection(maxChars: Int): AnnotatedString Returns the text before the selection. Parameters maxCharsmaximum number of characters (inclusive) before the minimum value in TextFieldValue.selection.