<?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[Number expression as close folding point]]></title><description><![CDATA[<p dir="auto">I am creating a UDL. In the language I’m working with, all commands end with 999999. I’m having a problem with folding. It is not working properly when I define the term 999999 as the closing point. Is it possible to use as an closing folding point an expression containing only numbers?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19044/number-expression-as-close-folding-point</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 12:09:52 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19044.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Mar 2020 13:17:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Number expression as close folding point on Mon, 16 Mar 2020 13:28:37 GMT]]></title><description><![CDATA[<p dir="auto">Thank you all for the support. The <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a>  work-around is helping for now.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51422</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51422</guid><dc:creator><![CDATA[André Albuquerque]]></dc:creator><pubDate>Mon, 16 Mar 2020 13:28:37 GMT</pubDate></item><item><title><![CDATA[Reply to Number expression as close folding point on Sat, 14 Mar 2020 18:14:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a>,</p>
<p dir="auto">I didn’t even think to do tests with <strong>letters</strong>, instead of digits :-( Many <strong>thanks</strong> for taking time to open a <strong>new</strong> issue on <strong>GitHub</strong> !</p>
<p dir="auto">BR</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51384</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51384</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sat, 14 Mar 2020 18:14:03 GMT</pubDate></item><item><title><![CDATA[Reply to Number expression as close folding point on Fri, 13 Mar 2020 20:24:14 GMT]]></title><description><![CDATA[<p dir="auto">That is definitely a bug.  If you do the same thing with the letter <code>a</code> instead of the digit <code>9</code>, it stops on the first line with the proper number of <code>a</code> characters, as it should, rather than requiring one extra <code>a</code>.</p>
<p dir="auto">Too bad the UDL subsystem issues don’t ever seem to gain traction.  Submitted <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8040" rel="nofollow ugc">#8040</a> anyway</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51378</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51378</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 13 Mar 2020 20:24:14 GMT</pubDate></item><item><title><![CDATA[Reply to Number expression as close folding point on Fri, 13 Mar 2020 19:59:22 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/andr%C3%A9-albuquerque" aria-label="Profile: andré-albuquerque">@<bdi>andré-albuquerque</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">I think that I found out a <strong>work-around</strong> :</p>
<p dir="auto">Simply use the value <strong><code>99999</code></strong> in the <strong>Close</strong> box, instead of <strong><code>999999</code></strong> ( or even <strong><code>99999 other</code></strong>, for <strong>testing</strong> )</p>
<p dir="auto">For instance, assuming the <strong>User Defined Language</strong> text, below :</p>
<pre><code class="language-z">bla blah
open
something
9
99
999
9999
99999
999999
other
bla blah
</code></pre>
<p dir="auto">Change the value <strong><code>99999</code></strong>, in the <strong>Close</strong> box, by <strong><code>9999</code></strong> and so on… till the value <strong><code>9</code></strong> and notice the <strong>ending</strong> line of folding ! <strong>Funny</strong>, isn’t it ?</p>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51377</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51377</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Fri, 13 Mar 2020 19:59:22 GMT</pubDate></item><item><title><![CDATA[Reply to Number expression as close folding point on Fri, 13 Mar 2020 15:46:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/andr%C3%A9-albuquerque" aria-label="Profile: André-Albuquerque">@<bdi>André-Albuquerque</bdi></a> said in <a href="/post/51364">Number expression as close folding point</a>:</p>
<blockquote>
<p dir="auto">Is it possible to use as an closing folding point an expression containing only numbers?</p>
</blockquote>
<p dir="auto">Apparently not.  At least, I can confirm with UDLv2.1.0.12 and NPP 7.8.4-64, if I define a UDL with Folding In Code 1 Open: <code>open</code> and Close: <code>999999 other</code>, then it folds to <code>other</code> rather than <code>999999</code>:<br />
<img src="/assets/uploads/files/1584114214516-62b263ea-7e7c-4ff5-b539-5d1dad078eb3-image.png" alt="62b263ea-7e7c-4ff5-b539-5d1dad078eb3-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">if I change the close to <code>x999999 other</code>, and add the <code>x</code> to the data row, it now correctly folds to the <code>x999999</code>:<br />
<img src="/assets/uploads/files/1584114328090-55d097f6-cb3a-428e-b081-8a1c068e33bb-image.png" alt="55d097f6-cb3a-428e-b081-8a1c068e33bb-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I can confirm the apparent limitation, but I don’t know how to get around that.  Sorry.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51371</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51371</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 13 Mar 2020 15:46:06 GMT</pubDate></item></channel></rss>