microsoft / microsoft/terminal

UIA Formatted Text Navigation

Open
#3,567 8 comments 0 reactions 1 assignee View on GitHub

@carlos-zamora is already working on this.

Since May 12, 2020.

A11yMAS Area-Accessibility Disability-All InclusionBacklog InclusionBacklog-Windows TerminalWin32 Issue-Feature Product-Conhost Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Description of the new feature/enhancement

Text Ranges can be explored via a number of ways:

  • Character
  • Format
  • Word
  • Line
  • Paragraph
  • Page
  • Document

We don't necessarily have to support all of them (refer to #3161 for us adding word navigation). But it would be interesting if we supported "format".

I envision us being able to jump between runs of formatted text. Today, the main formatting I can think of is colored text composed of foreground and background color. Maybe we could just see if any have changed and, if that's the case, that would be a breakpoint for formatted text navigation.

Proposed technical implementation details (optional)

Coincidentally, I just did a little bit of work in the AttrRowIterator. If that's actually taking a look at the text attributes, this would be an integral part of this design.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.