<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Nested CSS]]></title><description><![CDATA[<p dir="auto">Can you please fix highlighting nested css style like :</p>
<pre><code>div {display: flex;
  a {color: green;
     b {background: red}
  }
}
</code></pre>
<p dir="auto">It becomes very often used.<br />
Thanx.</p>
<p dir="auto">—</p>
<p dir="auto"><em>moderator added code markdown around text; please don’t forget to <a href="https://community.notepad-plus-plus.org/topic/21925/faq-desk-formatting-forum-posts">use the <code>&lt;/&gt;</code> button to mark example text as “code”</a> so that characters don’t get changed by the forum</em></p>
]]></description><link>https://community.notepad-plus-plus.org/topic/26622/nested-css</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 06:13:50 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/26622.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Feb 2025 14:44:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Nested CSS on Mon, 10 Feb 2025 16:27:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/34066">@External-Usage</a> ,</p>
<p dir="auto">Notepad++ uses a library called “Lexilla” for doing the lexing.  Lexilla has a “testbed” editor called SciTE which shows they have the same problem</p>
<p dir="auto"><img src="/assets/uploads/files/1739199017173-a51ce8b6-9c94-43aa-8498-356479d7781f-image.png" alt="a51ce8b6-9c94-43aa-8498-356479d7781f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Per <a href="/topic/26594">this recent discussion</a> here, there is an open <a href="https://github.com/ScintillaOrg/lexilla/issues/210" rel="nofollow ugc">request</a> with the Lexilla team to allow nested CSS (and the &amp; selector).  Until Lexilla is able to fix their library to handle nested CSS properly, Notepad++ will not be able to; once they release a version with that fix, and once Notepad++ updates to that version, then it will be fixed in Notepad++… but since the request has been active since 2023, I am doubtful it will happen any time soon.  Sorry.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/99761</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/99761</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 10 Feb 2025 16:27:59 GMT</pubDate></item></channel></rss>