Skip to content

Problem with string between double quotes #13

@norim13

Description

@norim13

Hi!

I'm developing a project with antlr for college. I've been using your package for the last weeks with no problems, but a few days ago I encountered a bug, and today I was able to find the origin of it.

The problem was that after strings between double quotes ("example"), the highlight was all messed up... The yellow colored highlighting used in these wasn't ending, even after I closed the double quotes.

Today I found out that this happened each time I wrote a colon followed by a white space. Example: http://i.imgur.com/re5tPFW.png
I believe also that it may be related to the code being written between the { } dedicated to "java" code.

There is also another problem that I can't really understand that makes these strings not to get highlighted in yellow (as you can see in the "good" string in the screenshot above). But this is not problematic at all, since I get syntax highlighting in the rest of the document. This problem only begins at some point in the document, and I can't see why... Here: http://i.imgur.com/6Ld83ci.png

I know my English isn't the best, but I hope I explained the problem well enough...

Best regards, and btw, thanks for the package. It's been very helpful.

PS: I ruled out any problem in the code itself because I've already compiled it, and it works fine.

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