-
Notifications
You must be signed in to change notification settings - Fork 4
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
Diacritic folding for find bars #28
Comments
The extension hooks assume you’ll handle everything (such as highlighting) yourself, so the code would be rather involved. I need to look at whether XUL/Migemo does something simpler. |
piroor/xulmigemo isn’t exactly simple, but perhaps I can distill it to just the functionality needed for Vietnamese. |
I’m getting closer to a working implementation using a |
Find and find next/previous are missing. Highlighting doesn’t work inside frames and iframes, and selection can get out of sync inside editors after editing. Working towards #28.
Work is continuing on the find-fold-28 branch. Highlighting is now diacritic-folded, but find and find previous/next are still unimplemented. There will also need to be UI to disable this feature, in case the user doesn’t want diacritic folding or is using a potentially incompatible extension like Migemo or FindBar Tweak. |
Current status:
And of course, I just realized that there’s been movement on bug 202251 within the past few months. If Firefox gains built-in diacritic folding, all this work could be moot, and I can move on to #56 and maybe reuse the finder script for a regular expression find extension. 😂 But it all depends on whether it handles the case where |
Bug 1,353,790 would provide a formal way for a WebExtensions-based addon to provide synonyms for searches instead of having to reinvent the find bar wheel. |
Firefox introduced event-based extension hooks to the find bar so that pdf.js can search PDFs. It would be really neat if AVIM could customize in-page find to ignore diacritics until diacritics are added to the search terms. The find engine would probably involve querying for text nodes that match a certain regular expression.
The text was updated successfully, but these errors were encountered: