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

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

Original Pull Request: https://github.com/microsoft/terminal/pull/4526

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4526 **State:** closed **Merged:** Yes --- ## 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.
claunia added the pull-request label 2026-01-31 09:11:59 +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#25820