No longer sentence nav in VS Code#17652
Merged
Merged
Conversation
SaschaCowley
requested changes
Jan 29, 2025
Collaborator
Author
|
Talking about visual studio, I need to test that thoroughly, will do today. |
AKJUS
approved these changes
Jan 29, 2025
seanbudd
reviewed
Jan 29, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Link to issue number:
Fixes #17082
Summary of the issue:
Since we support sentence navigation in IA2 controls, alt+upArrow and alt+downArrow no longer work in Visual Studio Code as NVDA performs sentence navigation.
Description of user facing changes
Description of development approach
Added
_supportsSentenceNavigationonEditableText:None(default), the state is undetermined. The gesture will be send to the OS. When this doesn't result in caret movement, sentence navigation will be tried.to the OS.True, sentence navigation is explicitly supported and will be performed. When it fails, the gesture is discarded. It will never reach the OS.False, sentence navigation is explicitly not supported and the gesture is sent to the OS.Since we're checking caret movement after executing the gesture when sentence nav is False or undetermined, we can report caret changes appropriately. We assume a unit of line in that case.
Testing strategy:
Tested:
Known issues with pull request:
None known
Code Review Checklist:
@coderabbitai summary