Skip to content

Use TextRange.min/max instead of start/end in TextEditingScope#2983

Merged
Vlad Konstantinov (Kpotko) merged 1 commit into
release/1.11from
m-sasha/fix-reversed-selection-crash-1.11
Apr 21, 2026
Merged

Use TextRange.min/max instead of start/end in TextEditingScope#2983
Vlad Konstantinov (Kpotko) merged 1 commit into
release/1.11from
m-sasha/fix-reversed-selection-crash-1.11

Conversation

@m-sasha

@m-sasha Alexander Maryanovsky (m-sasha) commented Apr 15, 2026

Copy link
Copy Markdown

Replace usage of TextRange.start/end in favor of min/max in TextEditingScope for BTF2, which caused a crash when start > end.

This is a cherry-pick of #2982

Testing

N/A

Release Notes

Fixes - Multiple Platforms

  • Fix crash when selecting text right-to-left and then typing a character via IME.

@m-sasha Alexander Maryanovsky (m-sasha) requested a review from a team April 15, 2026 12:52
@Kpotko Vlad Konstantinov (Kpotko) merged commit 4e42015 into release/1.11 Apr 21, 2026
16 checks passed
@Kpotko Vlad Konstantinov (Kpotko) deleted the m-sasha/fix-reversed-selection-crash-1.11 branch April 21, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants