Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Text] Use GetBackspaceCaretCharacterHit for backspace delete handling #16135

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

Gillibald
Copy link
Contributor

What does the pull request do?

This PR changes TextBox so it uses GetBackspaceCaretCharacterHit to calculation the deletion range on backspace. This ensures someone can delete parts of a formed ligature.

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

@Gillibald Gillibald added the backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch label Jun 26, 2024
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0049464-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0049484-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 merged commit 3e7910f into AvaloniaUI:master Jun 26, 2024
10 checks passed
@Gillibald Gillibald deleted the fixes/ligatureBackspace branch August 16, 2024 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants