<?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[Npp 7.8.8 and Windows notepad show my file differently]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Will post a link to the file. Check line 7. Npp shows an extra tab. Screenshot in the Live Chat<br />
<a href="http://bojinov.info/github/npp.zip" rel="nofollow ugc">link to the file</a></p>
<p dir="auto">This happens to my PHP and my PS1 files that I ve noticed.</p>
<p dir="auto">Problem is GitHub seems to agree with the Windows notepad</p>
<p dir="auto">Momchil</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19685/npp-7-8-8-and-windows-notepad-show-my-file-differently</link><generator>RSS for Node</generator><lastBuildDate>Tue, 15 Sep 2026 11:42:28 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19685.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Jul 2020 16:57:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Npp 7.8.8 and Windows notepad show my file differently on Fri, 10 Jul 2020 18:48:43 GMT]]></title><description><![CDATA[<p dir="auto">That was extensive. Thank you. For real.</p>
<p dir="auto">Now, turns out Npp was right and notepad and github are wrong.<br />
That’s what I get for copy and pasting code from random sites.</p>
<p dir="auto">Glad it was sorted. Saves me a bunch of time.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/55769</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55769</guid><dc:creator><![CDATA[Момчил Божинов]]></dc:creator><pubDate>Fri, 10 Jul 2020 18:48:43 GMT</pubDate></item><item><title><![CDATA[Reply to Npp 7.8.8 and Windows notepad show my file differently on Fri, 10 Jul 2020 17:28:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D0%BC%D0%BE%D0%BC%D1%87%D0%B8%D0%BB-%D0%B1%D0%BE%D0%B6%D0%B8%D0%BD%D0%BE%D0%B2" aria-label="Profile: Момчил-Божинов">@<bdi>Момчил-Божинов</bdi></a> ,</p>
<p dir="auto">It would have been nice if you’d embedded the image here, too. To be kind, I went and grabbed the image from the live chat and pasted it here, because otherwise it will scroll into the far history of the chat in a short amount of time, rendering this thread very difficult to understand:<br />
<img src="/assets/uploads/files/1594401367611-f058c3fd-1f52-486b-b1fc-a40d48783fba-image.png" alt="f058c3fd-1f52-486b-b1fc-a40d48783fba-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">So, it looks like you have Notepad++ set to 4-character tabs, whereas MS Notepad always displays tabs as 8 characters.  The <code>If</code> line likely has a single tab, but the <code>}</code> line likely has 8 space characters instead.</p>
<p dir="auto">If you want to see the actual space characters – whether something is a space or a tab – please use the <strong>View</strong> menu, <strong>Show Symbol &gt; Show Whitespace and Tab</strong>.  Spaces will render as middle dots <code>·</code>, and tabs will render as long arrows <code>→</code>.</p>
<p dir="auto">I have shown below what I think you want, and what I am guessing you actually have.</p>
<p dir="auto"><img src="/assets/uploads/files/1594401761778-91f41148-da98-4a3d-a0d8-dbbb386de943-image.png" alt="91f41148-da98-4a3d-a0d8-dbbb386de943-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If you want to fix it (make the tabs and spaces consistent), you can use the <strong>Edit &gt; Blank Operations</strong> sub-menu to do things like converting all tabs to spaces, or converting leading spaces to tabs (whichever is your preferred).</p>
<p dir="auto">I also suggest setting your <strong>Settings &gt; Preferences &gt; Language</strong> to make sure the tab settings are the way you like them.  If you want tabs in most/all of your files to be the same, use the <code>[Default]</code> entry at the beginning of the <strong>Tab Settings</strong> selector box.  If you want PowerShell to be unique in the tab settings, scroll down and select <code>powershell</code>, and uncheck the <code>Use default value</code> box, as I have shown in the screenshot above.</p>
<p dir="auto">-–<br />
PS:<br />
For your reference, the official <strong>Settings &gt; Preferences &gt; Language</strong> documentation at <a href="https://npp-user-manual.org/docs/preferences/#language" rel="nofollow ugc">https://npp-user-manual.org/docs/preferences/#language</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/55764</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/55764</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 10 Jul 2020 17:28:33 GMT</pubDate></item></channel></rss>