Skip to content

Marks on scrollbar: Highlight mark on scrollToMark #13455

@zadjii-msft

Description

@zadjii-msft

Unfortunately, the navigation isn't very smart yet. When jumping to the previous/next mark, the window area merely scrolls such that the marked line becomes visible.

It would be much nicer if

  • the line was highlighted (briefly) after the navigation action – this would make it easy to immediately find the marked line visually.
    A temporary highlight effect should be used to visually guide the user to the target line.

How do we reconcile this with FTCS style marks, with a prompt/command/output section? Do we select just the prompt? The command? The whole blob?

What about for multiline marks?

  • crawl: a rect with just from the start->end points of the mark, regardless of how ridiculous that looks
  • walk: a bunch of rects for each line
  • run: rects for each line, with intelligent borders so the border is only around the actual marked text

originally posted by @jkuebart in #13449

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Issue-TaskIt's a feature request, but it doesn't really need a major design.Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions