Community
    • Login

    Syntax Highlight CDATA Content in XML Files

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    1 Posts 1 Posters 2.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • YaronY
      Yaron
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors