<?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[need help with Remove Unmarked Lines option]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I am facing some problem understanding the Bookmark -&gt; “Remove Unmarked Lines” option.</p>
<p dir="auto">The debug info from my notepad++.</p>
<p dir="auto"><em>Notepad++ v8.1.4   (64-bit)<br />
Build time : Aug 21 2021 - 13:04:59<br />
Path : C:\Program Files\Notepad++\notepad++.exe<br />
Command Line :<br />
Admin mode : OFF<br />
Local Conf mode : OFF<br />
Cloud Config : OFF<br />
OS Name : Windows 10 Enterprise (64-bit)<br />
OS Version : 1909<br />
OS Build : 18363.1801<br />
Current ANSI codepage : 1252<br />
Plugins : LocationNavigate.dll mimeTools.dll NppConverter.dll NppExport.dll</em></p>
<p dir="auto">I have 3 lines in text window, I searched for one line and marked it. Then I selected the Bookmark -&gt; “Remove Unmarked Lines” option to remove the unmarked lines, but surprisingly all the lines were removed. Note this is an example only, I am facing same problem with a text content of production error lines which I cannot share here.</p>
<p dir="auto">3 lines with one marked using regex ^one$<br />
<img src="/assets/uploads/files/1634309142839-dc3b8043-e7af-4f30-bfbe-4d4d112135ad-image.png" alt="dc3b8043-e7af-4f30-bfbe-4d4d112135ad-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">chose option to remove unmarked lines.<br />
<img src="/assets/uploads/files/1634309240686-5904b5f5-1e3c-426e-a7e9-d470a47682a1-image.png" alt="5904b5f5-1e3c-426e-a7e9-d470a47682a1-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">All lines are removed.<br />
<img src="/assets/uploads/files/1634309263437-68354419-ead7-43b7-8b44-97437c81d6bc-image.png" alt="68354419-ead7-43b7-8b44-97437c81d6bc-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Could you please help to understand how to remove lines which are not marked?</p>
<p dir="auto">Thanks,<br />
Prem</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/21980/need-help-with-remove-unmarked-lines-option</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 20:07:09 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/21980.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 15 Oct 2021 14:48:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to need help with Remove Unmarked Lines option on Fri, 15 Oct 2021 15:26:10 GMT]]></title><description><![CDATA[<p dir="auto">great. Thank you for the quick reply.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/70521</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/70521</guid><dc:creator><![CDATA[premkumar bhaskal]]></dc:creator><pubDate>Fri, 15 Oct 2021 15:26:10 GMT</pubDate></item><item><title><![CDATA[Reply to need help with Remove Unmarked Lines option on Fri, 15 Oct 2021 14:59:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/23422">@premkumar-bhaskal</a> ,</p>
<p dir="auto">You have confused “Marks” with “Bookmarks” – they are similarly named, so it’s understandable.</p>
<p dir="auto">If you added the “Bookmark line” checkbox in the <strong>Mark</strong> Dialog, and <strong>Mark All</strong>, then it will add a circle ⚫ to the left of any lines that have a Mark (which is indicated by the change in color on the specific text); this ⚫ is the Bookmark.</p>
<p dir="auto"><img src="/assets/uploads/files/1634309696763-a6bb13b2-bd36-4249-9f1e-d434846b2a64-image.png" alt="a6bb13b2-bd36-4249-9f1e-d434846b2a64-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">After adding those Bookmarks, now <strong>Search &gt; Bookmark &gt; Remove Unmarked Lines</strong> will keep the <code>one</code> line.<br />
<img src="/assets/uploads/files/1634309785003-c6241c42-874c-48e3-a6b7-81710b4281b5-image.png" alt="c6241c42-874c-48e3-a6b7-81710b4281b5-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">There’s a (relatively new) section in the online usermanual that compares <a href="https://npp-user-manual.org/docs/searching/#bookmarks-vs-marks" rel="nofollow ugc">Bookmarks vs Marks</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/70515</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/70515</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 15 Oct 2021 14:59:03 GMT</pubDate></item></channel></rss>