Skip to content

Commented out CSS string breaks syntax highlighting for rest of file #6

@MorningLightMountain713

Description

@MorningLightMountain713

Eg

    class Test(Widget):
        # DEFAULT_CSS = """
        #     Test {
        #         width: auto;
        #         height: auto;
        #     }
        # """

Makes the rest of the file change colors. The first triple quote is still visible.

Here is a screenshot:

Screenshot 2023-11-04 at 8 14 58 AM

Normal:

Screenshot 2023-11-04 at 8 16 12 AM

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions