terminal/.github/actions/spelling/allow
Carlos Zamora d08afc4e88
[A11y] Treat last character as 'end of buffer' (#11122)
## Summary of the Pull Request
Updates our `UiaTextRange` to no longer treat the end of the buffer as the "document end". Instead, we consider the "document end" to be the line beneath the cursor or last legible character (whichever is further down). In the event where the last legible character is on the last line of the buffer, we use the "end exclusive" position (left-most point on a line one past the end of the buffer). 

When movement of any kind occurs, we clamp each endpoint to the document end. Since the document end is an actual spot in the buffer (most of the time), this should improve stability because we shouldn't be pointing out-of-bounds anymore.

The biggest benefit is that this significantly improves the performance of word navigation because screen readers no longer have to take into account the whitespace following the end of the prompt.

Word navigation tests were added to the `TestTableWriter` (see #10886). 24 of the 85 tests were failing, however, they don't seem to interact with the document end, so I've marked them as skip and will fix them in a follow-up. This PR is large enough as-is, so I'm hoping I can take time in the follow-up to clean some things on the side (aka `preventBoundary` and `allowBottomExclusive` being used interchangeably).

## References
#7000 - Epic
Closes #6986 
Closes #10925

## Validation Steps Performed
- [X] Tests pass
- [X] @codeofdusk has been personally testing this build (and others)
2021-09-16 20:44:29 +00:00
..
allow.txt [A11y] Treat last character as 'end of buffer' (#11122) 2021-09-16 20:44:29 +00:00
apis.txt Add profile generators for Visual Studio (#7774) 2021-09-15 17:20:06 -05:00
chinese.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
colors.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
fonts.txt Upgrade check-spelling to v0.0.19 (#10646) 2021-07-13 11:21:44 -05:00
japanese.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
math.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
microsoft.txt Lookup WSL distros in the registry (#10967) 2021-08-24 13:10:36 +00:00
names.txt Refactor u8u16 and u16u8 conversion functions (#10966) 2021-08-23 23:48:13 +00:00
README.md ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00

Allow files are lists of words to accept unconditionally

While check spelling will complain about an expected word which is no longer present, you can include things here even if they are not otherwise present in the repository.

E.g., you could include a list of system APIs here, or potential contributors (so that if a future commit includes their name, it'll be accepted).

Files

File Description
Allow Supplements to the dictionary
Chinese Chinese words
Japanese Japanese words
Microsoft Microsoft brand items
Fonts Font names
Names Names of people
Colors Names of color