<?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[Tab replaces all leading spaces]]></title><description><![CDATA[<p dir="auto">If a line begins with some spaces, and I press Tab in this space area, the spaces are replaced with the needed number of Tabs.<br />
My tab size is 8.</p>
<p dir="auto">How can I avoid this ? I should like to insert the Tab, and leave the spaces intact.</p>
<p dir="auto">…</p>
<p dir="auto">Using Windpows 10,</p>
<p dir="auto">Misc / Auto indent is Disabled.</p>
<p dir="auto">Notepad++ v7.6.6   (32-bit)<br />
Build time : Apr  3 2019 - 23:49:50<br />
Path : C:\Program Files (x86)\Notepad++\notepad++.exe<br />
Admin mode : OFF<br />
Local Conf mode : OFF<br />
OS : Windows 10 (64-bit)<br />
Plugins : combine.dll ComparePlugin.dll DSpellCheck.dll HexEditor.dll LocationNavigate.dll mimeTools.dll NppBookmarkManager.dll NppCalc.dll NppConverter.dll NppExport.dll NppSaveAsAdmin.dll PluginManager.dll</p>
<p dir="auto">The same happens in a portable installation, when only the default plugins appear, every setting is default, nothing modified:</p>
<p dir="auto">Notepad++ v7.6.6   (32-bit)<br />
Build time : Apr  3 2019 - 23:49:50<br />
Path : D:\Xnap\DOWNLOAD\NNNN\notepad++.exe<br />
Admin mode : OFF<br />
Local Conf mode : ON<br />
OS : Windows 10 (64-bit)<br />
Plugins : mimeTools.dll NppConverter.dll NppExport.dll</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/17625/tab-replaces-all-leading-spaces</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 01:03:34 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/17625.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 May 2019 16:38:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tab replaces all leading spaces on Wed, 15 May 2019 14:06:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> said:</p>
<blockquote>
<p dir="auto">how should a program know this beforehand</p>
</blockquote>
<p dir="auto">I’m not following this thread super-closely because in my now 3 decades of software development, the coding standard has been to never allow the use of actual tab characters in source files.  But I would think it should replicate the indentation exactly of the line-above, but let the user then edit that and leave it the way the user changes it…but I am too dumb about it to continue talking… :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43351</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43351</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 15 May 2019 14:06:55 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Wed, 15 May 2019 14:01:06 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></p>
<p dir="auto">:-D, but if you like to insert spaces and tabs like YOU want, how should a program know this beforehand??</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43349</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43349</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Wed, 15 May 2019 14:01:06 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Wed, 15 May 2019 13:58:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> said:</p>
<blockquote>
<p dir="auto">this might happen if you have autoindent enabled but this doesn’t make<br />
sense in this case,</p>
</blockquote>
<p dir="auto">I’m going out on a limb to say that if one is coding, and autoindent is NOT turned on, N++ is too painful to  use. :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43347</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43347</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 15 May 2019 13:58:50 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Wed, 15 May 2019 13:51:26 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>
<blockquote>
<p dir="auto">your Python work-around isn’t completely useful, too. Indeed, as soon as you hit the Enter key, the default N++ behavior occurs and changes most of the space characters to tabulation chars :-(</p>
</blockquote>
<p dir="auto">does not happen to me.<br />
If i hit enter the line stays as it was but if you refer to the next line, then yes,<br />
this might happen if you have <strong>autoindent</strong> enabled but this doesn’t make<br />
sense in this case, doesn’t it?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43344</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43344</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Wed, 15 May 2019 13:51:26 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Wed, 15 May 2019 12:25:43 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">…Alt numpad 09 tip…</p>
</blockquote>
<p dir="auto">It may be worth pointing out that one can easily insert a tab character, without pressing Tab or using the numpad technique, from the <em>ASCII Insertion Panel</em>.  Make that panel visible from the <em>Edit</em> menu by choosing <em>Character Panel</em>.  Double-clicking any line in that panel inserts the clicked-on character.  Useful for others besides tab obviously (although limited to “ASCII” characters).</p>
<p dir="auto">This panel is also a handy reference when you see “black boxed” characters in your (mostly text) file and you’re wanting to know their binary values (perhaps on your way to figuring out how/why they got into your file).  You simply mentally note the text inside the black box and compare it to the <em>Character</em> column values on the panel…but let’s not go too far down this road as N++ is a text file editor, not a binary file editor.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43340</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43340</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 15 May 2019 12:25:43 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Wed, 15 May 2019 07:11:20 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the Alt numpad 09 tip, it can also be used in in my original issue, without any extra plugin.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43331</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43331</guid><dc:creator><![CDATA[László Botka]]></dc:creator><pubDate>Wed, 15 May 2019 07:11:20 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Wed, 15 May 2019 06:53:41 GMT]]></title><description><![CDATA[<p dir="auto">Many thanks to everyone for their help</p>
<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">The TabIndentSpaceAlign plugin works fine with Alt numpad 09 in the “code” part.<br />
But it’s complicate to press, and I’m sure I will sometimes press Tab and don’t notice when I write fast.<br />
…<br />
I found the <strong>solution</strong>:<br />
If I use  <strong>Ctrl V to  Insert Tab</strong> (instead of pressing Tab), the  result will be what I want: Tabs will be stored as Tab characters, Spaces will be stored as Space characters everywhere.</p>
<p dir="auto">[ To achieve this, I already have a hotkey defined with Ditto, an extension to the Windows Clipboard. I use it regularly, to insert a Tab character into the 'Find what" field, searching in Normal mode in the Ctrl+F “Find window”. ]</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43330</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43330</guid><dc:creator><![CDATA[László Botka]]></dc:creator><pubDate>Wed, 15 May 2019 06:53:41 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Tue, 14 May 2019 22:35:33 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/l%C3%A1szl%C3%B3-botka" aria-label="Profile: lászló-botka">@<bdi>lászló-botka</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/dinkumoil" aria-label="Profile: dinkumoil">@<bdi>dinkumoil</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: ekopalypse">@<bdi>ekopalypse</bdi></a>, and <strong>All</strong>,</p>
<p dir="auto">Have a look to the article, below :</p>
<p dir="auto"><a href="https://stackoverflow.com/questions/13973255/notepad-keeping-spaces-in-indent" rel="nofollow ugc">https://stackoverflow.com/questions/13973255/notepad-keeping-spaces-in-indent</a></p>
<p dir="auto">Answering to @ellak, the OP, @zennehoy, said something quite <strong>pertinent</strong> :</p>
<blockquote>
<p dir="auto">We follow the principle that tabs are used for indentation, and spaces are used for alignment. This allows everyone to choose an indentation size they like, without running into misalignment issues when different people use different indentation sizes. The front two tabs are indentation, the spaces, [coming after], are alignment.</p>
</blockquote>
<hr />
<p dir="auto"><strong>Indenting</strong> problem is rather <strong>complex</strong> :</p>
<ul>
<li>
<p dir="auto">It depends on the key pressed ( <strong><code>Tab</code></strong> or <strong><code> Shift + Tab</code></strong> )</p>
</li>
<li>
<p dir="auto">It depends on the position of cursor ( in the <strong>“indentation”</strong> part or in the <strong>“code”</strong> part )</p>
</li>
<li>
<p dir="auto">It may depends of the character <strong>right before</strong> the cursor location ( a <strong><code>Tab</code></strong> character, a <strong><code>Space</code></strong> character or any <strong>other</strong> char )</p>
</li>
</ul>
<p dir="auto">As for the <strong>indentation</strong> part of the <strong>next</strong> line, when hitting the <strong><code>Enter</code></strong> key :</p>
<ul>
<li>
<p dir="auto">It may be changed into a complete <strong>space</strong> characters area</p>
</li>
<li>
<p dir="auto">It may be changed into a complete <strong>tab</strong> characters area, with additional <strong>space</strong> chars to respect the <strong>tabstops</strong></p>
</li>
<li>
<p dir="auto">It may <strong>fully</strong> copy the <strong>precedent</strong> indentation, <strong>without</strong> any modification</p>
</li>
</ul>
<hr />
<p dir="auto">I tested on N++ <strong><code>v7.6.3</code></strong>, both, the <strong><code>Elastic Tabstops</code></strong> and <strong><code>TabIndentSpaceAlign</code></strong> plugins. To install them :</p>
<ul>
<li>
<p dir="auto">Click on the <strong><code>Plugins &gt; Open Plugins Folder..</code></strong> option</p>
</li>
<li>
<p dir="auto">Create a <strong>folder</strong> <strong><code>TabIndentSpaceAlign</code></strong> and/or a folder <strong><code>ElasticTabstops</code></strong></p>
</li>
<li>
<p dir="auto"><strong>Stop</strong> any Notepad++ instance</p>
</li>
<li>
<p dir="auto">Place the downloaded <strong><code>dll</code></strong> files, inside its <strong>respective</strong> folder</p>
</li>
<li>
<p dir="auto">Restart N++</p>
</li>
</ul>
<p dir="auto">After some tests, it happened that the <strong><code>Elastic Tabstops</code></strong> is not suitable for your problem as it is rather used to <strong>align</strong> areas of text, in columns, separated with <strong>tabulation</strong> character(s), with <strong>elastic</strong> tabstops, which may be converted, later, in <strong>physical space</strong> characters</p>
<p dir="auto">Unfortunately, <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: ekopalypse">@<bdi>ekopalypse</bdi></a>, your <strong>Python</strong> work-around isn’t completely <strong>useful</strong>, too. Indeed, as soon as you hit the <strong><code>Enter</code></strong> key, the <strong>default</strong> N++ behavior occurs and changes most of the <strong><code>space</code></strong> characters to <strong><code>tabulation</code></strong> chars :-(</p>
<p dir="auto">So, <a class="plugin-mentions-user plugin-mentions-a" href="/user/l%C3%A1szl%C3%B3-botka" aria-label="Profile: lászló-botka">@<bdi>lászló-botka</bdi></a>, I do think that the <strong>best</strong>, for you, would be to install the <strong><code>TabIndentSpaceAlign</code></strong> plugin ;-))</p>
<hr />
<p dir="auto">Once the <strong><code>TabIndentSpaceAlign</code></strong> plugin <strong>enabled</strong> :</p>
<ul>
<li>
<p dir="auto">A hit on the <strong><code>Tab</code></strong> key, in the <strong>“indentation”</strong> part of a line :</p>
<ul>
<li>
<p dir="auto">Adds a <strong><code>Tabulation</code></strong> character, if the <strong>previous</strong> character was a <strong><code>Tabulation</code></strong> character ( of <strong><code>N</code> space</strong> size )</p>
</li>
<li>
<p dir="auto">Adds <strong><code>N</code> space</strong> character(s) or less, if the <strong>previous</strong> characters was a <strong><code>space</code></strong> character</p>
</li>
</ul>
</li>
<li>
<p dir="auto">A hit on the <strong><code>Tab</code></strong> key, in the <strong>“code”</strong> part of a line :</p>
<ul>
<li>Adds <strong><code>N</code> space</strong> character(s) or less, in <strong>all</strong> cases ( Hold down the <strong><code>Alt</code></strong> key and hit , <strong>successively</strong>, on keys <strong><code>0</code></strong> and <strong><code>9</code></strong>, of the <strong>numeric</strong> keypad, if you really want to insert a <strong>tabulation</strong> character )</li>
</ul>
</li>
</ul>
<hr />
<ul>
<li>
<p dir="auto">A hit on the <strong><code>Shift + Tab</code></strong> key, in the <strong>indentation</strong> part of a line :</p>
<ul>
<li>
<p dir="auto">Remove the <strong>previous</strong>  <strong><code>Tabulation</code></strong> character, <strong>right before</strong> the cursor location</p>
</li>
<li>
<p dir="auto">Remove all the <strong>previous</strong> area of <strong>space</strong> character(s), <strong>right before</strong> the cursor location</p>
</li>
</ul>
</li>
<li>
<p dir="auto">A hit on the <strong><code>Shift + Tab</code></strong> key, in the <strong>code</strong> part of a line :</p>
<ul>
<li>Simply <strong>move</strong> the cursor on the <strong>previous tabstop</strong>, whatever its location, without <em>deleting</em>* anything</li>
</ul>
</li>
</ul>
<hr />
<ul>
<li>A hit on the <strong><code>Enter</code></strong> key rewrites the <strong>exact indentation</strong> part of the <strong>current</strong> line in the <strong>next</strong> line</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43328</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43328</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 14 May 2019 22:35:33 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Tue, 14 May 2019 20:34:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/l%C3%A1szl%C3%B3-botka" aria-label="Profile: László-Botka">@<bdi>László-Botka</bdi></a></p>
<p dir="auto">there is a way to work around it, but it involves a scripting plugin.<br />
One would need to set tab indents attribute to false for each buffer which gets activated.<br />
I hope I understood your request correctly.</p>
<p dir="auto"><img src="https://i.imgur.com/Vxf2XFW.png" alt="" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/43326</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43326</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 14 May 2019 20:34:32 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Tue, 14 May 2019 19:59:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dinkumoil" aria-label="Profile: dinkumoil">@<bdi>dinkumoil</bdi></a></p>
<p dir="auto">Thank you for looking at this.<br />
I’ll examine them in detail, but from the short descriptions I think they operate under strict rules - I simply want that a Tab pressed be Tab, a space pressed be space in the text.</p>
<p dir="auto">@ PeterJones</p>
<p dir="auto">It is very unfortunate that Scintilla does not support the above-mentioned operation, the most simple Tab/Space handling ,  which is naturally supported  by the  Windows editors like Notepad, Pspad, Ultraedit, FCW editor,</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43324</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43324</guid><dc:creator><![CDATA[László Botka]]></dc:creator><pubDate>Tue, 14 May 2019 19:59:39 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Tue, 14 May 2019 19:15:10 GMT]]></title><description><![CDATA[<p dir="auto">After several years of use, this is the first time that this issue has occurred, in a free format text. Thanks for the recommended macro.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43321</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43321</guid><dc:creator><![CDATA[László Botka]]></dc:creator><pubDate>Tue, 14 May 2019 19:15:10 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Tue, 14 May 2019 19:02:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/l%C3%A1szl%C3%B3-botka" aria-label="Profile: László-Botka">@<bdi>László-Botka</bdi></a></p>
<p dir="auto">There are two plugins I havn’t tried yet but maybe they could help you.</p>
<p dir="auto">The first one is <em>Elastic Tabstops</em>. To obtain some infos about how it works have a look at <a href="http://nickgravgaard.com/elastic-tabstops/" rel="nofollow ugc">&gt;&gt;&gt; this site &lt;&lt;&lt;</a>. It can be downloaded via <em>PluginsAdmin</em> as 32 bit and 64 bit version.</p>
<p dir="auto">The second one is <em>TabIndentSpaceAlign</em>. It is <strong>not</strong> available via <em>PluginsAdmin</em> and it’s only 32 bit. You can download it<a href="https://code.google.com/archive/p/kereds-notepad-plus-plus-plugins/" rel="nofollow ugc"> &gt;&gt;&gt; here &lt;&lt;&lt;</a> but you have to install it manually. This plugin was available via the old <em>PluginManager</em>. It hasn’t been included in <em>PluginsAdmin</em>’s plugin list because the DLL file doesn’t contain any version information, which is a requirement. But there are chances that it will run under Notepad++ v7.6 and above.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43320</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43320</guid><dc:creator><![CDATA[dinkumoil]]></dc:creator><pubDate>Tue, 14 May 2019 19:02:01 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Tue, 14 May 2019 18:49:59 GMT]]></title><description><![CDATA[<p dir="auto">Memory might fail me but I think it was decided by the Scintilla folks that this is their desired behavior and it isn’t going to be changed, or a “preference” offered for.  Could be wrong (I say that a lot).</p>
<blockquote>
<p dir="auto">I can avoid this by inserting an extra character and then the Tab, and then delete the extra character.</p>
</blockquote>
<p dir="auto">Sounds like a macro to me:</p>
<ul>
<li>Start macro record with caret at desired spot</li>
<li>Press <code>~</code> (or other character, maybe best to pick one that won’t trigger Autocomplete)</li>
<li>Press <code>Tab</code></li>
<li>Press left arrow</li>
<li>Press Backspace</li>
<li>Press Right arrow</li>
<li>End macro recording</li>
</ul>
<p dir="auto">Assign it to a keycombination of your choosing.</p>
<p dir="auto">Rather a pain, and it will mess with the Undo buffer, but maybe useful.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43319</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43319</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 14 May 2019 18:49:59 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Tue, 14 May 2019 18:38:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/l%C3%A1szl%C3%B3-botka" aria-label="Profile: László-Botka">@<bdi>László-Botka</bdi></a> said:</p>
<blockquote>
<p dir="auto">inserting an extra character and then the Tab, and then delete the extra character</p>
</blockquote>
<p dir="auto">Glad you found a workaround.  Sorry we didn’t have a better solution for you.</p>
<blockquote>
<p dir="auto">I didn’t find this issue in other editors, but they don’t use Scintilla.</p>
</blockquote>
<p dir="auto">I just confirmed SciTE (which is Scintilla’s test-bed GUI) does the same thing: if <strong>Options &gt; Change Indentation Settings</strong> is set to “use tabs”, then hitting a TAB in the early whitespace will turn it all to TAB; if “use tabs” is disabled, it will convert it all to spaces.  So the issue <em>is</em> in SciTE 4.1.4 (and they appear to keep the SciTE version number in sync with the Scintilla version number to avoid confusion) … (but that also means that our “maybe it’s already been fixed in a more recent Scintilla” standard answer won’t apply)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43317</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43317</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 14 May 2019 18:38:00 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Tue, 14 May 2019 18:11:17 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for examining this.<br />
I can avoid this by inserting an extra character and then the Tab,  and then delete the  extra character.<br />
I didn’t find this issue in other editors, but they don’t use Scintilla.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43315</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43315</guid><dc:creator><![CDATA[László Botka]]></dc:creator><pubDate>Tue, 14 May 2019 18:11:17 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Tue, 14 May 2019 17:33:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/l%C3%A1szl%C3%B3-botka" aria-label="Profile: László-Botka">@<bdi>László-Botka</bdi></a></p>
<p dir="auto">I remember this coming up before, but I can’t find the reference.  Basically, it is something that the Scintilla component is doing; Notepad++ doesn’t really have control.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43311</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43311</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 14 May 2019 17:33:41 GMT</pubDate></item><item><title><![CDATA[Reply to Tab replaces all leading spaces on Tue, 14 May 2019 17:11:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/l%C3%A1szl%C3%B3-botka" aria-label="Profile: László-Botka">@<bdi>László-Botka</bdi></a>,</p>
<p dir="auto">It is appreciated when you include debug info in your original request for help.  Thanks! :-)</p>
<p dir="auto">The animation below (which I had made for a different question) shows how changing the “replace by space” affects<br />
<img src="https://i.imgur.com/cUdkgqS.gif" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Unfortunately, based on your description of what you want, I’m not sure we can make it work.</p>
<p dir="auto">In my experiments, if it’s set to “replace by space”, if you hit the TAB key in the spaces or tabs at the beginning of the line,  it will convert the initial blanks all to spaces; if you have it disabled, hitting the TAB key in the spaces or tabs at the beginning of the line will convert all the initial spaces/tabs to tabs.</p>
<p dir="auto">I don’t know of another setting that will allow a mix of tab and space characters at the beginning of the line.  Maybe someone else here does know of the setting.</p>
<p dir="auto">Otherwise, we might need to do a <a href="https://notepad-plus-plus.org/community/topic/15741/faq-desk-feature-request-or-bug-report" rel="nofollow ugc">feature request</a> which would be asking for a toggle to “not change existing whitespace” or “allow mixed tabs and spaces” or some such wording.  I can easily see how there might be some text editing contexts where you would want to be able to mix spaces and tabs in the start of a line.  (For example, where TAB is a record separator, and space is meaningful as the data.)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43310</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43310</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 14 May 2019 17:11:58 GMT</pubDate></item></channel></rss>