Marks on scrollbar: Highlight mark on scrollToMark #17882

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

Originally created by @zadjii-msft on GitHub (Jul 7, 2022).

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

Originally created by @zadjii-msft on GitHub (Jul 7, 2022). > 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_
claunia added the Issue-TaskProduct-TerminalArea-TerminalControl labels 2026-01-31 05:57:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17882