<?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[Styling &amp;#39;]]></title><description><![CDATA[<p dir="auto">In my UDL, I’m having trouble getting <code>&amp;#39</code> to style.</p>
<p dir="auto">I tried using <code>&amp;#</code> as a keyword in prefix mode, but nothing happens.</p>
<p dir="auto">And I tried it for a number, <code>prefix1: &amp;#</code> and <code>suffix1: ;</code>  but it still doesn’t colour.</p>
<p dir="auto">And I don’t even have <code>&amp;</code> or <code>#</code> defined as operators.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20409/styling-39</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 16:25:19 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20409.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Nov 2020 15:41:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Styling &amp;#39; on Tue, 01 Dec 2020 02:58:43 GMT]]></title><description><![CDATA[<p dir="auto">Oh - thanks, Peter, for your time and for looking at it for me!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/60355</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/60355</guid><dc:creator><![CDATA[BGM Coder]]></dc:creator><pubDate>Tue, 01 Dec 2020 02:58:43 GMT</pubDate></item><item><title><![CDATA[Reply to Styling &amp;#39; on Tue, 01 Dec 2020 02:26:31 GMT]]></title><description><![CDATA[<p dir="auto">You know what?  I’m usually tech support for people, and they come and tell me that something isn’t working.  I ask them to show me, and then they can’t get it to not work.</p>
<p dir="auto">Now I spent an hour trying to get that to work in my UDL, but it would not colour no matter what I did.</p>
<p dir="auto">But just now, on a whim, after reading that it worked for you, I went and stuck <code>&amp;#</code> in the exact same place I had tried it before (I like it in Styler 3 just below the <code>@</code>) and it just worked.</p>
<p dir="auto">I have no explanation why except that I deserve every bit of my frustration for whatever I have done in my life so far.</p>
<p dir="auto">Now it’s working for some reason!  haaaaaaaaaahhhhhaaaaa</p>
]]></description><link>https://community.notepad-plus-plus.org/post/60352</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/60352</guid><dc:creator><![CDATA[BGM Coder]]></dc:creator><pubDate>Tue, 01 Dec 2020 02:26:31 GMT</pubDate></item><item><title><![CDATA[Reply to Styling &amp;#39; on Mon, 30 Nov 2020 18:07:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bgm-coder" aria-label="Profile: BGM-Coder">@<bdi>BGM-Coder</bdi></a> said in <a href="/post/60323">Styling &amp;#39;</a>:</p>
<blockquote>
<p dir="auto">not in my squiffy  UDL</p>
</blockquote>
<p dir="auto">Works for me.  Well, the UDL you linked didn’t define &amp;# as a prefix-keyword.  So I added it to keyword4, and it highlighted just fine:</p>
<p dir="auto"><img src="/assets/uploads/files/1606758998341-ce6ff7ac-4455-46b9-8778-9e0a9fa94fcb-image.png" alt="ce6ff7ac-4455-46b9-8778-9e0a9fa94fcb-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I added some of your other keywords, to prove the other squiffy keywords were also highlighting for me.  But the critical thing is that <code>&amp;#39</code> is highlighted red, matching the definition of keyword4</p>
<p dir="auto">Or, if you’d prefer it to count as a number:<br />
<img src="/assets/uploads/files/1606759127542-18d2b7b7-4ec7-4257-a6d0-d5c3e1e58665-image.png" alt="18d2b7b7-4ec7-4257-a6d0-d5c3e1e58665-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Either work for me, starting with your UDL xml that I downloaded from the link you shared.</p>
<p dir="auto">Maybe you need to delete your SquiffyUDL.xml, exit Notepad++, download a fresh copy into your UDL folder, and reload Notepad++ (maybe it got “stuck” somehow).  Or maybe there’s an example set of data that doesn’t work, whereas the data I show does work – maybe there’s some contextual problem with your exact sequence of data that makes it not work, even though it works with my example data.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/60330</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/60330</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 30 Nov 2020 18:07:16 GMT</pubDate></item><item><title><![CDATA[Reply to Styling &amp;#39; on Mon, 30 Nov 2020 17:05:20 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, Peter.</p>
<p dir="auto">You know, it works easily as a keyword in a fresh UDL, but not in my squiffy  UDL.  I can’t figure it out.  There’s not even much in the UDL.</p>
<p dir="auto"><a href="https://github.com/BGMcoder/npp/blob/main/squiffy/SquiffyUDL.xml" rel="nofollow ugc">Here’s my UDL file</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/60323</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/60323</guid><dc:creator><![CDATA[BGM Coder]]></dc:creator><pubDate>Mon, 30 Nov 2020 17:05:20 GMT</pubDate></item><item><title><![CDATA[Reply to Styling &amp;#39; on Mon, 30 Nov 2020 15:57:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bgm-coder" aria-label="Profile: BGM-Coder">@<bdi>BGM-Coder</bdi></a> ,</p>
<p dir="auto">For numbers, it can work, either as prefix2:</p>
<p dir="auto"><img src="/assets/uploads/files/1606751309439-21d3794a-0cd9-482b-b3d1-19ca52e47281-image.png" alt="21d3794a-0cd9-482b-b3d1-19ca52e47281-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">or as prefix1:</p>
<p dir="auto"><img src="/assets/uploads/files/1606751378549-d0d201ac-9f01-453b-b47f-a9905e189023-image.png" alt="d0d201ac-9f01-453b-b47f-a9905e189023-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I also took it out of both numeric prefixes, and moved it to keyword1 in prefix mode, and it worked correctly for me:</p>
<p dir="auto"><img src="/assets/uploads/files/1606751469961-d774986e-367b-4a29-929a-34ba7b4f2cb6-image.png" alt="d774986e-367b-4a29-929a-34ba7b4f2cb6-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">(Side experiment: to get both <code>&amp;#</code> and <code>&amp;</code> to work as number-prefixes in the same category, you have to order it as <code>&amp;# &amp;</code>.  In keyword, it didn’t matter, probably because <code>&amp;#</code> matches <code>&amp;</code>-prefix anyway.  In numbers, it matters, because # wasn’t an “extra” numeric character)</p>
<p dir="auto">Can you show us a minimal example?  (Create a brand new UDL – or just use the default “user defined” – assign the active document to User Defined, and show the screenshot of both your text and the relevant UDL-dialog entry, like I did (if UDL is floating, like mine was, you can use Snipping Tool / <code>Win+Shift+S</code> to grab both text and UDL at once; if UDL docked, a simple <code>Alt+PrintScreen</code> will grab everything you need)</p>
<p dir="auto">here is the example text I was using.</p>
<pre><code>0x59
&amp;39
&amp;#39
prefix1 2# 8# 10#
prefix1 2#111 8#777 10#999
prefix2 16# 0x 0X
prefix2 16#999 0xFFF 0X9FF
extras 1: A B C D E F a b c d e f _ :
</code></pre>
<p dir="auto">I set the keyword1 to burgandy/red, and the numeric to bold green</p>
]]></description><link>https://community.notepad-plus-plus.org/post/60314</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/60314</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 30 Nov 2020 15:57:06 GMT</pubDate></item></channel></rss>