Skip to content

[Bug] Commit diff syntax colors breaks in comments #2239

@redsigma

Description

@redsigma

In the following python code snippet, if there is a multi line comment that doesnt include the ending """ block, it will not reset the syntax color for the future text.

After line 78 here should be normal python code colors, but it still shows the orange comment color on all of it.

This issue happens on both the side-by-side both and normal mode. If i modify the code a bit so the ending """ is visible in the code , then the problem disappears.

Image

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