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

[Enhencement]_允许用户设置滚轮滑动的行数 #377

Open
sjhsbhqf opened this issue Jan 23, 2025 · 5 comments
Open

[Enhencement]_允许用户设置滚轮滑动的行数 #377

sjhsbhqf opened this issue Jan 23, 2025 · 5 comments

Comments

@sjhsbhqf
Copy link

在使用yank note的时候,我明显感觉源码和预览区的滚轮滑动效率不一样

源码里面的滚轮滑动带来的视觉下滑速度很慢
相比之下,预览区的滚轮滑动起来很快,比较符合我的习惯

这一点在WPS PDF里面有这个特性,我觉得非常有用

Image

@purocean
Copy link
Owner

你的操作系统是什么?理论上应该不会有差别。按住 alt/option 键会加速编辑器滚动

@sjhsbhqf
Copy link
Author

你的操作系统是什么?理论上应该不会有差别。按住 alt/option 键会加速编辑器滚动

windows 11

虽然说按住 alt/option 键会加速编辑器滚动。但是我总觉得不方便。因为不能单手快速浏览了?


另外不知道是否可以支持一下“双击源码某段文字”,右边预览区自动跳转到对应位置?
源码区滚轮滑不动,预览区滚轮滑动得快一些。预览区才能知道实际什么效果。

@purocean
Copy link
Owner

第一个问题我后面看看能不能加上滚动倍数自定义配置。第二个问题,有一个快捷键可以快速定位,你可以编辑器点击右键“在预览中聚焦“使用

@sjhsbhqf
Copy link
Author

第一个问题我后面看看能不能加上滚动倍数自定义配置。第二个问题,有一个快捷键可以快速定位,你可以编辑器点击右键“在预览中聚焦“使用

非常感谢你对第一个问题的重视。

不过对于第二个问题,我觉得用右键 的办法还是太麻烦,不太符合简单交互的原则。

目前yank note的源码区和预览区,我经常没有办法从源码的文字定位到预览区的文字,如果双击某一个文字,右边预览区直接高亮显示,这会让用户的定位效率更高。

右键菜单太多了,去点击右键菜单相关选项,说不定效率还不如直接在预览区多找找。

Image

@purocean
Copy link
Owner

试试快捷键吧,一般输入的时候都会用键盘,如果是浏览,为什么不直接看右边呢

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