Syntax Highlight CDATA Content in XML Files



  • Hello,

    Is it possible to apply my JavaScript style-settings to the CDATA sections in XML files?
    In Style Configurator -> XML you can set CDATA style, but the entire content is displayed in the same font and color.

      <property name="visibleTabs" readonly="true">
        <getter><![CDATA[
          if (!this._visibleTabs)
            this._visibleTabs = Array.filter(this.tabs,
                                             function (tab) !tab.hidden && !tab.closing);
          return this._visibleTabs;
        ]]></getter>
      </property>
    

    Thank you.


Log in to reply