Hello! 👋
I’m trying to implement some Instrumented Tests but I’m facing some issues with
performTextReplacement
because there is a TODO inside the function in Compose 1.0.0-beta02.
Is it “expected” for a beta? Should I open an issue tracker?
EditingBuffer.kt
Copy code
internal fun delete(start: Int, end: Int) {
val deleteRange = TextRange(start, end)
if (deleteRange.intersects(TextRange(selectionStart, selectionEnd))) {
// Currently only target for deleteSurroundingText/deleteSurroundingTextInCodePoints.
TODO("support deletion within selection range.")
}