<?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[Bug report: Indented and aligned carriage return not working]]></title><description><![CDATA[<p dir="auto">I wanted to report a problem I encountered with word wrapping that doesn’t work as expected if aligned and indented word wrapping is set in the settings. In both cases the carriage return is made at the beginning of each line.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/25189/bug-report-indented-and-aligned-carriage-return-not-working</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 11:29:03 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25189.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Nov 2023 10:09:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bug report: Indented and aligned carriage return not working on Thu, 30 Nov 2023 16:50:41 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> That check auto-indent was disabled, the problem is solved. Thank you so much for your help and your patience</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90881</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90881</guid><dc:creator><![CDATA[MattexD]]></dc:creator><pubDate>Thu, 30 Nov 2023 16:50:41 GMT</pubDate></item><item><title><![CDATA[Reply to Bug report: Indented and aligned carriage return not working on Thu, 30 Nov 2023 16:42:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mattexd" aria-label="Profile: MattexD">@<bdi>MattexD</bdi></a> ,</p>
<p dir="auto">We cannot guess what you are doing differently.  Automatic indentation is on by default and works correctly in Notepad++ under normal circumstances.</p>
<p dir="auto">You might want to try to download the official portable zip and trying your experiment in that, without making any settings changes.  If the portable works right for you, but your installed copy does not, then there is some difference in your settings which is causing the problem.  If you have the same problem in the portable copy, then tell us the <em>exact</em> steps you used when showing the problem, so that we can try to replicate under the same circumstances.</p>
<p dir="auto"><em>update: here’s a screencap of it working for me with a portable v8.6</em><br />
<img src="https://i.imgur.com/L5FJzwm.gif" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto"><em>update 2: I also noticed that you’re editing a .txt file, but interpreting it as C++ Source.  You might want to see if you have the same problem if you name the file .cpp as is usual for C++ source code.</em></p>
]]></description><link>https://community.notepad-plus-plus.org/post/90880</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90880</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 30 Nov 2023 16:42:53 GMT</pubDate></item><item><title><![CDATA[Reply to Bug report: Indented and aligned carriage return not working on Thu, 30 Nov 2023 15:45:35 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> I tried to check both things but it still doesn’t work correctly, in fact it doesn’t respect the correct indentation</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90879</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90879</guid><dc:creator><![CDATA[MattexD]]></dc:creator><pubDate>Thu, 30 Nov 2023 15:45:35 GMT</pubDate></item><item><title><![CDATA[Reply to Bug report: Indented and aligned carriage return not working on Thu, 30 Nov 2023 14:30:01 GMT]]></title><description><![CDATA[<p dir="auto">BTW, I made my previous comment based on Notepad++ default setup, which is <em>Auto Indent</em> checkmarked.</p>
<p dir="auto">If users turn this off at some point in their usage of Notepad++, do we really have to help them figure out that they should turn it back on?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90878</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90878</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 30 Nov 2023 14:30:01 GMT</pubDate></item><item><title><![CDATA[Reply to Bug report: Indented and aligned carriage return not working on Thu, 30 Nov 2023 14:10:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mattexd" aria-label="Profile: MattexD">@<bdi>MattexD</bdi></a> said in <a href="/post/90870">Bug report: Indented and aligned carriage return not working</a>:</p>
<blockquote>
<p dir="auto">as you can see, despite it being an image, when wrapping the indicator it returns right to the beginning of the line and not just below the instruction</p>
</blockquote>
<p dir="auto">The <strong><a href="https://npp-user-manual.org/docs/preferences/#editing" rel="nofollow ugc">Settings &gt; Preferences &gt; Editing</a> &gt; Line Wrap</strong> settings you are showing in your screenshots are <em>not</em> the feature you are describing.  Those settings affect the visual display of long lines when you have <strong><a href="https://npp-user-manual.org/docs/views/#wrapping" rel="nofollow ugc">View &gt; Word Wrap</a></strong> enabled.</p>
<p dir="auto">But you have implied that what you really want is for a line to automatically indent when you hit ENTER after a line that was already indented – like when you hit ENTER after line 62 to create line 63 in your second screenshot.  If I have interpreted you correctly, then what you want is the Auto-Indent feature, which is found at <strong><a href="https://npp-user-manual.org/docs/preferences/#auto-completion" rel="nofollow ugc">Settings &gt; Preferences &gt; Auto-Completion</a> &gt; <code>☐ Auto-indent</code></strong>.  If that option is checkmarked, the Notepad++ will automatically indent when you hit ENTER</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90877</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90877</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 30 Nov 2023 14:10:47 GMT</pubDate></item><item><title><![CDATA[Reply to Bug report: Indented and aligned carriage return not working on Thu, 30 Nov 2023 11:03:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mattexd" aria-label="Profile: MattexD">@<bdi>MattexD</bdi></a> said in <a href="/post/90870">Bug report: Indented and aligned carriage return not working</a>:</p>
<blockquote>
<p dir="auto">when wrapping the indicator it returns right to the beginning of the line and not just below the instruction</p>
</blockquote>
<p dir="auto">If I try a similar thing with a C language document, it doesn’t do that; my caret after <em>Enter</em> is indented one tab width.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90874</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90874</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 30 Nov 2023 11:03:59 GMT</pubDate></item><item><title><![CDATA[Reply to Bug report: Indented and aligned carriage return not working on Thu, 30 Nov 2023 08:49:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mkupper" aria-label="Profile: mkupper">@<bdi>mkupper</bdi></a> I wanted to make a small film but I’ll settle for.<br />
The example is on the second struct</p>
<p dir="auto"><img src="/assets/uploads/files/1701334009069-screenshot-2023-11-30-094224-resized.png" alt="Screenshot 2023-11-30 094224.png" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1701334010067-screenshot-2023-11-30-094240-resized.png" alt="Screenshot 2023-11-30 094240.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">as you can see, despite it being an image, when wrapping the indicator it returns right to the beginning of the line and not just below the instruction</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90870</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90870</guid><dc:creator><![CDATA[MattexD]]></dc:creator><pubDate>Thu, 30 Nov 2023 08:49:35 GMT</pubDate></item><item><title><![CDATA[Reply to Bug report: Indented and aligned carriage return not working on Wed, 29 Nov 2023 18:26:39 GMT]]></title><description><![CDATA[<p dir="auto">Perhaps <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/5625" rel="nofollow ugc">THIS ISSUE</a> is relevant?  It’s all a guessing game until OP provides more information.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90860</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90860</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 29 Nov 2023 18:26:39 GMT</pubDate></item><item><title><![CDATA[Reply to Bug report: Indented and aligned carriage return not working on Wed, 29 Nov 2023 18:04:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mattexd" aria-label="Profile: MattexD">@<bdi>MattexD</bdi></a> said in <a href="/post/90848">Bug report: Indented and aligned carriage return not working</a>:</p>
<blockquote>
<p dir="auto">I wanted to report a problem I encountered with word wrapping that doesn’t work as expected if aligned and indented word wrapping is set in the settings. In both cases the carriage return is made at the beginning of each line.</p>
</blockquote>
<p dir="auto">You need to provide far more information such as the steps you used to reproduce, screen shots. Please keep in mind that people can’t read your mind and so don’t know what you “expected.”  Notepad++ may well be working exactly as designed and does what its average users expect.</p>
<p dir="auto">That said, there are quirks with both the <code>Enter</code> and <code>Tab</code> keys where indentation chosen by Notepad++ sometimes surprises me. For me, if I have a tab-indented paragraph:</p>
<pre><code class="language-txt">	Lorem ipsum dolor sit amet, consectetur adipiscing elit,
	sed do eiusmod tempor incididunt ut labore et dolore 
	magna aliqua.▯
</code></pre>
<p dir="auto">The cursor is on the <code>▯</code>.  I press <code>Enter</code> and see that Notepad++ keeps the indentation as expected:</p>
<pre><code class="language-txt">	Lorem ipsum dolor sit amet, consectetur adipiscing elit,
	sed do eiusmod tempor incididunt ut labore et dolore 
	magna aliqua.
	▯
</code></pre>
<p dir="auto">I go away, work on other files, and later am back in this area though this time I have the cursor at the beginning of the line.</p>
<pre><code class="language-txt">	Lorem ipsum dolor sit amet, consectetur adipiscing elit,
	sed do eiusmod tempor incididunt ut labore et dolore 
	magna aliqua.
▯	
</code></pre>
<p dir="auto">I don’t see that there is a tab after the cursor, I  press <code>Tab</code> to indent and am surprised by the extra indent.</p>
<pre><code class="language-txt">	Lorem ipsum dolor sit amet, consectetur adipiscing elit,
	sed do eiusmod tempor incididunt ut labore et dolore 
	magna aliqua.
		▯
</code></pre>
<p dir="auto">Notepad++ worked correctly but did not read my mind… :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90858</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90858</guid><dc:creator><![CDATA[mkupper]]></dc:creator><pubDate>Wed, 29 Nov 2023 18:04:54 GMT</pubDate></item><item><title><![CDATA[Reply to Bug report: Indented and aligned carriage return not working on Wed, 29 Nov 2023 11:21:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: Terry-R">@<bdi>Terry-R</bdi></a> Ohh sorry I’m new here I’ll be more careful next time.<br />
Here is the information:<br />
Notepad++ v8.6 (64-bit)<br />
Build time: Nov 23 2023 - 16:58:44<br />
Path : C:\Program Files\Notepad++\notepad++.exe<br />
Command Line:<br />
Admin mode : OFF<br />
Local Conf mode : OFF<br />
Cloud Config : OFF<br />
OS Name : Windows 11 Home (64-bit)<br />
OS Version: 23H2<br />
OS Build: 22631.2715<br />
Current ANSI code page: 1252<br />
Plugins:<br />
mimeTools (2.9)<br />
NppConverter (4.5)<br />
NppExport (0.4)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90855</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90855</guid><dc:creator><![CDATA[MattexD]]></dc:creator><pubDate>Wed, 29 Nov 2023 11:21:08 GMT</pubDate></item><item><title><![CDATA[Reply to Bug report: Indented and aligned carriage return not working on Wed, 29 Nov 2023 11:01:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mattexd" aria-label="Profile: MattexD">@<bdi>MattexD</bdi></a></p>
<p dir="auto">This sounds to me like a long-known issue that I could take some time and go over to my copy of Notepad++ and try to remember the exact circumstances and then reproduce the problem and then come back here and type all about it…</p>
<p dir="auto">But you’ve already done that, you just don’t show (e.g. screenshot) the example that you are currently looking at on your screen.  So why don’t you do that, and then others will have a better idea on how to comment on it.</p>
<p dir="auto">Overall I think what will come out of this is “that’s how Scintilla does it” (Scintilla being an external project editing component that Notepad++ integrates), and it would have to be reported to the folks that manage that project, to see if they’d make a change to it.</p>
<p dir="auto">But, first things first… more information…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90851</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90851</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 29 Nov 2023 11:01:23 GMT</pubDate></item><item><title><![CDATA[Reply to Bug report: Indented and aligned carriage return not working on Wed, 29 Nov 2023 10:26:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mattexd" aria-label="Profile: MattexD">@<bdi>MattexD</bdi></a></p>
<p dir="auto">Be aware we have a FAQ post <a href="https://community.notepad-plus-plus.org/topic/15741/faq-feature-request-or-bug-report">here</a> that refers you to github for postings bugs. Read it first, but before posting there, could you expand with your debug info, under the ? Menu, copy and paste it here.</p>
<p dir="auto">Possibly try the same situation without any plug-ins running. That FAQ post is <a href="https://community.notepad-plus-plus.org/topic/23146/faq-notepad-crashes-freezes-unresponsive-after-update">here</a>. Although you don’t have a crash issue, it helps you to understand how to run without all or some plug-ins. Possibly the issue lies with a plug-in rather than Notepad++ and this will help narrow it down.</p>
<p dir="auto">If you do get other members supporting your theory (so do post that additional info here), and they will help identify it if you can do some of this work, all this detail goes into that bug post on github.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90850</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90850</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 29 Nov 2023 10:26:20 GMT</pubDate></item></channel></rss>