<?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[How to prevent re-alignment of lines]]></title><description><![CDATA[<p dir="auto">When editing, I find that NPP’s re-alignment of lines is very irritating. I’ve not found a way to turn it off, but hopefully there is a way, and someone can tell me how to do so. Here is an example:</p>
<p dir="auto"><img src="/assets/uploads/files/1735296821253-ca0e351d-f6c4-4262-8ff1-27fda116569f-image.png" alt="ca0e351d-f6c4-4262-8ff1-27fda116569f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">(Note that this doesn’t just affect Powershell’s .ps1 files, but as far as I can tell, it affects all languages.)</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/26504/how-to-prevent-re-alignment-of-lines</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Nov 2026 11:09:56 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/26504.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 Dec 2024 10:56:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to prevent re-alignment of lines on Fri, 27 Dec 2024 16:28:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/graham-norris" aria-label="Profile: Graham-Norris">@<bdi>Graham-Norris</bdi></a> said :</p>
<blockquote>
<p dir="auto">Hopefully someone else does.</p>
</blockquote>
<p dir="auto">Yes.  But yours is such an oddball problem, I have doubts.</p>
<p dir="auto">Are you using any unusual plugin?<br />
Can you post your <em>Debug Info</em> here?<br />
See Notepad++'s <code>?</code> menu for how to obtain that.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/98784</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98784</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 27 Dec 2024 16:28:31 GMT</pubDate></item><item><title><![CDATA[Reply to How to prevent re-alignment of lines on Fri, 27 Dec 2024 16:19:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> Yes, fine, it doesn’t happen for you. It also appears you have no idea what controls it. Hopefully someone else does.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/98783</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98783</guid><dc:creator><![CDATA[Graham Norris]]></dc:creator><pubDate>Fri, 27 Dec 2024 16:19:31 GMT</pubDate></item><item><title><![CDATA[Reply to How to prevent re-alignment of lines on Fri, 27 Dec 2024 14:40:21 GMT]]></title><description><![CDATA[<p dir="auto">Selection before copying:<br />
<img src="/assets/uploads/files/1735310247156-028c5638-eeab-493e-a734-785b9f7c2f12-image.png" alt="028c5638-eeab-493e-a734-785b9f7c2f12-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">After pasting:<br />
<img src="/assets/uploads/files/1735310277191-d0ae5473-f950-4f43-bee5-952e364ade1a-image.png" alt="d0ae5473-f950-4f43-bee5-952e364ade1a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">After selecting $b=2 line:<br />
<img src="/assets/uploads/files/1735310306983-c8512c24-8da5-495f-bed0-5a08dc87f6ab-image.png" alt="c8512c24-8da5-495f-bed0-5a08dc87f6ab-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">After pressing Enter:<br />
<img src="/assets/uploads/files/1735310328405-3c5acbdf-1b47-4a4f-b721-27f71834a9dd-image.png" alt="3c5acbdf-1b47-4a4f-b721-27f71834a9dd-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/98778</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98778</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 27 Dec 2024 14:40:21 GMT</pubDate></item><item><title><![CDATA[Reply to How to prevent re-alignment of lines on Fri, 27 Dec 2024 13:22:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> said in <a href="/post/98773">How to prevent re-alignment of lines</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/graham-norris" aria-label="Profile: Graham-Norris">@<bdi>Graham-Norris</bdi></a></p>
<p dir="auto">Here’s my result:</p>
</blockquote>
<blockquote>
<p dir="auto">Note that my line 8 doesn’t look like yours, but you didn’t explain exactly how you achieved your result, so…<br />
about all I can say is that Notepad++ does NOT strip whitespace or anything else upon pasting.</p>
<p dir="auto">My head hurts when I read your comments on your lines 12-15 (i.e., I can’t follow it), so I can’t talk at all on what might be happening there for you.</p>
</blockquote>
<p dir="auto">Thank you for replying. Your result does suggest there is a setting somewhere which affects this. It is just a matter of finding it.</p>
<p dir="auto">I’m not sure how to make what I did for the second any clearer. Just do each thing one step at a time:</p>
<ol>
<li>Do a copy and paste.</li>
<li>Manually fix loss of indentation of the first pasted line.</li>
<li>Replace the second line with just Return (an empty line.) Maybe that isn’t clear enough: a) select the line, b) press Return. 2nd line is now empty, but still there. 3rd line has lost its indentation.</li>
</ol>
]]></description><link>https://community.notepad-plus-plus.org/post/98777</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98777</guid><dc:creator><![CDATA[Graham Norris]]></dc:creator><pubDate>Fri, 27 Dec 2024 13:22:50 GMT</pubDate></item><item><title><![CDATA[Reply to How to prevent re-alignment of lines on Fri, 27 Dec 2024 12:25:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/graham-norris" aria-label="Profile: Graham-Norris">@<bdi>Graham-Norris</bdi></a></p>
<p dir="auto">Here’s my result:</p>
<p dir="auto"><img src="/assets/uploads/files/1735302072002-f85886df-c8ec-4d2e-879b-6d2ea5cb9d9b-image.png" alt="f85886df-c8ec-4d2e-879b-6d2ea5cb9d9b-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Note that my line 8 doesn’t look like yours, but you didn’t explain exactly how you achieved your result, so…<br />
about all I can say is that Notepad++ does NOT strip whitespace or anything else upon pasting.</p>
<p dir="auto">My head hurts when I read your comments on your lines 12-15 (i.e., I can’t follow it), so I can’t talk at all on what might be happening there for you.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/98773</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/98773</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 27 Dec 2024 12:25:51 GMT</pubDate></item></channel></rss>