Sublime Forum

JavaScript Syntax Highlighting Bug?

#1

I’ve noticed that the syntax highlighting for JavaScript seems to be inconsistent as of late. I don’t remember exactly when I first noticed it, but it’s been happening within the last few months. Example in the following code snippet:

[quote]parameterField = new Ext.form.RadioGroup({
items: radioGroupItems,
fieldLabel: parameterConfig.FieldLabel,
hideLabel: true,
name: parameterConfig.ReportControl.ReportControlName,
parameterName: parameterConfig.ConfigurationItemName
});[/quote]

Within SublimeText, the “FieldLabel” and “ConfigurationItemName” properties of the “parameterConfig” object are black, while the “radioGroupItems” variable and the “ReportControlName” property are blue. Is this intended? If so, what is the rule, here?

Thanks

0 Likes