-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Redone #4189, working preview scrolling #11441
base: master
Are you sure you want to change the base?
Conversation
Current keybindings:
|
05e8d71
to
ecd415f
Compare
Co-authored-by: Manos Mertzianis <manosmertzianis@gmail.com>
ecd415f
to
a69ea1d
Compare
Hi! Thank you for your help. I fixed my mistakes, and now all should work well. My only concern is about keybinding alt-PageUp, because as mentioned before:
In my case alt-PageDown works pretty fine, but alt-PageUp doesn't. But as mentioned above it might be just a limitation on my platform. |
I've tried it, works very well, very welcomed addition ! I hope it will be merged soon :-) |
I am not a fan of using the |
Hi! Thank u for using helix based on my PR. If u find more bugs I will be happy to fix them :) |
@David-Else Using just PageUp or PageDown seems like nice idea. |
Are there any blockers before this can be merged? |
Change default preview scroll bindings
I can consistently reproduce a panic when using this. (disclaimer, I do have other branches too merged into my fork too, but I can only reproduce this issue when this PR is included):
Can you try to reproduce? It may be possible it is just my unique setup, but like I said, I've only seen this when using this PR.
|
Co-authored-by: Aleksander Słomka <a5@alexslomka.xyz>
c61eea4
to
40d9547
Compare
Hi! Thank you for pointing out the error. This panic was indeed related to this PR. I missed it during testing - perhaps I didn't run enough tests - so I am sorry for that oversight. Together with @qiu-x, we have fixed the issue. We switched to using offset_anchor instead of offset_vertical_offset to move the preview, and this resolved the problem. We ran several tests and did not encounter any more panics. I hope everything works fine now. I look forward to your feedback! Please let me know if everything is working as expected Thank you once again! |
this PR also closes #1614 |
Finally redone preview scrolling on current master. Works pretty fine.
I used code from: @Manosmer, and make it work with current version of helix.
Connects #1614