<?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[Whitespace background cannot be changed]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1739979687527-whitespace-background-cannot-be-changed.png" alt="whitespace background cannot be changed.png" class=" img-fluid img-markdown" /><br />
There is an option in the style configurator, but it does nothing</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/26641/whitespace-background-cannot-be-changed</link><generator>RSS for Node</generator><lastBuildDate>Sun, 09 Aug 2026 07:14:35 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/26641.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Feb 2025 15:42:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Whitespace background cannot be changed on Thu, 20 Feb 2025 21:09:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/halfoffhell" aria-label="Profile: HalfOffHell">@<bdi>HalfOffHell</bdi></a> ,</p>
<p dir="auto">Your screenshot is of a “normal text file”.  But it appears to actually have PythonScript, at least on the non-red-boxed line.</p>
<p dir="auto">So if you are coding in some language, many of the language lexers have a DEFAULT color – including Python – which is used for the spaces.  So it might be than changing <strong>Language: <code>Python</code> &gt; Style: <code>DEFAULT</code> &gt; Background colour</strong> is sufficient for you.</p>
<p dir="auto">For example:<br />
<img src="/assets/uploads/files/1740085422056-433c1575-a1d1-4852-9fba-c5e9e4aff5e7-image.png" alt="433c1575-a1d1-4852-9fba-c5e9e4aff5e7-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><em><strong>Caveat</strong></em>: Not all languages have or use a <code>DEFAULT</code> style for whitespace – and some that have the <code>DEFAULT</code> also use it for real text that doesn’t match any of their other Styles while lexing, not just whitespace, so changing the background of a language’s <code>DEFAULT</code> style might not work like you want for all languages … But for what I remember of Python, it doesn’t use the <code>DEFAULT</code> style for anything but whitespace, so it may meet at least some of your desires.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/99954</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/99954</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 20 Feb 2025 21:09:02 GMT</pubDate></item><item><title><![CDATA[Reply to Whitespace background cannot be changed on Wed, 19 Feb 2025 18:44:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/halfoffhell" aria-label="Profile: HalfOffHell">@<bdi>HalfOffHell</bdi></a> said in <a href="/post/99921">Whitespace background cannot be changed</a>:</p>
<blockquote>
<ol>
<li>do you know any way to make the whitespace symbol take up the entire whitespace then? currently increasing whitespace size makes the symbol wider, which makes it obstruct nearby characters.</li>
</ol>
</blockquote>
<p dir="auto">Nope, it’s not designed to do that.</p>
<blockquote>
<ol start="2">
<li>or, will whitespace background ever be added?</li>
</ol>
</blockquote>
<p dir="auto">Doubtful, though I don’t think anyone has ever made an official feature request for that.</p>
<p dir="auto">In my experience, you are the first user who wants whitespace indicators to <em>not</em> use the same background color as the rest of the text, and the developer doesn’t tend to work on such niche requests.  But, of course, we’d never know for sure unless someone requested it.</p>
<blockquote>
<ol start="3">
<li>delimiters can change the background of whitespaces, but folding is disabled inside delimiters (and folding styles have nesting options greyed out), will that ever be changed</li>
</ol>
</blockquote>
<p dir="auto">Doubtful, though I don’t think anyone has ever made an official feature request for that.</p>
<hr />
<p dir="auto"><strong>Reference</strong></p>
<ul>
<li><a href="/topic/15741/faq-feature-request-or-bug-report">FAQ: Feature Request or Bug Report</a></li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/99924</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/99924</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 19 Feb 2025 18:44:19 GMT</pubDate></item><item><title><![CDATA[Reply to Whitespace background cannot be changed on Wed, 19 Feb 2025 17:11:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> <img src="/assets/uploads/files/1739984711482-whitespace-symbol-gets-wider-isntead-of-taking-up-the-whitespace.png" alt="whitespace symbol gets wider isntead of taking up the whitespace.png" class=" img-fluid img-markdown" /></p>
<ol>
<li>do you know any way to make the whitespace symbol take up the entire whitespace then? currently increasing whitespace size makes the symbol wider, which makes it obstruct nearby characters.</li>
<li>or, will whitespace background ever be added?</li>
<li>delimiters can change the background of whitespaces, but folding is disabled inside delimiters (and folding styles have nesting options greyed out), will that ever be changed</li>
</ol>
]]></description><link>https://community.notepad-plus-plus.org/post/99921</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/99921</guid><dc:creator><![CDATA[HalfOffHell]]></dc:creator><pubDate>Wed, 19 Feb 2025 17:11:18 GMT</pubDate></item><item><title><![CDATA[Reply to Whitespace background cannot be changed on Wed, 19 Feb 2025 16:08:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/halfoffhell" aria-label="Profile: HalfOffHell">@<bdi>HalfOffHell</bdi></a> .</p>
<p dir="auto">The documentation already tells you it’s foreground only.<br />
<img src="/assets/uploads/files/1739980983339-4f94caed-69a0-4f37-b85a-0354a675c22f-image.png" alt="4f94caed-69a0-4f37-b85a-0354a675c22f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">And in my v8.7.5, the “background” is greyed out, so you cannot try to change it.</p>
<p dir="auto"><img src="/assets/uploads/files/1739981042535-77edc7e0-2cd3-4045-a037-a670efd7233f-image.png" alt="77edc7e0-2cd3-4045-a037-a670efd7233f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If I look at the stylers.model.xml or similar (ie, a theme maintained by the N++ developer), in the <code>&lt;GlobalStyles&gt;</code> section, the “White space symbol” doesn’t have a <code>bgColor</code> attribute, which is what causes it to gray out, I think<br />
<img src="/assets/uploads/files/1739981208432-c60ce5d5-3dfe-42a2-b7f7-290828c3a51c-image.png" alt="c60ce5d5-3dfe-42a2-b7f7-290828c3a51c-image.png" class=" img-fluid img-markdown" /></p>
<pre><code>&lt;WidgetStyle name="White space symbol" styleID="0" fgColor="FFB56A"&gt;&lt;/WidgetStyle&gt;
</code></pre>
<p dir="auto">That implies that your “Material theme” incorrectly added that attribute (or that it was derived from an earlier version of the model, which incorrectly had that attribute).  So to make it match reality, you should edit your “Material theme”'s XML to not have <code>bgColor</code> attribute for the “White space symbol” entry, so that you don’t confuse yourself in the future.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/99920</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/99920</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 19 Feb 2025 16:08:59 GMT</pubDate></item></channel></rss>