If I had an arrow in a comment, syntax thinks it's a giant xml comment:
Dictionary<string, AxisConfiguration> table; ///<---------
if (_instance._axesTable.TryGetValue(inputConfig.name, out table))
{
AxisConfiguration axisConfig;
if (table.TryGetValue(axisName, out axisConfig))
return axisConfig;
}
All the code is highlighted as xmlAttrib or xmlTag. Removing the < fixes it.
While my code is kinda bad for having a random xml element, it seems very wrong that non comments can be highlighted as xml.
If I had an arrow in a comment, syntax thinks it's a giant xml comment:
All the code is highlighted as xmlAttrib or xmlTag. Removing the
<
fixes it.While my code is kinda bad for having a random xml element, it seems very wrong that non comments can be highlighted as xml.