Delete mistyped chords deletes too many characters when a bad chord includes a Special key (listed in the "all keys" section of the locale) whose keyname is longer than 1. #226
Labels
bug
Something isn't working
notepad++_wgnWyLDHc0.mp4
Describe the bug
A short description of the bug.
When mis-typing a chord that includes a special key (the numpad numbers in my case) too many characters are deleted.
What happens, and what do you expect to happen instead?
Type the following as a chord (without having it saved in your dictionary) with the numpad numbers "{numpad1}+{numpad5}". This will delete 14 characters because the string "numpad1" and "numpad5" are a total of 14 characters.
If you type the type the chord "1+5" from the number row instead it only deleted 2 characters.
The expected behavior is that special keys defined in the locale under all keys should only count as plus 1 to the overal length of the chord, and the delete mistyped chords feature should only backspace 1 time per eachkey mis-pressed.
Useful Details
Which settings do you have selected in the ZipChord settings?
Delete mistyped chords, Restrict chords while typing,
Also I have the following saved in the "all keys" section of the locale:
{Numpad0:0}{Numpad1:1}{Numpad2:2}{Numpad3:3}{Numpad4:4}{Numpad5:5}{Numpad6:6}{Numpad7:7}{Numpad8:8}{Numpad9:9}
If the output is wrong, what is the sequence of keys pressed, the dictionary entry, and what text appears on the screen?
Please see the attached video, there are too many backspaces when mistyping a chord involving a special key defined in the locale.
The text was updated successfully, but these errors were encountered: