Skip to content

[QuickAccent] Add en-dash to VK_MINUS for SPECIAL language#45965

Open
daverayment wants to merge 2 commits intomicrosoft:mainfrom
daverayment:feat/quick-accent-add-en-dash
Open

[QuickAccent] Add en-dash to VK_MINUS for SPECIAL language#45965
daverayment wants to merge 2 commits intomicrosoft:mainfrom
daverayment:feat/quick-accent-add-en-dash

Conversation

@daverayment
Copy link
Collaborator

Summary of the Pull Request

Add en-dash to the existing dash characters available under the minus key for the Special Characters set.

PR Checklist

Detailed Description of the Pull Request / Additional comments

This PR adds the en-dash '–' character to the VK_MINUS key under the Special Characters character set, positioned before the em-dash character.

Although the character is available under VK_COMMA, it should be present under VK_MINUS, along with the other dash characters.

Previously, en-dash was available for VK_MINUS under the Hebrew language, so users who selected All available character sets (or who specifically selected Hebrew as a workaround) had access to en-dash via the minus key. However, this was seen as a duplication of the VK_COMMA functionality and the character was removed for the Hebrew character set in #43504. Although this is technically correct, this has understandably caused confusion for users who relied on the prior behaviour.

The comment on the VK_COMMA for the Special Characters declaration previously read:

// – is in VK_MINUS for other languages, but not VK_COMMA, so we add it here.

That "for other languages" is telling. The Hebrew en-dash entry was removed, and the en-dash mapping for the minus key is not present for any other language, orphaning the functionality.

Validation Steps Performed

I built and ran the updated Quick Accent code and confirmed that the character was available when only the Special character set was selected, and that it was absent when that set was deselected. I confirmed that the character was available under both comma and minus keys.

@daverayment daverayment added Product-Quick Accent Refers to the Quick Accent PowerToy 0.98 labels Mar 8, 2026
@niels9001 niels9001 removed the 0.98 label Mar 9, 2026
@niels9001 niels9001 requested a review from Copilot March 9, 2026 11:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the en-dash character (U+2013, ) to the Quick Accent “Special Characters” mapping for the minus key so it’s available when users trigger Quick Accent on VK_MINUS, restoring expected behavior after prior character-set cleanup.

Changes:

  • Add to LetterKey.VK_MINUS under the SPECIAL character set (positioned before the em-dash).
  • Update the VK_COMMA comment to reflect intentional availability of on both comma and minus keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Product-Quick Accent Refers to the Quick Accent PowerToy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quick Accent is missing n-dash Quick Accent - En dash disappeared from hyphen options

3 participants