<?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[Add dummy lines that does not increase the line numbers]]></title><description><![CDATA[<p dir="auto">I have two documents side by side, and the second document is a translation of the first. But the second document does not have every line translated. I want to keep the two documents in sync with vertical scrolling, so every translation is next to the string it has translated. But I also need each translated line to keep its original line number.</p>
<p dir="auto">I have a copy of the translated document, so adding additional lines does no harm. But these additional lines can’t add to the line number. It doesn’t matter if other software read these as real lines, as long as Notepad++ does not read them as real lines.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/22359/add-dummy-lines-that-does-not-increase-the-line-numbers</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 21:16:56 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/22359.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 08 Jan 2022 16:56:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Add dummy lines that does not increase the line numbers on Sat, 08 Jan 2022 17:45:43 GMT]]></title><description><![CDATA[<p dir="auto">@liggliluff</p>
<p dir="auto">Notepad++'s line numbering system just counts the lines in order.  You cannot trick it as you described.</p>
<p dir="auto">The Compare Plugin will line things up side-by-side, and it will <em>appear</em> to add more lines while viewed in Compare mode… but as soon as you turn off the compare mode, the original file goes back to the original line number (and when it’s saved to disk, even if you are in Compare mode, it will save the real file, not the one with extra lines).</p>
<p dir="auto">Alternately, you could start with the original file, and use the <a href="https://npp-user-manual.org/docs/editing/#column-mode-column-editor" rel="nofollow ugc">column mode selection and Edit &gt; Column Editor dialog</a> to insert line numbers <em>in the text</em>, which will match up with the original line numbers in the document.  Then, if you had to insert lines to get things to line up correctly, you will easily see the empty lines as compared to the lines that start with the number.  When done, you can delete the blank lines (<a href="https://npp-user-manual.org/docs/editing/#edit-menu" rel="nofollow ugc">Edit &gt; Line Operations &gt; Remove Empty Lines</a>), then use column-selection or a regex to remove the numbers at the beginning of each of the lines.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/72798</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/72798</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sat, 08 Jan 2022 17:45:43 GMT</pubDate></item></channel></rss>