Open Bug 1566522 Opened 6 years ago Updated 2 years ago

Misplaced search result highlighting when searching for Maybe<

Categories

(Webtools :: Searchfox, defect)

defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: mstange, Unassigned)

Details

https://searchfox.org/mozilla-central/search?q=Maybe%3C&path=

There are two strange things happening in this search:

  1. Most of the search results do contain the string Maybe< inside the line, but the highlighting is applied to the variable name after the type. E.g. in the second search result, Maybe<RelationType> relationType;, the 6 characters relati are highlighted.
  2. Some of the search results do not contain the string Maybe< inside the line. For example explicit sdnAccessible(nsINode* aNode) : mNode(aNode) {.

Similar result on searching nsBlockFrame: class nsComboboxDisplayFrame final : public nsBlockFrame { highlights nsComboboxDi.

You need to log in before you can comment on or make changes to this bug.