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

Don't trim comments to the right #71

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Don't trim comments to the right #71

merged 1 commit into from
Jul 10, 2024

Commits on Jul 10, 2024

  1. Don't trim comments to the right

    We use fixed-width comments to align `// gap` annotations and
    the `// ...` position-visualization. With the previous behaviour
    of `SourceLine._strip_comments()`, the right-padding of the `gap`
    comment would be removed, leading to misaligned output.
    
    This commit modifies comment trimming to use lstrip() only.
    hanno-becker committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    ca3fb9d View commit details
    Browse the repository at this point in the history