<?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[Changing foreground color of strings]]></title><description><![CDATA[<p dir="auto">Long-time NP++ user, first time poster.</p>
<p dir="auto">In both .HTML and .PY files, and presumably others, strings are displayed in a light grey color that is very hard to read on some displays. I’d like to change to a different color, but I cannot find the correct setting in Settings / Style Configurator. I’ve read the help, and looked everywhere that seems sensible to me, but there is no String type I can find.</p>
<p dir="auto">I uninstalled NP++ and re-installed it with no change in behavior.</p>
<p dir="auto">Here are two screengrabs that illustrate.<br />
First, a .HTML file:<br />
<img src="/assets/uploads/files/1725488112916-dc08253a-9740-47c6-8561-28ca53f972b1-image.png" alt="dc08253a-9740-47c6-8561-28ca53f972b1-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Second, a .PY file:<br />
<img src="/assets/uploads/files/1725488155040-2552288c-3c63-4c75-bddb-426e629d935e-image.png" alt="2552288c-3c63-4c75-bddb-426e629d935e-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Here is debug info from ? / Debug …<br />
Notepad++ v8.6.9   (64-bit)<br />
Build time : Jul 12 2024 - 05:09:25<br />
Path : C:\Program Files\Notepad++\notepad++.exe<br />
Command Line :<br />
Admin mode : OFF<br />
Local Conf mode : OFF<br />
Cloud Config : OFF<br />
Periodic Backup : ON<br />
OS Name : Windows 11 Pro (64-bit)<br />
OS Version : 23H2<br />
OS Build : 22631.4037<br />
Current ANSI codepage : 1252<br />
Plugins :<br />
mimeTools (3.1)<br />
NppConverter (4.6)<br />
NppExport (0.4)</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/26076/changing-foreground-color-of-strings</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 15:34:31 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/26076.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Sep 2024 22:16:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Changing foreground color of strings on Thu, 05 Sep 2024 02:54:42 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> Thank you! I’m not a web developer, I’m a software product manager so didn’t know about the embedded JavaScript.</p>
<p dir="auto">All fixed now.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/96419</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96419</guid><dc:creator><![CDATA[Karl Perry]]></dc:creator><pubDate>Thu, 05 Sep 2024 02:54:42 GMT</pubDate></item><item><title><![CDATA[Reply to Changing foreground color of strings on Wed, 04 Sep 2024 22:54:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karl-perry" aria-label="Profile: Karl-Perry">@<bdi>Karl-Perry</bdi></a> said in <a href="/post/96412">Changing foreground color of strings</a>:</p>
<blockquote>
<p dir="auto">I’ve read the help, and looked everywhere that seems sensible to me, but there is no String type I can find.</p>
</blockquote>
<p dir="auto"><strong>Style Configurator &gt; HTML &gt; <code>DOUBLE STRING</code></strong> or <strong><code>SINGLE STRING</code></strong> for <code>"double"</code> or <code>'single'</code></p>
<p dir="auto"><img src="/assets/uploads/files/1725489935374-0f31db1e-af39-4390-b61a-5d9d9b943be7-image.png" alt="0f31db1e-af39-4390-b61a-5d9d9b943be7-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">But what you show is actually a javascript string, not an HTML string.  That is in the <strong>Style Configurator &gt; Javascript (embedded)</strong>, with <code>"DOUBLE STRING"</code> or <code>'SINGLE STRING'</code> as the styles you want to change.</p>
<p dir="auto"><strong>Style Configurator &gt; Python</strong></p>
<ul>
<li><code>"STRING"</code></li>
<li><code>'CHARACTER'</code></li>
<li><code>'''TRIPLE'''</code></li>
<li><code>"""TRIPLE DOUBLE"""</code></li>
<li>and the <code>F</code>-variants lower down for python3 f-strings</li>
</ul>
<p dir="auto"><img src="/assets/uploads/files/1725490189391-5bcdcab8-d7db-4842-9982-3111e24ddbaf-image.png" alt="5bcdcab8-d7db-4842-9982-3111e24ddbaf-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/96414</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96414</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 04 Sep 2024 22:54:17 GMT</pubDate></item></channel></rss>