<?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[A few yes or no questions about Np++]]></title><description><![CDATA[<p dir="auto">Considering to use Np++ as my default text editor in Windows, which raised the following questions.</p>
<p dir="auto">Can the user set Np++ line wrap column width?<br />
Can Np++ perform the following,</p>
<p dir="auto">block search<br />
block sort<br />
block copy<br />
block cut<br />
block paste alongside another block while retaining the integrity of both blocks?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19895/a-few-yes-or-no-questions-about-np</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 08:56:10 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19895.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 23 Aug 2020 02:10:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to A few yes or no questions about Np++ on Thu, 17 Sep 2020 19:26:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/i-neuw" aria-label="Profile: I-neuw">@<bdi>I-neuw</bdi></a> said in <a href="/post/57037">A few yes or no questions about Np++</a>:</p>
<blockquote>
<p dir="auto">block search<br />
block sort<br />
block copy<br />
block cut</p>
</blockquote>
<p dir="auto">But, if we are considering the normal stream block here, instead of the aforementioned column block, then YES, all 4 of these operations are supported.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/57683</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/57683</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 17 Sep 2020 19:26:16 GMT</pubDate></item><item><title><![CDATA[Reply to A few yes or no questions about Np++ on Thu, 17 Sep 2020 19:09:31 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">block sort</p>
</blockquote>
<p dir="auto">Block sort is a problematic concept for the general case.<br />
Why?<br />
Because a block doesn’t always have a regular amount of characters in its width, like the nice, regular one Peter shows above.<br />
You could have a block selection like this:</p>
<p dir="auto"><img src="/assets/uploads/files/1600369706184-710e90d1-c413-4243-bf64-f2f11e9690af-image.png" alt="710e90d1-c413-4243-bf64-f2f11e9690af-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Where line 17 is an empty line.<br />
Not sure what a block sort should do to this type of situation.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/57681</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/57681</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 17 Sep 2020 19:09:31 GMT</pubDate></item><item><title><![CDATA[Reply to A few yes or no questions about Np++ on Mon, 24 Aug 2020 06:07:19 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> can’t thank you enough for the time you took to compose such a detailed response. This pretty much covers my concerns, and I am sure that the solution for my word wrap is out there. I use word wrapping for plain text composition, like articles, etc. So it’s no a big deal. It’s just easier to follow what I write.</p>
<p dir="auto">Column/block features are used for editing Wikisource/Wikipedia OCR generated text to  cleanup and separate collapsed columns.</p>
<p dir="auto">The  questions were based on the features used in  TextPad. Thanks again.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/57053</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/57053</guid><dc:creator><![CDATA[I neuw]]></dc:creator><pubDate>Mon, 24 Aug 2020 06:07:19 GMT</pubDate></item><item><title><![CDATA[Reply to A few yes or no questions about Np++ on Sun, 23 Aug 2020 17:52:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/i-neuw" aria-label="Profile: I-neuw">@<bdi>I-neuw</bdi></a> ,</p>
<blockquote>
<p dir="auto">Can the user set Np++ line wrap column width?</p>
</blockquote>
<p dir="auto">Probably not in the way that you want.  When you type beyond the last displayed column, if you have <strong>View &gt; Word Wrap</strong> enabled, it will <em>visually</em> wrap to another “line” of text, but it will not insert the true line ending characters, so the file itself still has only one line for that text.  Further, as my wording implied, it was accomplished by changing the window width, which probably isn’t what you want.  <em>However</em>, before you immediately dismiss Notepad++ because of the lack of this feature, you should know that one of the best things about Notepad++ is its extensibility: it has a full plugin interface, and there is likely a plugin that could accomplish that for you (another forum member will have to chime in if they know of one); if there isn’t, you can use a plugin like PythonScript to code up the behavior that you want (and forum members will often help with the PythonScript coding, especially if you show some effort to begin with)</p>
<p dir="auto">For the next questions, I am assuming that by “block ___”, you mean what Notepad++ calls “column mode”, or what other programs might call a “rectangular selection” as opposed to standard selections which grab the whole line if multiple lines are selected…</p>
<p dir="auto"><img src="/assets/uploads/files/1598205078507-693f9e15-a127-4a53-840f-17b43b359851-image.png" alt="693f9e15-a127-4a53-840f-17b43b359851-image.png" class=" img-fluid img-markdown" /></p>
<blockquote>
<p dir="auto">block search</p>
<p dir="auto">block sort</p>
</blockquote>
<p dir="auto">Not really.  Notepad++ can search inside the active selection, but that appears not to work with a column-mode selection.</p>
<p dir="auto">I vaguely remember that there may have been PythonScript solutions shown previously in the forum for how to search inside a column-mode or multiple/disjoint-selection text.</p>
<blockquote>
<p dir="auto">block copy<br />
block cut<br />
block paste alongside another block while retaining the integrity of both blocks?</p>
</blockquote>
<p dir="auto">These three are handled natively.  Hold down the <code>Alt</code> key while selecting your text to make the column-mode selection.  Then <code>^C</code>/<code>^X</code>/<code>^V</code> will do what seems reasonable: if you start with</p>
<pre><code>This is some text 
This is some text
This is some text
</code></pre>
<p dir="auto">and column-mode select all the <code>is some</code> and copy, then move one space beyond the first <code>text</code> and <code>^V</code>, it will end up with</p>
<pre><code>This is some text is some
This is some text is some
This is some text is some
</code></pre>
<p dir="auto">If you paste again, this time before the first <code>This</code>, you will end up with</p>
<pre><code>is someThis is some text is some
is someThis is some text is some
is someThis is some text is some
</code></pre>
<p dir="auto">If you made a new column-mode selection in there and pasted over it, it would paste over the block.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/57043</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/57043</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sun, 23 Aug 2020 17:52:48 GMT</pubDate></item></channel></rss>