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

🐞 Selecting text and then pressing delete key deletes selection and one character preceding selection #32

Closed
austincondiff opened this issue May 17, 2024 · 0 comments · Fixed by #33
Labels
bug Something isn't working PRIORITY

Comments

@austincondiff
Copy link
Contributor

austincondiff commented May 17, 2024

Description

When text is selected and the delete key is pressed, it will delete the selection but also one character that preceded the selection as well.

To Reproduce

  1. Type "12345"
  2. Select "45"
  3. Press the delete key
  4. Notice that instead of only "45" being deleted, "345" is deleted, leaving "12" when "123" is expected.

Expected Behavior

Only the selection should be deleted after pressing delete.

Screenshots

Screen.Recording.2024-05-17.at.2.49.26.PM.mov
@austincondiff austincondiff added the bug Something isn't working label May 17, 2024
@austincondiff austincondiff moved this from 🆕 New to 📋 Todo in CodeEdit Project May 17, 2024
austincondiff pushed a commit that referenced this issue May 21, 2024
Fix selected range deletion
@github-project-automation github-project-automation bot moved this from 📋 Todo to 🏁 Complete in CodeEdit Project May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working PRIORITY
Projects
Status: 🏁 Complete
Development

Successfully merging a pull request may close this issue.

1 participant