Skip to content

Syntax highlighting broken when # is used with {} #28

@SilverGekko

Description

@SilverGekko

image

I have the first regsub code inside a proc. Highlighting breaks when the pound symbol is used after a curly brace. I played around with it, and included some of my observations in the screenshot.

The issue here is that after the proc that encloses the syntax error ends, highlighting is even more broken for the rest of the file. The proc immediately following the proc with the regsub code basically has no highlighting:
image

I deleted the [regsub {#this shouldn't be gray}] code from my file and the large swaths of broken syntax fixed themselves.

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