Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only highlights the last word I search #3

Open
pzh200707 opened this issue Jan 27, 2020 · 4 comments
Open

Only highlights the last word I search #3

pzh200707 opened this issue Jan 27, 2020 · 4 comments
Labels
help wanted Extra attention is needed upstream Issue in an upstream component

Comments

@pzh200707
Copy link

Which add-on is affected?

"Highlight Search Results in the Browser" only highlights the last word I search

Prerequisite checklist

  • [ x ] In case of a bug: Have you tried restarting Anki?
  • [ x ] Are you running the latest version of the add-on? Have you redownloaded the add-on from AnkiWeb to make sure?
  • [ x ] Did you check the add-on description on AnkiWeb for known issues?
  • [ x ] Did you perform a cursory search through existing issue reports?

What is the problem/feature you would like to see fixed/implemented?

image

How can we reproduce the problem?

Search cards with two more words

Expected behavior: [ What you expected to happen ]
All the words should be highlighted

Actual behavior: [ What actually happened ]
Only the last word is highlighted

Reproducible?: [ Can you reliably reproduce the issue by following the steps above? ]
Yes

Version information

Anki

[ Please head to HelpAbout Anki and Paste the version string here, e.g.: ]

Version 2.1.19 (3c8690ae)
Python 3.8.0 Qt 5.14.0 PyQt 5.13.2

System
Win 10 x64

@AnKingMed
Copy link

Furthur, potentially related issue is that it will highlight the word in the field names, scrolling down your card unnecessarily sometimes

@glutanimate glutanimate transferred this issue from glutanimate/anki-addons-misc May 4, 2020
@glutanimate glutanimate changed the title "Highlight Search Results in the Browser" only highlights the last word I search Only highlights the last word I search May 4, 2020
@glutanimate
Copy link
Owner

Hey guys, super late response, but quick update on this:

Sadly this is not supported by Anki's widget toolkit at the moment, so I likely won't be able to fix it in the near future. Keeping this issue open to track progress on this, however.

@glutanimate glutanimate added upstream Issue in an upstream component help wanted Extra attention is needed labels Mar 7, 2021
@CD11b
Copy link

CD11b commented Jun 10, 2021

Putting the string between quotes works for me.
Screenshot_1

@galantra
Copy link

Putting the string between quotes works for me.

That, however, means that Anki will find these two words only when they are consecutive. For example, it would not find OP's card because hip and external are not immediately next to one another.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed upstream Issue in an upstream component
Projects
None yet
Development

No branches or pull requests

5 participants