Skip to content

Search: highlight all matches at once, with total count (N of M) and scrollbar position markers #5692

Description

@kjk

Split out from the (now-closed) search umbrella #154. Closely related to the closed #1765 ("Highlight and number matching instances in search results").

Request: make in-document search behave like Chrome/Firefox, where all occurrences are visible at once, not just the current one. Concretely:

  • highlight all matches of the current search term simultaneously (the current match emphasized differently from the rest)
  • show a total count and current position, e.g. 5 / 117, in the find UI
  • put small markers on the scrollbar indicating where matches are in the document
  • (from the original Find / Search features #154 list) allow dismissing an individual highlight (click to de-highlight) and/or keeping highlights persistent

These are grouped because they're one coherent feature (the "search results overview" UX) and would be implemented together. They could complement, or be folded into, the Find All panel (#5691).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions