From 65768ed058cc8151a17f2693e630309672bcc0e9 Mon Sep 17 00:00:00 2001 From: Oleksandr Karpovich Date: Thu, 17 Nov 2022 14:09:15 +0100 Subject: [PATCH] Fix Ctrl+Backspace in TextField (#329) Issue https://github.com/JetBrains/compose-jb/issues/2466 Co-Authored-By: Silas Co-authored-by: Silas --- .../text/selection/TextPreparedSelection.kt | 3 +- .../text/selection/SelectionTests.kt | 56 +++++++++++++++++++ 2 files changed, 58 insertions(+), 1 deletion(-) diff --git a/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/TextPreparedSelection.kt b/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/TextPreparedSelection.kt index 363688d6beb..1ff4d2a691f 100644 --- a/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/TextPreparedSelection.kt +++ b/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/TextPreparedSelection.kt @@ -344,6 +344,7 @@ internal abstract class BaseTextPreparedSelection