Skip to content

Display "find" matches in the scrollbar  #8631

@rkeithhill

Description

@rkeithhill

Description of the new feature/enhancement

VSCode has this nice feature where find "matches" are displayed by a certain color (brown here) in the scrollbar e.g.:

image

This instantly lets the user know where in the overall file the matches are. IMO this is even more useful in a console with a large scrollback buffer (10000 lines). The example above also shows a mini-map to the left of the scrollbar that also shows matches but I think that would cut into the console too much.

Proposed technical implementation details (optional)

First, while the find dialog is open, ensure the entire scrollbar is visible (not just the little sliver that shows when you're not hovering over the scrollbar). Second, for every match, display a horizontal line of a discernable color that corresponds to each match location in the scrollback buffer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Area-UserInterfaceIssues pertaining to the user interface of the Console or TerminalIn-PRThis issue has a related PRIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Product-TerminalThe new Windows Terminal.Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions