<?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[2 colorations syntaxique au sein d'un même fichier, possible ?]]></title><description><![CDATA[<p dir="auto">Bonjour et merci au dev de notepad++ !</p>
<p dir="auto">Je me sers régulièrement de cet éditeur pour du code PHP, CSS,JS.</p>
<p dir="auto">Est-il possible de configurer notepad++ pour avoir 2 type de colorations syntaxique  au sein d’un même ficher ?</p>
<p dir="auto">Un exemple tout simple: une page HTML avec une balise &lt;style type=“text/css”&gt;</p>
<p dir="auto">La coloration serait active pour tout le HTML<br />
ET<br />
active à l’intérieur de la balise &lt;style&gt; pour du CSS</p>
<hr />
<p dir="auto">Hello and thank you to the notepad ++ dev!</p>
<p dir="auto">I use this editor regularly for PHP, CSS, JS code.</p>
<p dir="auto">Is it possible to configure notepad ++ to have 2 types of syntax highlighting within the same file?</p>
<p dir="auto">A simple example: an HTML page with a tag &lt;style type = “text / css”&gt;</p>
<p dir="auto">Syntax highlighting would be active for HTML<br />
AND<br />
active inside the &lt;style&gt; tag for CSS</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/17352/2-colorations-syntaxique-au-sein-d-un-même-fichier-possible</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 09:08:51 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/17352.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 23 Mar 2019 12:21:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 2 colorations syntaxique au sein d'un même fichier, possible ? on Mon, 25 Mar 2019 12:59:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amkp-gamy" aria-label="Profile: amkp-gamy">@<bdi>amkp-gamy</bdi></a></p>
<p dir="auto">The html lexer is one of the few, if not the only one, lexers which uses multiple lexers<br />
under the hood. It styles html, js, perl, vbs, python and I <strong>assumed</strong> it does CSS as well<br />
but obviously this is not the case. At least with the current used scintilla version but<br />
I don’t know if a newer scintilla version would have CSS integrated into html lexer.</p>
<p dir="auto">Sorry, but I don’t think that there is a way to make two builtin lexers working at the same time. What one could try is to use a technique like described <a href="https://notepad-plus-plus.org/community/topic/17283/perl-language-syntax-highlighting-troubles-bug-or-limitation" rel="nofollow ugc">here</a> but to be honest I haven’t much experience in css to understand its basic layout meaning. If you want to discuss this further let me know - will be online gain in about 7-8 hours.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41570</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41570</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 25 Mar 2019 12:59:37 GMT</pubDate></item><item><title><![CDATA[Reply to 2 colorations syntaxique au sein d'un même fichier, possible ? on Sun, 24 Mar 2019 15:14:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amkp-gamy" aria-label="Profile: amkp-gamy">@<bdi>amkp-gamy</bdi></a><br />
If one file has CSS and HTML …then the backlight will only work one)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41550</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41550</guid><dc:creator><![CDATA[andrecool-68]]></dc:creator><pubDate>Sun, 24 Mar 2019 15:14:15 GMT</pubDate></item><item><title><![CDATA[Reply to 2 colorations syntaxique au sein d'un même fichier, possible ? on Sun, 24 Mar 2019 14:11:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a><br />
What do you mean ?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41549</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41549</guid><dc:creator><![CDATA[amkp gamy]]></dc:creator><pubDate>Sun, 24 Mar 2019 14:11:45 GMT</pubDate></item><item><title><![CDATA[Reply to 2 colorations syntaxique au sein d'un même fichier, possible ? on Sun, 24 Mar 2019 12:10:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amkp-gamy" aria-label="Profile: amkp-gamy">@<bdi>amkp-gamy</bdi></a></p>
<p dir="auto">I thought this is already the case for html, isn’t it?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41542</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41542</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Sun, 24 Mar 2019 12:10:45 GMT</pubDate></item></channel></rss>