Skip to content

Word coloring not correct for Search All  #32

@jaewhyun

Description

@jaewhyun

Description

When using Search All, words that match the searched text will turn to red. However, this doesn't work for some words like "arc" and "and".

Expected Behaviour

If I searched for the word "arc" in the Search Bar with Search All and clicked on a reference, I should only see "arc" or "Arc" or "ARC" in red.
If I searched for the word "and" in the Search Bar with Search All and clicked on a reference, I should always see "and" or "And" or "AND" in red.

Current Behaviour

If I search for the word "arc" in the Search Bar with Search All and click on a reference, I see words like "search" in red.
If I search for the word "and" in the Search Bar with Search All and click on a reference like & (bitwise AND), I don't see the word "AND" in red.

Steps to Reproduce

  1. Click on the Search All checkbox.

  2. Type in "arc" in the Search Bar.

  3. Click on ArrayList.

  4. "arc" of the word "search" in the Description paragraph 2, line 2 is in red.

  5. Click on the Search All checkbox.

  6. Type in "and" in the Search Bar.

  7. Click on "& (bitwise AND)" under MATH > Bitwise Operators

  8. AND in Name is not in red.

Possible Causes / Solutions

Bad filtering....need a better way to check and change color for references containing certain words

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions