Skip to content

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

@forivall

Description

@forivall

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions