[PR #4526] [MERGED] Make ScreenInfoUiaProvider::GetVisibleRanges() Return Only One Range #25815

Open
opened 2026-01-31 09:11:57 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/4526
Author: @carlos-zamora
Created: 2/11/2020
Status: ✅ Merged
Merged: 2/11/2020
Merged by: @undefined

Base: dev/cazamor/uia-tracing ← Head: dev/cazamor/acc/get-visible-ranges


📝 Commits (1)

  • 7935569 Make GetVisibleRanges() return one range (and add tracing for it).

📊 Changes

1 file changed (+23 additions, -37 deletions)

View changed files

📝 src/types/ScreenInfoUiaProviderBase.cpp (+23 -37)

📄 Description

Summary of the Pull Request

ScreenInfoUiaProvider::GetVisibleRanges() used to return one range per line of visible text. The documentation for this function says that we should return one per contiguous span of text. Since all of the text in the TermControl will always be contiguous (at least by our standards), we should only ever be returning one range.

PR Checklist

Validation Steps Performed

Verified using Accessibility Insights.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/4526 **Author:** [@carlos-zamora](https://github.com/carlos-zamora) **Created:** 2/11/2020 **Status:** ✅ Merged **Merged:** 2/11/2020 **Merged by:** [@undefined](undefined) **Base:** `dev/cazamor/uia-tracing` ← **Head:** `dev/cazamor/acc/get-visible-ranges` --- ### 📝 Commits (1) - [`7935569`](https://github.com/microsoft/terminal/commit/7935569c672072ed97aa7f891e204af9afe26991) Make GetVisibleRanges() return one range (and add tracing for it). ### 📊 Changes **1 file changed** (+23 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `src/types/ScreenInfoUiaProviderBase.cpp` (+23 -37) </details> ### 📄 Description ## Summary of the Pull Request `ScreenInfoUiaProvider::GetVisibleRanges()` used to return one range per line of visible text. The documentation for this function says that we should return one per contiguous span of text. Since all of the text in the TermControl will always be contiguous (at least by our standards), we should only ever be returning one range. ## PR Checklist * [X] Closes #4507 * [X] CLA signed. ## Validation Steps Performed Verified using Accessibility Insights. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:11:57 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25815