<?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[Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.)]]></title><description><![CDATA[<p dir="auto">I’m using a monospace font (Dejavu Sans Mono).<br />
Global Bold Font style is enabled.<br />
Tabs have been replaced by spaces.</p>
<p dir="auto">I like the way I have editor set up now and i’d rather not compromise the look of the characters.<br />
However, I do not want to exceed a text line length of 78 characters. (For compatibility with DOS), and<br />
with this misalignment issue some lines are shifted waaaay too far to the right.</p>
<p dir="auto">Is there a box or something I need to uncheck, or what? How do I fix this?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/14687/misalignment-of-text-when-notepad-edited-files-are-opened-in-other-editors-notepad-wordpad-google-drive-anyfile-editor-etc</link><generator>RSS for Node</generator><lastBuildDate>Tue, 13 Oct 2026 13:19:09 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/14687.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Oct 2017 05:48:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Mon, 30 Oct 2017 11:29:55 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">Thanks…what confused me was that it sounded like you were saying that tabstops were <em><strong>always</strong></em> 4 columns…your most-recent post clears that up.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27731</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27731</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Mon, 30 Oct 2017 11:29:55 GMT</pubDate></item><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Mon, 30 Oct 2017 02:36:59 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/scott-sumner" aria-label="Profile: scott-sumner">@<bdi>scott-sumner</bdi></a>,</p>
<p dir="auto">Indeed, using leading <strong>tabulation</strong> characters and <strong>space</strong> characters, <strong>everywhere else</strong>,  in lines, should be the <strong>sensible</strong> attitude, while coding :-D And, therefore, your solution, about <strong>leading tabs</strong> is quite <strong>exact</strong> !</p>
<p dir="auto">As for my assertion :</p>
<blockquote>
<p dir="auto">due to the <strong>tabulation</strong>’s behaviour, which always stops at <strong>column</strong> <strong><code>4*n</code></strong>  whatever <strong><code>n &gt; 0</code></strong></p>
</blockquote>
<p dir="auto">I pointed out the fact that a <strong>tabulation</strong> character <strong>always ends</strong> at column <strong>4</strong>, <strong>8</strong>, <strong>12</strong>, <strong>16</strong>,…, that is to say, on a <strong><code>4*n</code></strong> position !</p>
<p dir="auto">Moreover, if <strong><code>c</code></strong> is the column, <strong>&gt; 0</strong>, where <strong>begins</strong> the <strong>tabulation</strong> character, its <strong>physical</strong> length <strong><code>l</code></strong>, between <strong>1</strong> and <strong>4</strong>, can be found with the formula <strong><code>l = 4 - ((c-1) % 4)</code></strong></p>
<p dir="auto">BTW, I just realize that all this works, only, if the <strong>tab size</strong> value, in <strong>Settings &gt; Preferences… &gt; Language &gt; Tab Settings</strong>, is <strong><code>4</code></strong>. In the <strong>general</strong> case, if tab size = <strong><code>s</code></strong>, the <strong>physical</strong> length <strong><code>l</code></strong> of a tabulation, <strong>beginning</strong> at column <strong><code>c</code></strong>, would be : <strong><code>l = s - ((c-1) % s)</code></strong>, with <strong><code>%</code></strong> standing for the mathematical operation <strong>modulo</strong> !</p>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
<p dir="auto"><strong>P.S</strong> : I forgot to give an <strong>example</strong> :</p>
<p dir="auto">Let’s suppose the <strong>tab size</strong> is <strong><code>7</code></strong> and a <strong>tabulation</strong> character <strong>begins</strong> at column <strong>c</strong> = <strong><code>157</code></strong>. This implies that its <strong>length</strong> <strong>l</strong> = 7 - ((157-1) % 7) = <strong><code>5</code></strong> and it <strong>ends</strong> at column 157 + 5 - 1 = <strong><code>161</code></strong>, which is, effectively, a <strong>multiple</strong> of <strong>7</strong> ( 161 = 7 * 23 )</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27727</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27727</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Mon, 30 Oct 2017 02:36:59 GMT</pubDate></item><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Mon, 30 Oct 2017 00:02:29 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> said:</p>
<blockquote>
<p dir="auto">the physical length of the tabulation character depends on its position</p>
</blockquote>
<p dir="auto">When I said “<em>Replace \t with how many ever spaces you want a tab character to be</em>” I was considering leading tab characters only, which is really the only consistent way to use tab characters (IMO).  I tend to stay away from tab characters in general, but when I work on projects where they are used, it is always in the “tab-indent, space-align” style.  This means that tab characters are the only whitespace that are allowed <strong>before</strong> the first non-whitespace character on a line, and spaces are the only valid whitespace <strong>after</strong> the first non-whitespace character on a line.  With this usage, my original Replace operation is valid–there should never be a situation in which moving to the next tab-stop is not the full # of spaces (if the conversion were to be done).</p>
<blockquote>
<p dir="auto">due to the tabulation’s behaviour, which always stops at column 4*n whatever n &gt; 0</p>
</blockquote>
<p dir="auto">Can you explain this, I’m not understanding what this means??</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27721</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27721</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Mon, 30 Oct 2017 00:02:29 GMT</pubDate></item><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Sat, 10 Feb 2018 19:26:59 GMT]]></title><description><![CDATA[<p dir="auto">Hi <strong><a class="plugin-mentions-user plugin-mentions-a" href="/user/compu-chan" aria-label="Profile: compu-chan">@<bdi>compu-chan</bdi></a></strong>, <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">Scott said :</p>
<blockquote>
<p dir="auto">There is no option to do that specific operation on a group of files, however, it could be done with a regular expression <strong>Replace in Files</strong> on a bunch of files at once. Replace <strong><code>\t</code></strong> with how many ever spaces you want a tab character to be.</p>
</blockquote>
<p dir="auto">Unfortunately, <strong>Scott-</strong>, it’s not that simple !! Just because the <strong>physical</strong> length of the <strong>tabulation</strong> character depends on its <strong>position</strong> :-(( So I began to investigate a way to <strong>simulate</strong> all the native <strong>Blank Operations</strong> of Notepad++, by a <strong>regex</strong> search replacement.</p>
<p dir="auto">The <strong>main</strong> advantage, of this method, is that you can perform these <strong>Blank</strong> operations, on <strong>multiple</strong> files, belonging to a <strong>same</strong> folder, in the <strong>Find in files</strong> dialog :-))</p>
<hr />
<p dir="auto">The <strong>first 3</strong> operations are quite <strong>easy</strong> to realize :</p>
<ul>
<li>
<h4><strong>Trim Trailing Space</strong> :</h4>
<ul>
<li>SEARCH <strong><code>[\x20\t]+$</code></strong> and REPLACE <strong><code>let the zone EMPTY</code></strong></li>
</ul>
</li>
<li>
<h4><strong>Trim Leading Space</strong> :</h4>
<ul>
<li>SEARCH <strong><code>^[\x20\t]+</code></strong> and REPLACE <strong><code>let the zone EMPTY</code></strong></li>
</ul>
</li>
<li>
<h4><strong>Trim Leading or Trailing Space</strong> :</h4>
<ul>
<li>SEARCH <strong><code>^[\x20\t]+|[\x20\t]+$</code></strong> and REPLACE <strong><code>Let the zone EMPTY</code></strong></li>
</ul>
</li>
</ul>
<hr />
<p dir="auto">The following <strong>2</strong> operations are not too <strong>difficult</strong> to achieve, too !</p>
<ul>
<li>
<h4><strong>EOL to Space</strong> :</h4>
<ul>
<li>SEARCH <strong><code>(?&lt;=\x20)\R|(\R)</code></strong> and REPLACE <strong><code>(?1\x20)</code></strong> ( Change of any <strong>line-break</strong> by a <strong>space</strong> or <strong>suppression</strong>, if preceded by a <strong>space</strong> character )</li>
</ul>
</li>
<li>
<h4><strong>Remove Unnecessary Blank and EOL</strong> :</h4>
<ul>
<li>
<p dir="auto">SEARCH <strong><code>^[\x20\t]+|[\x20\t]+$</code></strong> and REPLACE <strong><code>Let the zone EMPTY</code></strong> ( Suppression of <strong>leading</strong> and <strong>trailing Blank</strong> characters )</p>
</li>
<li>
<p dir="auto">SEARCH <strong><code>\R</code></strong> and REPLACE <strong><code>\x20</code></strong> ( Replacement of any <strong>line break</strong> by a <strong>space</strong> character )</p>
</li>
</ul>
</li>
</ul>
<hr />
<p dir="auto">Now, due to the <strong>tabulation</strong>’s behaviour, which always stops at <strong>column</strong> <strong><code>4*n</code></strong>  whatever <strong><code>n &gt; 0</code></strong>,  the <strong>last 3</strong> Blank Operations are much hardier to elaborate, on the “<strong>regex</strong>” point of view !!</p>
<ul>
<li>
<h4><strong>TAB to Space</strong> :</h4>
<ul>
<li>SEARCH <strong><code>(?-s)(?:()|(.)|(..)|(...))\t|(....)</code></strong> and REPLACE <strong><code>(?1    )(?2\2   )(?3\3  )(?4\4 )(?5$0)</code></strong></li>
</ul>
</li>
</ul>
<p dir="auto">Briefly, here are, below, the <strong>different</strong> cases :</p>
<pre><code class="language-diff">Let C = Any unique STANDARD character

	&lt;   =   ()     + \t   -&gt;   \1 + 4 Spaces   Group 1

1	&lt;   =   (C)    + \t   -&gt;   \2 + 3 Spaces   Group 2
 	&lt;   =   (C)    + \t   -&gt;   \2 + 3 Spaces   Group 2

12	&lt;   =   (CC)   + \t   -&gt;   \3 + 2 Spaces   Group 3
  	&lt;   =   (CC)   + \t   -&gt;   \3 + 2 Spaces   Group 3

123	&lt;   =   (CCC)  + \t   -&gt;   \4 + 1 Space    Group 4
   	&lt;   =   (CCC)  + \t   -&gt;   \4 + 1 Space    Group 4

1234&lt;   =   (CCCC)        -&gt;   $0              Group 5
</code></pre>
<p dir="auto"><strong>Notes</strong> :</p>
<ul>
<li>
<p dir="auto">Depending on the <strong>number</strong> of characters, preceding the <strong>tabulation</strong> character, this S/R <strong>rewrites</strong> these characters, <strong>followed</strong> by the <strong>appropriate</strong> number of <strong>spaces</strong></p>
</li>
<li>
<p dir="auto">Note that if the range of <strong>4</strong> chars does <strong>not</strong> contain any <strong>tabulation</strong>, it is simply rewritten ( <strong><code>$0</code></strong> ). This replacement, seemingly <strong>useless</strong>, is, however, <strong>necessary</strong> to go on looking for the <strong>next</strong> blocks of <strong>4 positions</strong> long !</p>
</li>
</ul>
<hr />
<ul>
<li>
<h4><strong>Space to TAB (All)</strong> :</h4>
<ul>
<li>
<p dir="auto">SEARCH <strong><code>(?-s)(?|([^ \t\r\n])\x20(?:\x20[\x20\t]|\t)|([^ \t\r\n]{2})\x20[\x20\t]|([^ \t\r\n]{3})\x20)|(\x20{0,3}\t|\x20{4})|([^ \t\r\n]{1,3}\t|....)</code></strong></p>
</li>
<li>
<p dir="auto">REPLACE <strong><code>(?1\1\t)(?2\t)(?3$0)</code></strong></p>
</li>
</ul>
</li>
</ul>
<p dir="auto">Again, below, here is the <strong>recapitulation</strong> of all cases, with their <strong>appropriate</strong> replacements :</p>
<pre><code class="language-diff">Let C = [^ \t\r\n] = Any unique STANDARD character, different of a SPACE and a TABULATION

a 	&lt;   =   (C)    + 1 sp + \t  -&gt;   \1\t   Group 1
a  	&lt;   =   (C)    + 2 sp + \t  -&gt;   \1\t   Group 1
a   &lt;   =   (C)    + 3 sp       -&gt;   \1\t   Group 1

ab 	&lt;   =   (CC)   + 1 sp + \t  -&gt;   \1\t   Group 1
ab  &lt;   =   (CC)   + 2 sp       -&gt;   \1\t   Group 1

abc &lt;   =   (CCC)  + 1 sp       -&gt;   \1\t   Group 1

	&lt;   =   (0 sp + \t)         -&gt;   \t     Group 2
 	&lt;   =   (1 sp + \t)         -&gt;   \t     Group 2
  	&lt;   =   (2 sp + \t)         -&gt;   \t     Group 2
   	&lt;   =   (3 sp + \t)         -&gt;   \t     Group 2
    &lt;   =   (4 sp)              -&gt;   \t     Group 2

a	&lt;   =   (C    + \t)         -&gt;   $0     Group 3
ab	&lt;   =   (CC   + \t)         -&gt;   $0     Group 3
abc	&lt;   =   (CCC  + \t)         -&gt;   $0     Group 3
abcd&lt;   =   (CCCC)              -&gt;   $0     Group 3
</code></pre>
<p dir="auto"><strong>Notes</strong> :</p>
<ul>
<li>
<p dir="auto">Quickly, <strong>all</strong> the cases are divide up into <strong>3</strong> main parts, with the <strong>appropriate</strong> replacements :</p>
<ul>
<li>
<p dir="auto"><strong>Standard</strong> characters followed by a <strong>mix</strong> of <strong>spaces/tabulations</strong> must be rewritten, followed by a <strong>tabulation</strong> ( <strong><code>(?1\1\t)</code></strong> )</p>
</li>
<li>
<p dir="auto"><strong>Mix</strong> of <strong>spaces/tabulation</strong>, only, must be replaced by a single <strong>tabulation</strong> ( <strong><code>(?2\t)</code></strong> )</p>
</li>
<li>
<p dir="auto"><strong>Standard</strong> characters, followed by an <strong>unique</strong> tabulation, have to be simply rewritten ( <strong><code>(?3$0)</code></strong> )</p>
</li>
</ul>
</li>
<li>
<p dir="auto">Note, in the <strong>search</strong> regex, a <strong>special</strong> construct <strong><code>(?!......) </code></strong>, which resets the sub-expression <strong>count</strong>, at the <strong>start</strong> of each <strong><code>|</code></strong> <strong>alternative</strong> of this construct. So, <strong>whatever</strong> the branch matched, in our example, the <strong>matched</strong> expression is <strong>always</strong> stored in <strong>group 1</strong> and will be replaced, according to the <strong>conditional</strong> form <strong><code>(?1\1\t)</code></strong></p>
</li>
</ul>
<hr />
<ul>
<li>
<h4><strong>Space to TAB (Leading)</strong> :</h4>
<ul>
<li>
<p dir="auto">SEARCH <strong><code>^(?:\x20|\t)+</code></strong> and REPLACE <strong><code>$0#</code></strong></p>
</li>
<li>
<p dir="auto">SEARCH <strong><code>(?:\x20{4}|\x20{0,3}\t)(?=.*#)#?</code></strong> and REPLACE <strong><code>\t</code></strong></p>
</li>
</ul>
</li>
</ul>
<p dir="auto">Here are <strong>all</strong> the cases, of <strong>blank</strong> characters combination, which may occur, at <strong>beginning</strong> of lines :</p>
<pre><code class="language-diff">	&lt;   =   0 sp + \t   -&gt;   \t
 	&lt;   =   1 sp + \t   -&gt;   \t
  	&lt;   =   2 sp + \t   -&gt;   \t
   	&lt;   =   3 sp + \t   -&gt;   \t
    &lt;   =   4 sp        -&gt;   \t
</code></pre>
<p dir="auto"><strong>Notes</strong> :</p>
<ul>
<li>
<p dir="auto">In the <strong>first</strong> S/R, we look, at <strong>beginning</strong> of lines, any range of <strong>space</strong> or <strong>tabulation</strong> character(s) and simply rewrite this range, <strong><code>$0</code></strong> , followed with a <strong><code>#</code></strong> symbol. Note that you may use <strong>any</strong> symbol, <strong>absent</strong> from your file, which will be used as a <strong>mark</strong></p>
</li>
<li>
<p dir="auto">In the <strong>second</strong> S/R, all the combination of <strong>leading blank</strong> characters, which are <strong>followed</strong>, further on, by the <strong><code>#</code></strong> character, are changed, along with the <strong>mark</strong> character, with an unique <strong>tabulation</strong> character !</p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
<p dir="auto"><strong>PS</strong> :</p>
<p dir="auto">Let consider the special <strong>branch reset</strong> construct, below :</p>
<p dir="auto"><strong><code>(a)(?|x(y)z|(p(q)r)|(t)u(v))(z)</code></strong></p>
<p dir="auto">We have :</p>
<ul>
<li>
<p dir="auto">Group <strong>1</strong> = <strong><code>a</code></strong></p>
</li>
<li>
<p dir="auto">Group <strong>2</strong> = <strong><code>y</code></strong> or <strong><code>p(q)r</code></strong> or <strong><code>t</code></strong></p>
</li>
<li>
<p dir="auto">Group <strong>3</strong> = <strong>None</strong> or <strong><code>q</code></strong> or <strong><code>v</code></strong></p>
</li>
<li>
<p dir="auto">Group <strong>4</strong> = <strong><code>z</code></strong></p>
</li>
</ul>
<p dir="auto">With a <strong>classical</strong> list of <strong>alternatives</strong>, as below :</p>
<p dir="auto"><strong><code>(a)(?:x(y)z|(p(q)r)|(t)u(v))(z)</code></strong></p>
<p dir="auto">We would get, instead :</p>
<ul>
<li>
<p dir="auto">Group <strong>1</strong> = <strong><code>a</code></strong></p>
</li>
<li>
<p dir="auto">Group <strong>2</strong> = <strong>None</strong> or <strong><code>y</code></strong></p>
</li>
<li>
<p dir="auto">Group <strong>3</strong> = <strong>None</strong> or <strong><code>p(q)r</code></strong></p>
</li>
<li>
<p dir="auto">Group <strong>4</strong> = <strong>None</strong> or <strong><code>q</code></strong></p>
</li>
<li>
<p dir="auto">Group <strong>5</strong> = <strong>None</strong> or <strong><code>t</code></strong></p>
</li>
<li>
<p dir="auto">Group <strong>6</strong> = <strong>None</strong> or <strong><code>v</code></strong></p>
</li>
<li>
<p dir="auto">Group <strong>7</strong> = <strong><code>z</code></strong></p>
</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/27720</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27720</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sat, 10 Feb 2018 19:26:59 GMT</pubDate></item><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Sat, 28 Oct 2017 16:07:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/compu-chan" aria-label="Profile: Compu-chan">@<bdi>Compu-chan</bdi></a></p>
<p dir="auto">There is no option to do that specific operation on a group of files, however, it could be done with a regular expression <strong>Replace in Files</strong> on a bunch of files at once.  Replace <code>\t</code> with how many ever spaces you want a tab character to be.</p>
<p dir="auto">If you had changed the mode of this thread to “Ask as a Question” then you could later go in and “Mark as Solved”.  You can still do it I think…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27690</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27690</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Sat, 28 Oct 2017 16:07:21 GMT</pubDate></item><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Sat, 28 Oct 2017 16:05:24 GMT]]></title><description><![CDATA[<p dir="auto">Also, i’m not sure if there’s already a way to do this, but being able to perfom operations on all open files at the same time would be nice.</p>
<p dir="auto">I had to do the TAB to spaces operation on about a dozen files one by one to fix them all.<br />
Not a big deal, but slightly inconvenient.</p>
<p dir="auto">Not sure if i’m supposed to mark this post as solved.<br />
Don’t really see the option to do so.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27689</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27689</guid><dc:creator><![CDATA[Compu chan]]></dc:creator><pubDate>Sat, 28 Oct 2017 16:05:24 GMT</pubDate></item><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Sat, 28 Oct 2017 15:49:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/compu-chan" aria-label="Profile: Compu-chan">@<bdi>Compu-chan</bdi></a></p>
<p dir="auto">Perhaps the verbage “Replace by space” in the Preferences is poor–it makes it sound like by checking the box it will perform an action rather than simply changing a setting!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27688</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27688</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Sat, 28 Oct 2017 15:49:08 GMT</pubDate></item><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Sat, 28 Oct 2017 15:42:04 GMT]]></title><description><![CDATA[<p dir="auto">No, I checked the replace tab with spaces box before posting my question.<br />
Someone else on a different forum mentioned it as a possible solution to a similar but different problem.</p>
<p dir="auto">It only prevents future tabulation symbols from appearing in your file.<br />
It doesn’t get rid of the tabulations that are already present.</p>
<p dir="auto">You do that with:<br />
Edit-&gt;Blank Operations-&gt;TAB to space</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27686</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27686</guid><dc:creator><![CDATA[Compu chan]]></dc:creator><pubDate>Sat, 28 Oct 2017 15:42:04 GMT</pubDate></item><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Sat, 28 Oct 2017 15:37:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/compu-chan" aria-label="Profile: Compu-chan">@<bdi>Compu-chan</bdi></a> said:</p>
<p dir="auto">So in your original post you provided misinformation:</p>
<blockquote>
<p dir="auto">Tabs have been replaced by spaces</p>
</blockquote>
]]></description><link>https://community.notepad-plus-plus.org/post/27685</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27685</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Sat, 28 Oct 2017 15:37:33 GMT</pubDate></item><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Sat, 28 Oct 2017 15:05:35 GMT]]></title><description><![CDATA[<p dir="auto">Problem solved. Thanks!</p>
<p dir="auto">Solution:</p>
<p dir="auto">Settings-&gt;preferences-&gt;Language<br />
check “Replace by space” box</p>
<p dir="auto">Edit-&gt;Blank Operations-&gt;TAB to space</p>
<p dir="auto">Make some arbitrary change to the file (type a character then delete it), then re-save the file.</p>
<p dir="auto">Formatting/indentation should be fixed.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27684</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27684</guid><dc:creator><![CDATA[Compu chan]]></dc:creator><pubDate>Sat, 28 Oct 2017 15:05:35 GMT</pubDate></item><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Sat, 28 Oct 2017 14:46:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/compu-chan" aria-label="Profile: Compu-chan">@<bdi>Compu-chan</bdi></a></p>
<p dir="auto">Looks like your mixing tabs and spaces.<br />
Activate the <strong>Show all characters</strong></p>
<p dir="auto"><img src="https://i.imgur.com/6pKqXwz.png" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Convert it by using Edit-&gt;Blank Operations-&gt;TabToSpace !??</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27681</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27681</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Sat, 28 Oct 2017 14:46:12 GMT</pubDate></item><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Sat, 28 Oct 2017 14:33:09 GMT]]></title><description><![CDATA[<p dir="auto">Sure, here’s one of the 8086 assembly source files:</p>
<p dir="auto"><a href="https://www.dropbox.com/s/gaxnn56hteuz5n7/g_lib.asm?dl=0" rel="nofollow ugc">https://www.dropbox.com/s/gaxnn56hteuz5n7/g_lib.asm?dl=0</a></p>
<p dir="auto">And here’s a screenshot of bad text alignment in the file. The comment block is shifted beyond 78 columns.<br />
It just looks bad, and makes it a little awkward to read in a DOS editor.</p>
<p dir="auto"><a href="https://www.dropbox.com/s/b1b120zj5w28la2/bad_formatting2.png?dl=0" rel="nofollow ugc">https://www.dropbox.com/s/b1b120zj5w28la2/bad_formatting2.png?dl=0</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/27680</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27680</guid><dc:creator><![CDATA[Compu chan]]></dc:creator><pubDate>Sat, 28 Oct 2017 14:33:09 GMT</pubDate></item><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Sat, 28 Oct 2017 11:08:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/compu-chan" aria-label="Profile: Compu-chan">@<bdi>Compu-chan</bdi></a></p>
<p dir="auto">Looks strange, indeed. I would open the file in a hex editor and check for unusual bytes.</p>
<p dir="auto"><img src="https://i.imgur.com/HqXnODX.png" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">You mentioned that you share this file, is it possible to download it already?</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27671</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27671</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Sat, 28 Oct 2017 11:08:48 GMT</pubDate></item><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Sat, 28 Oct 2017 10:44:01 GMT]]></title><description><![CDATA[<p dir="auto">Just to clear up any confusion, my problem is that within Notepad++ all lines of text line up neatly and nicely.<br />
When these files are then opened in other editors, some of the lines of text are shifted over to the right by varying amounts.<br />
Some lines of text are shifted so far that they pass my desired max column limit of 78 characters.<br />
I’m trying to figure out how to avoid this problem.</p>
<p dir="auto">I share this assembly code on the internet, and I don’t want others to open the files in their text editor of choice and have all of the lines all jagged and uneven.</p>
<p dir="auto">I want it to look nice across editors. I know this is impossible with some editors, but surely there’s at least a way to mitigate this problem in Wordpad/Notepad at least.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27670</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27670</guid><dc:creator><![CDATA[Compu chan]]></dc:creator><pubDate>Sat, 28 Oct 2017 10:44:01 GMT</pubDate></item><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Sat, 28 Oct 2017 10:23:43 GMT]]></title><description><![CDATA[<p dir="auto">I broke the line using the included visible vertical edge tool set to column 78.</p>
<p dir="auto">Here’s some screenshots:</p>
<p dir="auto"><a href="https://www.dropbox.com/s/qdkadolahm66b71/bad_formatting.png?dl=0" rel="nofollow ugc">https://www.dropbox.com/s/qdkadolahm66b71/bad_formatting.png?dl=0</a><br />
<a href="https://www.dropbox.com/s/r2pyeoaf8w5quk9/bad_formatting1.png?dl=0" rel="nofollow ugc">https://www.dropbox.com/s/r2pyeoaf8w5quk9/bad_formatting1.png?dl=0</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/27669</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27669</guid><dc:creator><![CDATA[Compu chan]]></dc:creator><pubDate>Sat, 28 Oct 2017 10:23:43 GMT</pubDate></item><item><title><![CDATA[Reply to Misalignment of text when Notepad++ edited files are opened in other editors (notepad, wordpad, google drive anyfile editor, etc.) on Thu, 26 Oct 2017 11:33:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/compu-chan" aria-label="Profile: Compu-chan">@<bdi>Compu-chan</bdi></a></p>
<p dir="auto">not sure if I understand correctly but I assume by pressing return you ensure that the line breaks, correct?<br />
If this is the case, then, do the other editors also use the same font settings?<br />
If this isn’t the case, then how did you break the line on char 78?</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/27630</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/27630</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Thu, 26 Oct 2017 11:33:54 GMT</pubDate></item></channel></rss>