<?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[Keep words and number with columns]]></title><description><![CDATA[<p dir="auto">I have some programs whose input data are <a href="http://franknagy.atw.hu/Tipp/TSP75/Data/omit-3c-1.txt" rel="nofollow ugc">organized into columns</a>.The columns are usually 12 characters wide.<br />
As you can see on the linked file, I put rulers among the commands.<br />
&lt;PREDICATE &gt;&lt;OBJECT    &gt;&lt;EVA_TITLE &gt;&lt;EVA_SOLUTI&gt;&lt;DEVICE    &gt;&lt;SPLIT     &gt;<br />
I make errors  often: data spill over column boundaries. Which features of Notepad do you recommend this avoid this mistake?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/10245/keep-words-and-number-with-columns</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 17:39:18 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/10245.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 12 Sep 2015 09:02:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Keep words and number with columns on Sat, 12 Sep 2015 20:37:22 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <strong>Ferenc Nagy</strong>,</p>
<p dir="auto">Looking at your file, I noticed that the length of your <strong><code>&lt;....&gt;</code></strong> zones, included the <strong>brackets</strong>, are <em>mostly <strong>12</strong> and sometimes <strong>24</strong>, <strong>36</strong> or <strong>48</strong> characters long</em> !</p>
<p dir="auto">So, assuming that you simply use the <strong>Normal text</strong> language for your data files, I would do this way :</p>
<ul>
<li>
<p dir="auto">Open the <strong>Settings - Preferences… Tab Settings</strong> dialog</p>
</li>
<li>
<p dir="auto">Select the <strong>normal</strong> language</p>
</li>
<li>
<p dir="auto">UNCHECK the <strong>Use Default value</strong> option</p>
</li>
<li>
<p dir="auto">Type <strong>12</strong> in the <strong>Tab size</strong> option</p>
</li>
<li>
<p dir="auto">Leave the <strong>Replace by space</strong> option UNCHECKED</p>
</li>
<li>
<p dir="auto">Close the <strong>Preferences</strong> dialog</p>
</li>
</ul>
<hr />
<p dir="auto">Now, let’s suppose that you write the line, below ( it’s just an example, <strong>not related</strong> to your<strong>exact</strong> file contents ! )</p>
<pre><code>&lt;PREDICATE &gt;&lt;OBJECT    &gt;&lt;EVA_TITLE             &gt;&lt;DEVICE    &gt;&lt;COMPLEMENT                        &gt;
</code></pre>
<p dir="auto">and that you have to write, for <strong>each</strong> of these <strong>five</strong> columns, <strong>three</strong> letters, taken in the <strong>alphabetical</strong> list.</p>
<p dir="auto">To <strong>correctly</strong> write these data, according to the previous <strong>header</strong> line :</p>
<ul>
<li>
<p dir="auto">Type the string <strong>abc</strong> and hit the <strong>TAB</strong> key, <strong>ONCE</strong></p>
</li>
<li>
<p dir="auto">Type the string <strong>def</strong> and hit the <strong>TAB</strong> key, <strong>ONCE</strong></p>
</li>
<li>
<p dir="auto">Type the string <strong>ghi</strong> and hit the <strong>TAB</strong> key <strong>TWICE</strong></p>
</li>
<li>
<p dir="auto">Type the string <strong>jkl</strong> and hit the <strong>TAB</strong> key, <strong>ONCE</strong></p>
</li>
<li>
<p dir="auto">Type the string <strong>mno</strong> and hit the <strong>TAB</strong> key, <strong>THREE</strong> times</p>
</li>
</ul>
<p dir="auto">To better visualize the <strong>TAB</strong> characters, use the <strong>View - Show Symbol - Show All Characters</strong> option !</p>
<p dir="auto"><strong>IMPORTANT</strong> :</p>
<p dir="auto">When <strong>ALL</strong> your datas will be typed, in your file, according to the <strong>above</strong> scheme, use the <strong>Edit - Blank Operations - TAB to Space</strong> option to <strong>replace</strong> all the <strong>TAB</strong> characters by the suitable number of <strong>SPACE</strong> characters ( Thanks to <strong>Loreia2</strong> ! )</p>
<hr />
<p dir="auto">Et voilà ! From now on, your datas should be <strong>aligned</strong>, on column <strong>1</strong> , <strong>13</strong>, <strong>25</strong>, <strong>37</strong>, …  ( <strong>12*n + 1</strong> )</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/11079</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/11079</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sat, 12 Sep 2015 20:37:22 GMT</pubDate></item></channel></rss>