### Description When text is selected and the <kbd>delete</kbd> 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 <kbd>delete</kbd> 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 <kbd>delete</kbd>. ### Screenshots https://github.com/CodeEditApp/CodeEditTextView/assets/806104/43253bd0-1270-45ef-aaf9-596c47cd84d9
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
Expected Behavior
Only the selection should be deleted after pressing delete.
Screenshots
Screen.Recording.2024-05-17.at.2.49.26.PM.mov