Add inverted punctuation marks (¡¿) to Quick Accent for Spanish and Catalan #44039
+1
−0
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.
Summary of the Pull Request
This PR adds inverted punctuation marks (
¡and¿) to Quick Accent for Spanish and Catalan languages, making them accessible via dedicated key combinations.References and Relevant Issues
Fixes #20618
Detailed Description of the Pull Request / Additional comments
Feature Description
When using Spanish or Catalan language in Quick Accent:
1+ activation key (e.g., Space) now shows¡(inverted exclamation mark)/+ activation key now shows¿(inverted question mark)Technical Details
On US keyboard layout:
!is typed withShift + 1, which registers asVK_1?is typed withShift + /, which registers asVK_SLASH_Since Quick Accent detects virtual key codes rather than the final character, adding the inverted marks to these key mappings allows users to:
!(Shift+1)¡from the Quick Accent menuChanges Made
VK_1 => new[] { "¡" }andVK_SLASH_ => new[] { "¿" }to Spanish (SP) languageBackward Compatibility
The existing
VK_COMMAbehavior (showing¿?¡!) is preserved for users who prefer that method.Validation Steps Performed