59 2
Contact Author Sign in to rate

Highlight Search Results in the Browser

0.22MB. Updated 2021-03-11.
The author has shared 65 other item(s).

Description

     Highlights search results in the Editor pane of the Browser and extends the search bar with two new search modes. USAGE By default the add-on will highlight all search terms that aren't search operators. You can temporarily disable search highlighting by using the provided View menu entry, or its associated hotkey (Ctrl+T, H). In addition to search highlights the following new hotkeys are provided in the search bar: CONFIGURATION The following settings can be configured by editing the add-on's source code: CHANGELOG Version 1.0.0 – 2021-03-10 Added Fixed Changed You can view all past releases here. HELP AND SUPPORT Please do not use reviews for bug reports or support requests. I don't get notified of your reviews, and properly troubleshooting an issue through them is nearly impossible. Instead, please either use the issue tracker (preferred), add-on support forums, or just message me at ankiglutanimate@gmail.com. Constructive feedback and suggestions are always welcome! CREDITS AND LICENSE Copyright © 2017-2020 Aristotelis P. (Glutanimate) This add-on was commissioned by a fellow Anki user who would like to remain anonymous. All credit for the original idea goes to them. Licensed under the GNU AGPLv3, extended by a number of additional terms. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. For more information on the license please see the LICENSE file accompanying this add-on. The source code is available on GitHub. Pull requests and other contributions are welcome! Please note that this program also uses the Libaddon library which comes with its own additional terms extending the GNU AGPLv3 license MORE RESOURCES Make sure to check out my socials for the latest add-on updates and news: @Glutanimate | / Glutanimate New: Receive notifications about new add-on releases via @AnkiUpdates Want to hire me to work on add-on for you? Get in touch at ankiglutanimate@gmail.com SUPPORT MY WORK If you like Highlight Search Results in the Browser, please give it a thumbs up and share it with your friends, so that more people can enjoy it! A kind request: Writing, supporting, and maintaining Anki add-ons like these takes a lot of time and effort. If Highlight Search Results in the Browser has been a valuable asset in your studies, please consider using one of the buttons below to support my efforts by pledging your support on Patreon, or by buying me a coffee. Each and every contribution is greatly appreciated and will help me maintain and improve Highlight Search Results in the Browser as time goes by!              Pro-tip: Lots of exclusive add-ons and other goodies await on my Patreon page. Make sure to check them out!

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:

225180905

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author

Reviews

on 1656904828
This is Beautiful!
on 1653395049
Tks a lot! It is exactly what I need.
on 1645012412
|
Would appreciate it if you could share how I can change the highlight color?
I still use this addon although I updated Anki version 2.1.49.
A useful addon!
|
on 1642060798
use this plug with https://ankiweb.net/shared/info/831846358 will have two view in menu bar, is there a way to solve this?
on 1641324032
Great add-on!
on 1640914736
FYI there is an error when attempting to edit the "Config." I get the following:

"There was a problem with the provided configuration: ⁨'Ctrl+T, H' does not match '^((([Cc][Tt][Rr][Ll]|[Aa][Ll][Tt]|[Ss][Hh][Ii][Ff][Tt])\\+){0,3}([a-zA-Z0-9]|F[1-9]|F1[0-2]))?$'⁩, at path ⁨hotkey_toggle_highlights⁩, against schema ⁨{'type': 'string', 'title': 'Hotkey to toggle highlights on/off', 'pattern': '^((([Cc][Tt][Rr][Ll]|[Aa][Ll][Tt]|[Ss][Hh][Ii][Ff][Tt])\\+){0,3}([a-zA-Z0-9]|F[1-9]|F1[0-2]))?$'}⁩."
on 1635678560
Thanks a lot!
on 1627598038
Is there any way to change the color when highlighting?
on 1622499916
Ta bueno eso asere
on 1617286547
Should be implemented in Anki
Must have add-on
on 1616896591
Gj
on 1616679301
Thanks for this addon.
on 1616444345
Thanks
on 1616362844
good job!
on 1615428056
An error occurred after updating to Anki 2.1.42. Cannot open the deck browser.
3/11: It works fine now. Thank you for your fast fix and reply. This add-on is really helpful.
Comment from author before post was edited
Hey, appreciate the report. 2.1.42 just came out, but I've been testing a fix for a few days now and now pushed it as an update here. Would really appreciate it if you could switch your rating it if it works :)
on 1613874042
I haven't expected that a add-on can work without updating for over two years, but there it is.
on 1612472602
So awesome thank you!
on 1611999242
Okay Okay
on 1611015291
Not sure why this isn't a native feature. Super helpful add on!
on 1610647146
Thank you. You saved me at an open-book exam.
on 1609991994
Thanks! It works with Anki ⁨2.1.38 :3
on 1608116053
Such an important tool, especially when you are using long cloze deletion notes and are also using your cards as a resource for quick information.
on 1602951947
Precisely what I was looking for in 2.1. In my case, I am gradually fixing autogenerated furigana for Japanese readings on occasion across hundreds of cards with many sample sentences. This search highlight functionality is critical for spot-checking cards with 59 fields!
on 1599161166
exactly what i wanted and it works in 2.1
on 1595468569
It's nice program.

But..
Add-on "Highlight Search Results in the Browser" crashes with Add-on "TagSelectorV2".
on 1594736920
Tks
on 1593358263
这个很好啊,高亮搜索文本,应该自带的功能,必备。
on 1591074331
Excellent!
on 1590483402
This is very good!
on 1590442324
Why didn't I notice this before?
on 1589527983
good
on 1589173081
Amazing!
on 1582231641
Anyone find it only highlights the last word you search on ANKI 2.1? Yes I also have this issue, is there a way for it to highlight every word you searched?
on 1582106519
Anyone find it only highlights the last word you search on ANKI 2.1?
on 1580404352
Neat. I just think it would be better if it ignored…
① queries to metadata (eg., it highlights every "1" when searching for "flag:1")
② field names as possible search matches

It's particularly annoying when both come together (esp. with the auto-focus shift), like when one only searches for metadata.
on 1577514013
this add-on is the light of my life. i was blind as a bat but i can see clearly now 🧐 💖
on 1577031133
very useful. If you don't like the autoscroll to the first highlight add one line to the source code of the file browser_search_highlight_results.py.

Change the line

self.editor.web.findText(val, find_flags)

to
self.editor.web.findText(val, find_flags)
self.editor.web.eval("window.scrollTo(0,0);")

Use proper indentation: The first line needs to be indented by eight spaces, the new line by four spaces. I can't show the proper indentation in this review because leading spaces are removed from reviews.
on 1574684339
I wish this worked well for me. I know the author has said he cannot fix this bug, but it's a deal breaker for me.

If your workflow depends on flags, as mine does, this won't work very well for you, as it highlights the flag enum (if you have 1 through 4 on your cards, say on an audio field, it will highlight that). The autoscrolling can also be jarring, and most of the times for me, thanks to false positives like with flags, it'd be better to disable it.
on 1573872835
Amazing addon. Thank you!
on 1571884089
AWESOME!
on 1567556606
Very useful, thank you! If anyone else needs a minimum length for search terms, just add "or len(token) <= 1" after "if (token in operators or token.startswith("-") or len(token)" in the source.
on 1565293848
It only highlights yellow and I can't figure out how to change it...the problem with yellow is in night-mode it is hard to read lightly colored text highlighted with bright yellow. From your code it looks like you imported some qweb feature so idk if this can be fixed by you. just lmk and ill change my thumbs down to up
Edit: changed, but leaving this here as warning to future users
Comment from author before post was edited
This is hardcoded in Anki's GUI toolkit, I'm afraid, so there's no way to change it :/

See here: https://github.com/glutanimate/anki-addons-misc/issues/36
on 1562737628
much obliged! thanks.
on 1562535341
This is exactly what I need to do! perfect! Thanks!
on 1559028994
Effective!
on 1558462323
Great feature. Should be built into Anki from the get go!
on 1558397823
thanks
on 1521417600
I was in need for something like this for many years. I had actually sent an email to the Anki developers to incorporate it in one of the future editions, but with little success. I can't thank you enough Glutanimate! You add-ons are simply great!
on 1519084800
You're a genius!
on 1519084800
Good!
on 1518825600
This was so nice to have exactly what I needed when skimming through hundreds of results. Can't imaging Anki without it after a couple of use.
on 1516147200
This is exactly what I need to do!!
on 1515888000
Awesome! Helps draw my eyes to what I'm searching for.
on 1515110400
Absolutely great. In the past few years, my Notes section has become ever more important and thus also longer. I add ideas for articles, short bibliographies, etc. Thank you so much!
on 1510704000
Very useful feature! It works perfectly! Thanks Anki and developer!
on 1508976000
on 1504051200
Very functional!

Thanks for this helpful feature. I have a suggestion to improve your add-on, that is to highlight the search term with and without accents, I do use the "Ignore accents" add-on and when I use that feature there is no highlight on accented words if I do search without it.
on 1503187200
on 1503100800
on 1503100800
on 1503014400