Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously, PR #252 was attempting to fix the scenario where users can have a Control-Alt-Space keybinding; the keybinding would be fired but the space key would be erroneously typed.
However, that PR broke AltGr handling. It assumed that filtering Ctrl to detect keybindings would be OK, and Alt keys would be unaffected. This is not correct, though, because AltGr is represented via Ctrl-Alt in C#, so it actually broke every AltGr based character, like curly-brace (
{
) on AZERTY keyboards.This commit undoes the original fix for PR #252 and fixes it in a better way. Instead of assuming Ctrl is a keybinding, we use the actual configured keybindings in the filter, rather than assuming Ctrl represent a keybinding.