Android 12 Developer Preview is here! Try it out, and give us your feedback!

EditingBuffer

class EditingBuffer
kotlin.Any
   ↳ androidx.compose.ui.text.input.EditingBuffer

The editing buffer

This class manages the all editing relate states, editing buffers, selection, styles, etc.

Summary

Public constructors
<init>(text: AnnotatedString, selection: TextRange)

The editing buffer

Public methods
String

Public constructors

<init>

EditingBuffer(
    text: AnnotatedString,
    selection: TextRange)

The editing buffer

This class manages the all editing relate states, editing buffers, selection, styles, etc.

Public methods

toString

fun toString(): String