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

请求添加内置搜索功能, 文档多了,不能Ctrl+F查找有点费劲 #1617

Closed
jinny76 opened this issue Apr 27, 2024 · 2 comments
Closed

Comments

@jinny76
Copy link

jinny76 commented Apr 27, 2024

你在什么场景下需要该功能?

作为文档编辑器使用时

描述最优的解决方案

期望实现类似Monaco Editor一样, 内置编辑器, Ctrl+F在右上角弹出搜索栏, 常用搜索参数, 搜索后高亮匹配字符串

描述候选解决方案

也可以自行实现搜索, 希望提供API可以搜索并可以定位光标

其他信息

@Vanessa219
Copy link
Owner

可以使用浏览器的搜索,光标定位可以使用 range

@jinny76
Copy link
Author

jinny76 commented May 1, 2024

主要用在Electron,没法调用浏览器搜索, 不过我已经自行实现了内部的搜索功能, 感谢

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

No branches or pull requests

2 participants