Skip to content

Change in number of digits of largest relative line number in file makes display jump left to right #11

@saulrh

Description

@saulrh

The width of the relative line number column is dependent on the largest relative line number in the file: if the maximum relative line number is 95, then the column will be three-ish characters wide; if the maximum relative line number is 105, then the column will be four-ish characters wide. If the user scrolls so that the maximum relative line number crosses a power of ten, the maximum relative line number gains or loses a digit, the column changes width, and the entire source file jumps to the side by one character. This is rather disturbing visually.

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