-
-
Notifications
You must be signed in to change notification settings - Fork 650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow the review cursor to be bounded to onscreen text #9735
Closed
Closed
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
7a123c3
Remove bounds checking code from the console.
codeofdusk a61dab0
Implement isOutOfBounds.
codeofdusk a8b93bd
Implement review bounds configuration.
codeofdusk 6bb21b2
Fix isOutOfBounds for UIA, implement initial bounds checking, and bou…
codeofdusk deffcea
Implement review of top and bottom lines when review is bounded.
codeofdusk 51fa56a
Add new gesture to the input gestures dialog, update user guide.
codeofdusk a1ad305
Implement review bounds configuration for offsetsTextInfo.
codeofdusk d7a00e8
Apply suggestions from code review
codeofdusk 1a937d2
Review actions.
codeofdusk 536ccce
isOutOfBounds -> isOffscreen
codeofdusk d84570a
Move SCRCAT constants to a new scriptCategories module.
codeofdusk 4540972
Review actions.
codeofdusk b7126db
Merge branch 'master' into reviewbounds
codeofdusk 0f41ef3
Merge branch 'master' into reviewbounds
codeofdusk 768cf6b
Clarify doc comment.
codeofdusk 4cc443f
Add unique IDs for NVDA objects.
codeofdusk 291b00e
Persist review bounds state when an object is regenerated.
codeofdusk c94229b
Make isOffscreen a property.
codeofdusk b2924fa
Fixes.
codeofdusk 2c24358
Better default review bounds configuration for objects.
codeofdusk 959a6c7
Remove unneeded import.
codeofdusk 360ce53
Merge branch 'master' into reviewbounds
codeofdusk 7146fae
Merge branch 'master' into reviewbounds
codeofdusk 2f85736
Merge branch 'master' into reviewbounds
codeofdusk 87d67e7
Revert "Add unique IDs for NVDA objects."
codeofdusk d41476b
Revert "Persist review bounds state when an object is regenerated."
codeofdusk 8c50383
Revert "Better default review bounds configuration for objects."
codeofdusk cf11cdd
Make review bounds state global and bound review by default where sup…
codeofdusk 11f0d59
Disable bounds checking if we're currently offscreen to avoid getting…
codeofdusk bd33c92
In UIA consoles, diff the entire buffer instead of just the visible r…
codeofdusk f3ff4a2
Fix top/bottom review scripts.
codeofdusk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could probably be moved into the base TextInfo class.
Also, is there a reason why this is non-distructive (I.e. returns a copy)? I don't think you actually ever make use of this. It could just do it distructively and return res like the other move... unless you have a particular plan for this not yet done?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a generalization of the console's old bounds checking code (i.e. we captured an
oldRange
and didn't update the underlying UIA text range if a move was impossible). Would destructive be okay here?