Closed infernocloud closed 8 years ago
@elpete could this be related to your PR for https://github.com/atom/language-hyperlink/pull/5 ?
Oh interesting I didn't even think it could have been affected by another package. I disabled that package and syntax highlighting is working correctly. Should we close this issue here?
No, let's leave this open for now, as that PR was submitted specifically to fix another bug (probably a simpler form of this one) in this project.
It sure sounds like it.
@infernocloud, are you sure this was working in prior versions of this package, or could it be you just noticed it at this time?
I'm sorry, I didn't get notified about these messages. Yes I'm sure syntax highlighting was correctly working before I updated packages in Atom.
Interesting...it seems that the initial bug was noticed between v0.8.6 and v0.8.7 when the embedded-cf
rule was added. Before that, they just looked like strings.
@infernocloud, do you know what version you updated from? Or can you verify that there was no embedded syntax highlighting before (but neither was it incorrectly highlighting strings)?
I just want to make sure we're fixing this in the right place.
ping @infernocloud
Regardless of when the issue was introduced, I think this issue should be fixed with @tollus pull request over on language-hyperlink
.
We'll leave this issue open until that pull request is merged.
I'm seeing syntax highlighting breaking down whenever a single # character is used, for instance with a jQuery selector. This seems to have started after I updated to the latest version (0.11.0). Disabling atom/language-hyperlink does not fix the issue for me.
noticing the same thing @dnando ... I'm also noticing that there are now two HTML (CFML) entries available when opening the syntax picker.
@scottyinzeo The duplicate HTML (CFML) entries are just a naming issue in the new injection grammar. That will be fixed in the next release. Sorry.
@dnando Fix for this should be in the next version. (Just pushed it up.)
Fixed in 0.12
This seems complicated. Some combination of the doubled slashes in http:// and the output pounds (##). It almost seems like its trying to do some kind of URL highlighting but doing it wrong.
Test strings that causes syntax highlighting to break: testUrl = "http://www.google.com/#test#"; testUrl = "http://www.google.com/test#";
These strings do not break syntax highlighting: testUrl = "http:/www.google.com/#test#"; testUrl = "http//www.google.com/#test#"; testUrl = "http://www.google.com/#test";