Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Inconsistent Syntax Coloring #4056

Closed
zreese opened this issue Nov 4, 2014 · 5 comments
Closed

Inconsistent Syntax Coloring #4056

zreese opened this issue Nov 4, 2014 · 5 comments

Comments

@zreese
Copy link

zreese commented Nov 4, 2014

I've been having issues working with HTML syntax colors, where underscores kind of throw off the coloring. See screenshot. Not sure if this is a fault with the theme or intended behavior (I just switch from Chocolat to Atom and I'm still feeling things out). But I imagine that plain text shouldn't be the same color as HTML tags...

image

@postcasio
Copy link
Contributor

Can you post any more of the file? It looks like it's highlighting the HTML as if it's inside an attribute value, so you could have an unclosed attribute earlier in the file. Or perhaps there's a very long line earlier in the file triggering this bug?

@zreese
Copy link
Author

zreese commented Nov 4, 2014

The long line bug might be what's going on. Here are some screenshots from other files. It seems to happen to every document I open.

image

image

@50Wliu
Copy link
Contributor

50Wliu commented Nov 4, 2014

Syntax highlighting fails if your line is too long. See #1667.
EDIT: Didn't see the previous mention, whoops.

@benogle
Copy link
Contributor

benogle commented Nov 4, 2014

Closing as a dupe of #1667

@benogle benogle closed this as completed Nov 4, 2014
@lock
Copy link

lock bot commented Jan 25, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Jan 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants