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

feat(picker): preview window horizontal scrolling #686

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

acidclouds
Copy link

@acidclouds acidclouds commented Jan 21, 2025

Description

This is an initial commit for trying to add horizontal scrolling for the picker preview window.

Known issue: when scrolling horizontally with scope indent, the indent chars persist in the preview window and don't disappear as they should...

Edit:
I just realized this happens only when we are previewing a buffer that is already open. Only in that case the indents are being rendered... if we are previewing a file that is not currently open the indents don't get rendered and therefore there is no issue. Maybe this is a bug? Should we prevent rendering of the indent guides in the preview window?

Related Issue(s)

Screenshots

image

@github-actions github-actions bot added the win label Jan 21, 2025
@acidclouds acidclouds changed the title Preview-window horizontal scrolling wip: Preview-window horizontal scrolling Jan 21, 2025
@acidclouds acidclouds changed the title wip: Preview-window horizontal scrolling wip(picker): Preview-window horizontal scrolling Jan 21, 2025
@acidclouds acidclouds changed the title wip(picker): Preview-window horizontal scrolling wip(picker): Preview window horizontal scrolling Jan 21, 2025
@acidclouds acidclouds changed the title wip(picker): Preview window horizontal scrolling feat(picker): preview window horizontal scrolling Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature: Picker preview horizontal scrolling
1 participant