Sublime Forum

Why some HTML attributes are not colored?

#1

On this screenshot, ICON attribute.
One is colored green, another one isn’t.
Could it be because the one that is not colored is very long?
If so, how can I fix that.
Also, for the one that is not colored, Expend Selection (alt+shift+right) is not working.

0 Likes

#2

Likely this is the reason. ST’s syntax engine won’t highlight a very long line intentionally (due to regex’s performance issue I guess).

0 Likes