<?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[Character colors]]></title><description><![CDATA[<p dir="auto">Could not find a solution for solving a problem which is not so complicated, but still important for me.  I would like in all my texts use colors as:</p>
<ol>
<li>Uppercase letters: RED</li>
<li>Lowercase letters: BLACK</li>
<li>Numbers: Green<br />
Of course any other colors would do, the goal is to make different colors for these three type of signs.<br />
I think there should be a solution in Settings&gt;Style Configurator, but the explanations there are to complicated for me.<br />
Any help would be greatly appreciated.</li>
</ol>
]]></description><link>https://community.notepad-plus-plus.org/topic/21131/character-colors</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 16:52:04 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/21131.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 May 2021 14:16:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Character colors on Thu, 06 May 2021 18:51:46 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> ,</p>
<p dir="auto">Nice.</p>
<p dir="auto">That works well for zero/oh, but not one/ell:<br />
<img src="/assets/uploads/files/1620326982583-dfef4c43-a968-4db4-a415-58ba325b91c2-image.png" alt="dfef4c43-a968-4db4-a415-58ba325b91c2-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Whereas doing the operators as lowercase a-z will hjelp with one/ell but not zero/oh:<br />
<img src="/assets/uploads/files/1620327026990-d3f2e89e-8610-47aa-9a3c-b1975fc0d3e3-image.png" alt="d3f2e89e-8610-47aa-9a3c-b1975fc0d3e3-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/65704</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65704</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 06 May 2021 18:51:46 GMT</pubDate></item><item><title><![CDATA[Reply to Character colors on Thu, 06 May 2021 18:42:00 GMT]]></title><description><![CDATA[<p dir="auto">Even though it is already solved, I would like to mention that UDL can be used with a trick, using letters as operators.</p>
<p dir="auto"><img src="/assets/uploads/files/1620326505988-17f4aa4c-aea5-4bd8-b91b-70327d598ebf-image.png" alt="17f4aa4c-aea5-4bd8-b91b-70327d598ebf-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/65701</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65701</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 06 May 2021 18:42:00 GMT</pubDate></item><item><title><![CDATA[Reply to Character colors on Thu, 06 May 2021 17:16:46 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for the good ideas. All of the recommendations are very useful for my everyday work.<br />
More carefully choosing the font and the size of characters really solved my problem.<br />
The idea of using the search engine is also very useful in my work.<br />
I am very grateful for all of you for the prompt and effective help.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65695</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65695</guid><dc:creator><![CDATA[Tibor Batonyi]]></dc:creator><pubDate>Thu, 06 May 2021 17:16:46 GMT</pubDate></item><item><title><![CDATA[Reply to Character colors on Thu, 06 May 2021 16:57:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tibor-batonyi" aria-label="Profile: Tibor-Batonyi">@<bdi>Tibor-Batonyi</bdi></a> ,</p>
<p dir="auto">Another idea for a quick check is to just temporarily mark (Search &gt; Mark) all the digits, which would distinguish all the 1s and 0s, so if it’s not higlighted, it would be a lowercase letter <code>l</code> (ell) or uppercase letter <code>O</code> (oh)</p>
<p dir="auto"><img src="/assets/uploads/files/1620320154316-c1b14c78-7342-4ed0-b7ff-191971ae975d-image.png" alt="c1b14c78-7342-4ed0-b7ff-191971ae975d-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/65694</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65694</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 06 May 2021 16:57:16 GMT</pubDate></item><item><title><![CDATA[Reply to Character colors on Thu, 06 May 2021 16:39:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tibor-batonyi" aria-label="Profile: Tibor-Batonyi">@<bdi>Tibor-Batonyi</bdi></a> said in <a href="/post/65691">Character colors</a>:</p>
<blockquote>
<p dir="auto">It is very hard to make difference between lowercase L, uppercase i and number 1. The O and 0 also are sometimes is a problem.</p>
</blockquote>
<p dir="auto">You might just choose a font.  For example, Courier New is pretty bad:<br />
<img src="/assets/uploads/files/1620319126496-285bd321-ae60-420d-b665-208bd0d7b07a-image.png" alt="285bd321-ae60-420d-b665-208bd0d7b07a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Whereas DejaVu Sans Mono differentiates better:<br />
<img src="/assets/uploads/files/1620319147808-fa7141fc-2248-4b54-8456-6c83f62ff645-image.png" alt="fa7141fc-2248-4b54-8456-6c83f62ff645-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/65693</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65693</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 06 May 2021 16:39:19 GMT</pubDate></item><item><title><![CDATA[Reply to Character colors on Thu, 06 May 2021 16:25:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tibor-batonyi" aria-label="Profile: Tibor-Batonyi">@<bdi>Tibor-Batonyi</bdi></a> said in <a href="/post/65691">Character colors</a>:</p>
<blockquote>
<p dir="auto">I am in my eight X and my eyes not so good as earlier.</p>
</blockquote>
<p dir="auto">Notepad++ has zoom (View =&gt; Zoom), and you can set your default font to a larger size and / or one that has better differences between the letters you mentioned:</p>
<p dir="auto"><img src="/assets/uploads/files/1620318294236-afd50aaf-5ca7-4ff4-9fbd-da428724b398-image.png" alt="afd50aaf-5ca7-4ff4-9fbd-da428724b398-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65692</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65692</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Thu, 06 May 2021 16:25:00 GMT</pubDate></item><item><title><![CDATA[Reply to Character colors on Thu, 06 May 2021 16:15:32 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 very much for attention and cooperation. Notepad++ is my favorite editor for writing very simply batch scripts and mainly to “decrypt” very old e-books in txt format but in unknown  encoding. Notepad++ helps me to find encoding, convert to UTF8, and save in a readable format. (Books are in Hungarian or in Russian, so it is not so simple as with English books)<br />
But lately I have problems with passwords. I am in my eight X and my eyes not so good as earlier. It is very hard to make difference between lowercase L, uppercase i and number 1. The O and 0 also are sometimes is a problem.<br />
It is not so bad, when I can copy the password, but sometimes it is requested to enter it manually. My question was only to solve this problem. There is no reason to make to much efforts for this problem, because it can be solved in other ways.<br />
This time I simply make notes for this problem characters, it helps. I thought that there is a simply way in Notepad++ to do it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/65691</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65691</guid><dc:creator><![CDATA[Tibor Batonyi]]></dc:creator><pubDate>Thu, 06 May 2021 16:15:32 GMT</pubDate></item><item><title><![CDATA[Reply to Character colors on Thu, 06 May 2021 14:55:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tibor-batonyi" aria-label="Profile: Tibor-Batonyi">@<bdi>Tibor-Batonyi</bdi></a> ,</p>
<p dir="auto">Sorry, that is not natively possible.  The syntax highlighters (“lexers”) that are built in don’t have a rule like that, and the User Defined Language (UDL) can allow you to define your own syntax for a list of keywords, but that doesn’t have the feature of just looking at the case of the letters in your text (though it could handle the numbers=green portion of your request)</p>
<p dir="auto">You can add extra highlighting to a lexer using regexes via the script <code>EnhanceAnyLexer.py</code> that <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> shares <a href="https://github.com/Ekopalypse/NppPythonScripts/blob/master/npp/EnhanceAnyLexer.py" rel="nofollow ugc">in his github repo</a> … but I have a feeling if the Style Configurator is too complicated for you, using the PythonScript plugin to setup EnhanceAnyLexer might also be too difficult.</p>
<p dir="auto">If you’d like to try that, let us know, and we can try to guide you down the path… but you have to be willing to put in the effort.</p>
<p dir="auto">Also, before we’d start, we’d want a bit more detail:</p>
<ul>
<li>is this a 1-time need, or something you will need many times in the future?</li>
<li>do you need it “on-the-fly” (so as you type, it automatically updates the coloring)? or would “on demand” be sufficient (so you do some edits, then hit a keystroke or run a menu option and the colors get updated"</li>
<li>Is this always in a file with the same extension (like <code>.clr</code> or <code>.xyz</code>)?  Or is it just on some files that end in <code>.txt</code> but not others?</li>
<li>What about text with mixed case, or mix of numbers and letters, like below<pre><code>UPPERCASE
lowercase
MixedCase
Standalone Numbers: 1234
Text1With2Numbers3Embedded4
</code></pre>
Is it really <em>every</em> uppercase letter (like the M and C in <code>MixedCase</code>), or just whole words that are uppercase (like <code>UPPERCASE</code>)</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/65685</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65685</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 06 May 2021 14:55:14 GMT</pubDate></item><item><title><![CDATA[Reply to Character colors on Thu, 06 May 2021 14:42:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tibor-batonyi" aria-label="Profile: Tibor-Batonyi">@<bdi>Tibor-Batonyi</bdi></a></p>
<p dir="auto">Maybe you could do it by defining a UDL (User Defined Language).  Not sure about that, though as I’m not strong in knowing about that.</p>
<p dir="auto">I’d say that for sure you could do it with “EnhanceAnyLexer”.<br />
This is something called a script that would require you to set up and use the PythonScript plugin.</p>
<p dir="auto">It works by coloring per a “regular expression” specification.</p>
<p dir="auto">Base regular expressions for what you are interested in are:</p>
<ul>
<li><code>\u</code> : uppercase</li>
<li><code>\l</code> : lowercase</li>
<li><code>\d</code> : digit</li>
</ul>
<p dir="auto">I’m sure the author of “EnhanceAnyLexer”, <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> , will come along to tell you more about it.</p>
<p dir="auto">“EnhanceAnyLexer” is found here:  <a href="https://github.com/Ekopalypse/NppPythonScripts/blob/master/npp/EnhanceAnyLexer.py" rel="nofollow ugc">https://github.com/Ekopalypse/NppPythonScripts/blob/master/npp/EnhanceAnyLexer.py</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/65684</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/65684</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 06 May 2021 14:42:51 GMT</pubDate></item></channel></rss>