From 409cc8f39d6b5cc1c111a62821724fa1393a8510 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/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/TextPreparedSelection.kt b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/TextPreparedSelection.kt index 363688d6bebc7..1ff4d2a691f2f 100644 --- a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/TextPreparedSelection.kt +++ b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/TextPreparedSelection.kt @@ -344,6 +344,7 @@ internal abstract class BaseTextPreparedSelection