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

Jump to last visible line and middle visible line are incorrect when code is folded #335

Open
forivall opened this issue Apr 24, 2024 · 0 comments

Comments

@forivall
Copy link

forivall commented Apr 24, 2024

The commands dance.select.lastVisibleLine, dance.select.middleVisibleLine and their jump / extend variants dont work correctly when there is folded code. I think it's because when code is folded, then there are multiple visible ranges, and the first visible range is just the code on the screen until the beginning of the first fold.

Proposed fix: master...forivall:vscode-dance:patch-1

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

1 participant