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

点击搜索项将依次高亮该结果中的多个关键字 #7629

Merged

Conversation

iamqiz
Copy link
Contributor

@iamqiz iamqiz commented Mar 11, 2023

搜索时同一个表格如果有多处都有要搜索的字符串, 搜索结果列表只会显示一项
此时按住ctrl键,再点击该搜索结果项,可以跳到下一处高亮; 不按ctrl进行单击,则回到第一个高亮

效果:

23-03-11-1.mp4
  • Please commit to the dev branch 请提交到 dev 开发分支
  • For contributing new features, please supplement and improve the corresponding user guide documents 对于贡献新特性,请补充完善对应用户指南文档
  • For bug fixes, please describe the problem and solution via code comments 对于修复缺陷,请通过代码注释描述问题和解决方案
  • For text improvements (such as typos and wording adjustments), please submit directly 对于文案改进(比如错别字措辞调整)请直接提交

@88250 88250 requested a review from Vanessa219 March 11, 2023 13:00
@Vanessa219 Vanessa219 merged commit 516303c into siyuan-note:dev Mar 13, 2023
2 checks passed
@Vanessa219 Vanessa219 added this to the 2.7.10 milestone Mar 13, 2023
@Vanessa219 Vanessa219 changed the title 搜索预览跳到下一个高亮处 Ctrl+Click 搜索项将依次高亮搜索结果 Mar 13, 2023
@Vanessa219 Vanessa219 changed the title Ctrl+Click 搜索项将依次高亮搜索结果 点击搜索项将依次高亮该结果中的多个关键字 Mar 13, 2023
Vanessa219 added a commit that referenced this pull request Mar 13, 2023
@mozhux
Copy link

mozhux commented Mar 13, 2023

这个对应高亮是不是可以对应替换了?在高亮的位置单独替换

@88250
Copy link
Member

88250 commented Mar 13, 2023

@mozhux 不行,块内逐个替换涉及到关键字位置,这个没有记录的。

@mozhux
Copy link

mozhux commented Mar 14, 2023

@mozhux 不行,块内逐个替换涉及到关键字位置,这个没有记录的。

可惜,也算一个需求吧

@woniuxia
Copy link

好用。感谢大佬~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants