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
Improve search result highlight and positioning #8274
Comments
Thanks for the info! However, changing it from Keyword to Query Syntax, and adding quotes to the search phrase hasn't solved the problem. Strangely, the results are exactly the same as before. |
I made a quick video to show you what I mean: https://app.screencast.com/1PC4mbnCG2Mdr |
We know what the problem is from your demo, but we need some time to think about how to improve it, thank you very much. |
Cool, thanks! |
By the way, is there a keyboard shortcut to jump to the next match in the document? That would also be very useful in scenarios where there are multiple similar hits in a document, as otherwise you need to do a lot of scrolling. Spacebar would be a good one! |
Is there an existing issue for this?
Can the issue be reproduced with the default theme (daylight/midnight)?
Could the issue be due to extensions?
Describe the problem
I have only just started using SiYuan, but have run into two problems with search.
1. Ctrl+P isn't finding anything. Well, it does sometimes, but mostly it is not finding longer phrases. Or even shorter prases.
For example, if I search (using Ctrl+P) for "Method of agitation and agitator for vats and the final products obtained", which I know is in a document with a table of patent names, it highlights a few random words near the top of the table. If I write the exact phrase ("Method of agitation and agitator for vats and the final products obtained") at the top of a page, and re-run the search, it finds it.
2. Ctrl+F just seems to open the same window as Ctrl+P. If I open the page with the table mentioned above, and click Ctrl+F, the same window opens up, and then try to search for "Method of agitation and agitator for vats and the final products obtained", I get the same behaviour as described above.
Expected result
I expect search to find (and highlight) exactly what I am looking for. Not random words all over the page, as is currently happening.
Screenshot or screen recording presentation
Version environment
Log file
siyuan.log
More information
No response
The text was updated successfully, but these errors were encountered: