-
-
Notifications
You must be signed in to change notification settings - Fork 716
Improve Paragraph Navigation - add single and multi line break style #13798
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
Merged
Merged
Changes from 80 commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
c9ea40f
Add both normal and block paragraph navigation for apps which do not …
rob-aph 34b118e
Fix NVDA handing in very large texts when navigating between paragraphs
rob-aph 7699c88
Update source/config/configSpec.py
rob-aph e42e9d0
Implement recommended changes from NVAccess
rob-aph d2eb59d
Once we get a valid TextInfo, paragraph movement commands always retu…
rob-aph 076194c
Demo of paragraph navigation in Microsoft Word documents
rob-aph 793ba62
Revert "Demo of paragraph navigation in Microsoft Word documents"
rob-aph 7454c55
Remove check for Microsoft Word -- we never get called when using it
rob-aph a4bd1f0
Move settings strings to paragraphHelper, and add support for the 'au…
rob-aph 8d09ce1
Add unassigned script to toggle through paragraph navigation styles
rob-aph 2e2e95a
Thunderbird support -- both when reading and writing messages
rob-aph 0b2e5ea
Force UIATextInfo objects to scroll new paragraph into view when navi…
rob-aph 34d7049
Update the selection in the CursorManager after moving to a new parag…
rob-aph 647d34d
Only update CursorManager.selection if moving to a paragraph is succe…
rob-aph b30cff3
Fix bug in moveToBlockParagraph where moving backwards could sometime…
rob-aph e8bc4f3
Rely exclusively on class of TextInfo object to determine if TextInfo…
rob-aph 18ff16a
variable change -- lines becomes numLines for clarity
rob-aph 53a7677
Break large paragraphs into chunks and speak the chunks rather than t…
rob-aph 86b6451
Merge branch 'master' into paragraphNavigation
rob-aph dcdedde
Annotation and conditional branching fixes requested in second review
rob-aph 301193a
Feature Flag attempt 1 -- crashing
rob-aph 472c382
Merge branch 'master' into temp
rob-aph 0a72db9
Feature flag updates
rob-aph aa58ec8
Feature Flag: Finish up -- toggling now works, use helper methods, etc.
rob-aph c507157
Merge branch 'master' into paragraphNavigation
rob-aph 3dcaebd
Touch-ups
rob-aph c1ee45a
Clarify comment regarding Microsoft Word to indicate that paragraph n…
rob-aph 40ad593
Fixes for latest review
rob-aph 26996e0
User Guide additions
rob-aph 8fad7f8
bindHelpEvent
rob-aph 92999f4
Update user_docs/en/userGuide.t2t
rob-aph a828b6f
Update user_docs/en/userGuide.t2t
rob-aph d83ade4
Update source/gui/settingsDialogs.py
rob-aph c59d304
Update source/utils/paragraphHelper.py
rob-aph f435875
Use new enums
rob-aph dd2210f
paragraphHelper touchups
rob-aph 6afe102
User guide: Definition list and line break
rob-aph abd1aa6
User guide: Get rid of Enabled in definition list -- doesn't make any…
rob-aph 4b4bc80
Copyright and import touch-ups
rob-aph 7c74f65
Merge branch 'master' into paragraphNavigation
rob-aph c519385
cursorManager: Remove file name from header
rob-aph 2566561
dataclass for error tone constants
rob-aph a47741a
Use _Offset enumeration in all possible places
rob-aph 96e21b7
_splitParagraphIntoChunks: support '.', '?', and '!' as sentence term…
rob-aph ce48a4a
Update source/utils/paragraphHelper.py
rob-aph 1c0d0ba
Remove unneded import of frozenset
rob-aph ac317ae
Add comment to _splitParagraphIntoChunks explaining optional nature o…
rob-aph e4fc564
Refactor splitting of paragraphs into chunks
rob-aph 74cfa5e
Some cleanup
rob-aph 97d7907
_splitParagraphIntoChunks is now a generator
rob-aph 730bfb6
Add docstring for findEndOfSentence
rob-aph 955192d
Update source/utils/paragraphHelper.py
rob-aph 92dd579
findEndOfSentence now marked as private
rob-aph 919e2ea
_findEndOfSentence now includes line termination characters as part o…
rob-aph e063ab8
Issue messages instead of beeping when no more paragraphs in specifie…
rob-aph 8f459cf
User Guide: Remove mention of beeps when no more paragraphs
rob-aph cd6a8a7
_findEndOfSentence returns None if end of sentence not found
rob-aph 06342f5
Clarified translator comment regarding messages given when there are …
rob-aph 2db4a20
Move paragraph navigation modules to a new documentNavigation package
rob-aph 380b466
Fix paragraphHelper to expect None from _findEndOfSentence
rob-aph 27f3814
_findEndOfSentence: Ignore empty strings
rob-aph 82e1dc2
Unit tests for documentNavigation.sentenceHelper
rob-aph a154f05
getTextInfoAtCaret() now marked as private
rob-aph 6f7ada4
moveToParagraph() now takes a TextInfo -- added for future unit tests
rob-aph 9f2fbf9
Improved sentenceHelper tests
rob-aph 1d08d29
Update paragraph style names in code and user guide
rob-aph 91bbbbc
Bug fix: moveToParagraph was not respecting speakNew parameter
rob-aph f304f86
Break code which moves the TextInfo to the desired paragraph out into…
rob-aph 21e57d4
paragraphHelper: PREFERRED_CHUNK_SIZE now visible to other modules
rob-aph 1d9f01a
Unit tests for paragraphHelper
rob-aph 2fdd8b5
Merge branch 'master' into paragraphNavigation
rob-aph 585b6b4
Paragraph navigation unit tests: implement suggested changes
rob-aph 11e2a40
Rename functions, improve unit tests, etc.
rob-aph 5ffd3b9
Fixes for multi
rob-aph 6f8d9b5
Break sentence helper unit tests down to test one aspect per test
rob-aph b622d33
sentenceHelper: Optimize by using end-of-line indicator in RegEx
rob-aph c986a49
sentenceHelper: Combine WESTERN_TERMINATORS and FULL_WIDTH_TERMINATOR…
rob-aph 7c1e1ba
Unit tests for combined western and full-width sentences
rob-aph cbf4f08
_findEndOfSentence becomes _findNextEndOfSentence
rob-aph d5a00ad
Replace 'toggle' with 'cycle' regarding cycling through paragraph sty…
rob-aph b7b12eb
Merge remote-tracking branch 'origin/master' into paragraphNavigation
seanbudd 4a33125
Merge remote-tracking branch 'origin/master' into paragraphNavigation
seanbudd 42a4cc2
update changes
seanbudd 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 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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.