<?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[Copy Line Without Line Feed]]></title><description><![CDATA[<p dir="auto">When highlighting/selecting a complete line by double clicking or clicking at the front of the line, it also selects the line feed at the end. Is there a setting or a way to allow selecting a complete line without the line feed?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/15859/copy-line-without-line-feed</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 20:19:42 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/15859.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 Jun 2018 15:20:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Copy Line Without Line Feed on Sat, 02 Jun 2018 12:37:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a></p>
<p dir="auto">Ha!  Of course you are right.  I now notice in my <strong>Macro</strong> menu that I have something called “<em>Select current line without EOL</em>”.  Opening <strong>shortcuts.xml</strong> I see that it is defined as follows:</p>
<pre><code>    &lt;Macro name="Select current line without EOL" Ctrl="no" Alt="no" Shift="no" Key="0"&gt;
        &lt;Action type="0" message="2453" wParam="0" lParam="0" sParam="" /&gt;
        &lt;Action type="0" message="2453" wParam="0" lParam="0" sParam="" /&gt;
        &lt;Action type="0" message="2345" wParam="0" lParam="0" sParam="" /&gt;
        &lt;Action type="0" message="2315" wParam="0" lParam="0" sParam="" /&gt;
        &lt;Action type="0" message="2315" wParam="0" lParam="0" sParam="" /&gt;
    &lt;/Macro&gt;
</code></pre>
<p dir="auto">I’m not going to look it up, but I will wager that these are exactly the 5 command steps that you outlined directly above.  What this all means is…I’m sure we’ve discussed this before in the Community!  And, of course, <a href="https://notepad-plus-plus.org/community/topic/12525/replace-current-line-without-inserting-a-new-line" rel="nofollow ugc">that</a> turns out to be true… :-D</p>
<p dir="auto">Time for a FAQ Desk about this?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32688</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32688</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Sat, 02 Jun 2018 12:37:08 GMT</pubDate></item><item><title><![CDATA[Reply to Copy Line Without Line Feed on Sat, 02 Jun 2018 13:03:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/adam-brannon" aria-label="Profile: adam-brannon">@<bdi>adam-brannon</bdi></a> , <a class="plugin-mentions-user plugin-mentions-a" href="/user/scott-sumner" aria-label="Profile: scott-sumner">@<bdi>scott-sumner</bdi></a> and <strong>All</strong>,</p>
<p dir="auto"><strong>Scoot</strong>, I did some tests, also considering the case of an <strong>indented</strong> line, which is <strong>wrapped</strong> in <strong>several</strong> physical lines, with the cursor on the <strong>first</strong> physical line OR on the <strong>following</strong> ones !</p>
<hr />
<p dir="auto">And , to my mind, the best way, by macro, to select any <strong>complete</strong> line, without its <strong>End of Line</strong> chars, whatever the <strong>cursor</strong> location , with the <strong>default</strong> N++ shortcuts, should be <strong>any</strong> of the <strong><code>5</code></strong> shortcuts <strong>sequences</strong>, below :</p>
<p dir="auto"><strong><code>Alt + Home</code></strong> , <strong><code>Home</code></strong>, <strong><code>Home</code></strong>, <strong><code>Shift + End</code></strong>, <strong><code>Shift + End</code></strong></p>
<p dir="auto"><strong><code>Home</code></strong>, <strong><code>Home</code></strong>, <strong><code>Alt + Home</code></strong> , <strong><code>Shift + End</code></strong>, <strong><code>Shift + End</code></strong>  ( Thanks to <strong>Scott</strong> )</p>
<p dir="auto">If you also want to select its <strong>line-break</strong>, simply add the <strong><code>Shift + Right Arrow</code></strong> shortcut</p>
<hr />
<p dir="auto">I tested this sequence with :</p>
<ul>
<li>
<p dir="auto">A single line <strong>non</strong>-indented</p>
</li>
<li>
<p dir="auto">A single line, <strong>indented</strong></p>
</li>
<li>
<p dir="auto">A <strong>multi</strong>-lines <strong>non</strong>-indented</p>
</li>
<li>
<p dir="auto">A <strong>multi</strong>-lines <strong>indented</strong></p>
</li>
</ul>
<p dir="auto">I tried <strong>with</strong> and <strong>w/o</strong> the menu option <strong><code>View &gt; Word wrap</code></strong>  and with each case of <strong>Line Wrap</strong>, in <strong><code>Settings &gt; Preferences...&gt; Editing</code></strong> ( <strong>Default</strong>, <strong>Aligned</strong> and <strong>Indent</strong> )</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32687</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32687</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sat, 02 Jun 2018 13:03:23 GMT</pubDate></item><item><title><![CDATA[Reply to Copy Line Without Line Feed on Fri, 01 Jun 2018 17:27:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/adam-brannon" aria-label="Profile: Adam-Brannon">@<bdi>Adam-Brannon</bdi></a></p>
<p dir="auto">Many people will argue that it is not a (complete) “line” without a line-ending on it (and I would tend to agree with that definition), thus when you triple (not double!) click a line, it <em>should</em> select contents plus line-ending.</p>
<p dir="auto">The workflow can actually be improved by the macro approach…you could add the “copy” to it for reduced action count if you do this often.  I think the complaint with the workflow you made might be because you have to do something different than what you are used to doing.</p>
<p dir="auto">I think the “HOME -&gt; HOME -&gt; SHIFT-END” approach has a slight flaw–depending upon where the caret is on the line when this is invoked, you might end up not getting the entire desired text selected (hint: try the sequence with the caret right on the first non-whitespace character of an indented line).  This assumes that the Home key is mapped to its default setting (and of course same for Shift+End).  Better would be a single press of Alt+Home (again, default kemapping) followed by the Shift+End.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32671</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32671</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Fri, 01 Jun 2018 17:27:11 GMT</pubDate></item><item><title><![CDATA[Reply to Copy Line Without Line Feed on Fri, 01 Jun 2018 16:30:37 GMT]]></title><description><![CDATA[<p dir="auto">Tried that and it works, giving me a workaround. I was hoping there was a setting that changed the default of copying the ‘complete’ line with CR/LF to just copying the text without. It becomes about workflow and needing to add extra keystrokes to get the job done instead of just clicking at the front of the line and pressing Ctrl-C quickly.  Maybe a “New Feature” request?? LOL</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32670</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32670</guid><dc:creator><![CDATA[Adam Brannon]]></dc:creator><pubDate>Fri, 01 Jun 2018 16:30:37 GMT</pubDate></item><item><title><![CDATA[Reply to Copy Line Without Line Feed on Fri, 01 Jun 2018 15:54:53 GMT]]></title><description><![CDATA[<p dir="auto">You could record a macro that does HOME -&gt; HOME -&gt; SHIFT-END and assign it a hot key. The first HOME brings it to the first non-whitespace character in the line, the second HOME will bring it to zero column.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/32668</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/32668</guid><dc:creator><![CDATA[cipher-1024]]></dc:creator><pubDate>Fri, 01 Jun 2018 15:54:53 GMT</pubDate></item></channel></rss>