<?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[Hide&#x2F;Unhide Non-Bookmarked Lines]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Is there any way to hide and unhide all non-bookmarked lines?</p>
<p dir="auto">Thank you</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19019/hide-unhide-non-bookmarked-lines</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 08:50:57 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19019.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Mar 2020 19:04:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hide&#x2F;Unhide Non-Bookmarked Lines on Sat, 07 Mar 2020 19:50:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a></p>
<p dir="auto"><em><strong>It seems like you could run your bookmarking operation, then do a “Inverse Bookmark” command, and then run the script <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a> provided…to get what you want?</strong></em></p>
<p dir="auto">Yes, that’s a good idea! I did just that, and it hid everything I didn’t need to edit. Thank you.</p>
<p dir="auto"><em><strong>24000 things to examine and edit is a huge manual task.</strong></em></p>
<p dir="auto">I don’t thing it’s something that can be automated though. The issue is that I have all the download links in one database (which I’m editing through Notepad++), and the files are stored on a seperate server. The task I am currently processing, is to randomize all filenames:</p>
<pre><code>https://www.example.com/74547854787fileone.zip
https://www.example.com/56647979548filetwo.zip
https://www.example.com/01324679462filethree.zip
https://www.example.com/64647452105filefour.zip
</code></pre>
<p dir="auto">So not only do I need to complete the task of randomizing the filenames (A task I’m achieving using Bulk Rename Utility), I have to then ensure the download links are changed to represent the relevant filename.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51222</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51222</guid><dc:creator><![CDATA[Mike Smith]]></dc:creator><pubDate>Sat, 07 Mar 2020 19:50:01 GMT</pubDate></item><item><title><![CDATA[Reply to Hide&#x2F;Unhide Non-Bookmarked Lines on Sat, 07 Mar 2020 14:24:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/17928">@Mike-Smith</a> said in <a href="/post/51214">Hide/Unhide Non-Bookmarked Lines</a>:</p>
<blockquote>
<p dir="auto">I need to go through the painful task of editing each one of them</p>
</blockquote>
<p dir="auto">24000 things to examine and edit is a huge manual task.  Perhaps if you elaborate a bit more and/or show some data, someone here might have some automation hints for you?  Maybe it isn’t possible…but hopefully something could be done.</p>
<blockquote>
<p dir="auto">and I don’t know how to unhide them either.</p>
</blockquote>
<p dir="auto">As far as I know, Notepad++'s menus only offers a “Hide Lines”.  After you’ve done that one or more times, you’ll see some arrows in the margin, example:</p>
<p dir="auto"><img src="/assets/uploads/files/1583590697464-a874f139-d0df-4aff-a6e8-532b71d7acde-image.png" alt="a874f139-d0df-4aff-a6e8-532b71d7acde-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">So the way to “unhide” these lines is to click on one of the green arrows.  If you have a script that hides a lot of lines, showing them all again when desired is problematic because you’d have to click on a lot of green arrows.  At that point the better way would be to simply restart Notepad++ (which doesn’t remember the status of hidden lines when exited and re-run).</p>
<blockquote>
<p dir="auto">I do indeed wish to hide non-bookmarked lines</p>
</blockquote>
<p dir="auto">It seems like you could run your bookmarking operation, then do a “Inverse Bookmark” command, and then run the script <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a> provided…to get what you want?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51216</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51216</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 07 Mar 2020 14:24:44 GMT</pubDate></item><item><title><![CDATA[Reply to Hide&#x2F;Unhide Non-Bookmarked Lines on Sat, 07 Mar 2020 09:16:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> Thank you both for your input.</p>
<p dir="auto">I do indeed wish to hide <strong>non-bookmarked</strong> lines. Although the code above seems to hide bookmarked lines only - and I don’t know how to unhide them either.</p>
<p dir="auto">The reasoning is that I have a large database which contains over 24,000 download links - one per line, and I need to go through the painful task of editing each one of them. (I can’t see any other way to modify filenames on one server &amp; modifying the respective link on another server at the same time!)</p>
<p dir="auto">So to assist with the work, I can highlight all the download links by bookmarking them, and then hiding all other information, which would allow me to sift through the links easier.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51214</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51214</guid><dc:creator><![CDATA[Mike Smith]]></dc:creator><pubDate>Sat, 07 Mar 2020 09:16:39 GMT</pubDate></item><item><title><![CDATA[Reply to Hide&#x2F;Unhide Non-Bookmarked Lines on Fri, 06 Mar 2020 19:52:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a><br />
you are correct and I thought is <em><strong>on bookmarked lines</strong></em> really correct?<br />
Well, <strong>non-bookmarked</strong> makes sense :-)<br />
Let’s see if OP wants to go that way.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51201</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51201</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Fri, 06 Mar 2020 19:52:04 GMT</pubDate></item><item><title><![CDATA[Reply to Hide&#x2F;Unhide Non-Bookmarked Lines on Fri, 06 Mar 2020 19:49:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/17928">@Mike-Smith</a></p>
<p dir="auto">The hide lines feature in Notepad++ is “underdeveloped”; I’d stay away from it unless and until it is made better by the developers.  BUT…I can see how what you want to do is valuable.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@Ekopalypse</a> OP wanted to hide NON bookmarked lines but AFAICT at a quick look, your P.S. will hide the bookmarked lines instead?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51197</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51197</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 06 Mar 2020 19:49:55 GMT</pubDate></item><item><title><![CDATA[Reply to Hide&#x2F;Unhide Non-Bookmarked Lines on Fri, 06 Mar 2020 19:42:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/17928">@Mike-Smith</a></p>
<p dir="auto">afaik, not as builtin feature.<br />
A possible solution might be to use a scripting language plugin<br />
and some code similar to the pythonscript below.</p>
<pre><code>from Npp import editor

bookmark_mask = 1&lt;&lt;24
line = 0
while True:
    line = editor.markerNext(line, bookmark_mask)
    if line == -1:
        break
    editor.hideLines(line,line)
    line+=1
</code></pre>
<p dir="auto">This is just some demo code demonstrating the feature.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51194</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51194</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Fri, 06 Mar 2020 19:42:23 GMT</pubDate></item></channel></rss>