Closed alxmckny closed 5 years ago
I can't reproduce this on my end. I do see in your 3rd image, where you selected HTML
as the syntax, that the CSS in the style attribute is not highlighted as CSS. That suggests to me that something non-standard is going on, since with the default packages that should be highlighted. Did you add CSS
to your ignored packages list in your preferences?
EDIT: if I ignore the CSS package in my preferences file, I see the same behavior.
I did have CSS
in my ignored packages. I tried removing that and the issue is still there for me. Any other ideas on what to try?
Can you confirm that you have CSS
as a syntax choice in your syntax menu? Do you have a third party CSS syntax installed?
Yes. I have CSS
and CSS3
in the syntax menu:
Could you try disabling CSS3
?
Disabling CSS3
worked! Thank you for helping troubleshoot this issue.
Glad to hear it. There has been trouble in the past as well with getting this package to work specifically with CSS3.
Hi @jcberquist, The CFML syntax highlighting in ST3 seems to be breaking after an inline
style
attribute in any standard HTML tag in a .cfm document:If I change the attribute to
data-style
, the issue disappears:If I switch the syntax in ST3 to "HTML" the issue disappears as well:
I have tried disabling any associated 3rd party packages just in case, but it doesn't seem to help the issue. Can you replicate this on your end, or have any ideas as to what may cause this?