-
-
Notifications
You must be signed in to change notification settings - Fork 656
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speech feedback on more Word formatting shortcuts (#17197)
Fixes (at least partially) #10271 Supersedes #10283. Summary of the issue: User wants to have font formatting state announced when native font formatting shortcut are executed under Word and Outlook. Description of user facing changes The results of the following MS Word shortcuts are now reported: control+shift+D: Underline double control+shift+W: Underline words only control+shift+A: All caps ctrl+Shift+K: Small caps ctrl+shift+i, ctrl+shift+b and ctrl+shift+u: alternative gestures for toggle italic, bold and underline. When relevant, these shortcuts are also reported in Outlook. Notes about various capitalization shortcuts In Word, the Shift+F3 and Ctrl+Shift+A shortcuts are slightly different: Shift+F3 only modifies the case of the current selection (or the word under the cursor if there is no selection) Ctrl+Shift+A also modifies the case of selected text (or current word), but in addition, it modifies the case of the characters that will be typed at insertion point of the cursor. Outlook's Ctrl+Shift+A shortcut is equivalent to Word's Shift+F3, whereas Word's Ctrl+Shift+A has no equivalent under Outlook as far as I know. Messages Word's shortcuts Ctrl+Shift+A, Ctrl+Shift+K and Shift+F3 modify all the selection's (or current word's) capitalization. However, Ctrl+Shift+A and Ctrl+Shift+K also impact the next characters that will be typed. Thus for this shortcut "on" and "off" have been used in their announced message in order to denote a state change. On the contrary Shift+F3 announces only the result of a modification of current selection (or word); thus "on" and "off" have not been used in its message. Description of development approach Use object model and polling to check state change, as done for other formatting scripts.
- Loading branch information
1 parent
babb7a1
commit ea94505
Showing
3 changed files
with
133 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters