FilzaPlus icon indicating copy to clipboard operation
FilzaPlus copied to clipboard

Coloring issues when things are inside other things

Open jakeajames opened this issue 6 years ago • 0 comments

I don't know how to really explain it so giving an example, making such a comment will result in two colors: // green color here # yellow here

If the code parser sees a comment in this case, it should not parse more until the comment ends, comments should have one color regardless of there being strings, hash symbols etc. Same with multiline comments (and if you see the other issue, you can add those by using another editor), the things in between should all be the same color (green).

In the case of strings, adding a hash sign will not affect the color of the string itself, but what comes after it, like this:

"red here # still red here" yellow here

jakeajames avatar Jul 08 '19 16:07 jakeajames