Skip to content

Incorrect guide positions when font changes on parsed line #12

@Xenovore

Description

@Xenovore

This appears to only parse a single line (the top line - 2?) to determine the indentation positions for the entire text editor view. But if the font is different in the parsed line, it will result in all the indent guides being at incorrect positions. In particular, this will happen when using extensions like Better Comments that allow the font to be customized for comments.

Suggestions: Check if the line is commented? Check if font on the parsed line is different and/or mono-spaced? Parse more than one line and use the majority indent widths?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions