<?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[Fold by Indent]]></title><description><![CDATA[<p dir="auto">As I’ve worked with N++ and languages, I’ve noticed that it will automatically fold( and nest) some of the languages based on the indention.</p>
<p dir="auto">This feature is wonderful and I would like to use it when I have a command that I continue on multiple lines.</p>
<p dir="auto">I write in a non-standard language.  I already use UDL and love it.  Is this possible using UDL?  is there a plug-in that would do this?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/17974/fold-by-indent</link><generator>RSS for Node</generator><lastBuildDate>Sat, 12 Sep 2026 11:09:06 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/17974.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 19 Jul 2019 16:20:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fold by Indent on Mon, 22 Jul 2019 13:10:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/david-brigden" aria-label="Profile: David-Brigden">@<bdi>David-Brigden</bdi></a> said:</p>
<blockquote>
<p dir="auto">Guess I just leave those long lines alone manually wrap inside a region</p>
</blockquote>
<p dir="auto">Maybe I misunderstood.  Fold/nest (which I was talking about) implies the hiding of lines from a block structure, such as a c-function, like</p>
<pre><code>⊟ int blah(args) {
    int a = 1;
    int b = 2;
  }
⊟ double yo(args) {
    double a = 1;
    double b = 2;
  }
</code></pre>
<p dir="auto">being collapsed down to</p>
<pre><code>⊞ int blah(args) {
⊞ double yo(args) {
</code></pre>
<p dir="auto">Whereas “long lines … wrap” is a completely different setting (<strong>View &gt; Word Wrap</strong> or equivalent toolbar icon), and just converts</p>
<pre><code>13    Pretend this line... is very, very long
14    And another line
</code></pre>
<p dir="auto">into</p>
<pre><code>13    Pretend this line...
      is very, very long 
      (but now it is wrapped)
14    And another line
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/45535</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45535</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 22 Jul 2019 13:10:53 GMT</pubDate></item><item><title><![CDATA[Reply to Fold by Indent on Sun, 21 Jul 2019 18:19:59 GMT]]></title><description><![CDATA[<p dir="auto">That’s what I figured.   Guess I just leave those long lines alone manually wrap inside a region</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45528</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45528</guid><dc:creator><![CDATA[David Brigden]]></dc:creator><pubDate>Sun, 21 Jul 2019 18:19:59 GMT</pubDate></item><item><title><![CDATA[Reply to Fold by Indent on Fri, 19 Jul 2019 16:58:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/david-brigden" aria-label="Profile: David-Brigden">@<bdi>David-Brigden</bdi></a> said:</p>
<blockquote>
<p dir="auto">Is this possible using UDL? is there a plug-in that would do this?</p>
</blockquote>
<p dir="auto">As far as I know, UDL will not fold/nest based on indents, only on character sequences.  Though if someone can prove me wrong, great!</p>
<p dir="auto">It is possible to write a plugin to do that – because it’s theoretically possible to write your own lexer plugin. But I don’t know of any that already exist.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45490</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45490</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 19 Jul 2019 16:58:06 GMT</pubDate></item></channel></rss>