<?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[New feature: Allow additional line on each search results]]></title><description><![CDATA[<p dir="auto">When displaying search results, say it finds something on line 53 and 104…Have an option to show say 3 more lines. So the results would show 53 to 56 and 104 to 107.</p>
<p dir="auto">Reason is that code is often formatted like<br />
dosomething(param1,<br />
param2,<br />
param3);</p>
<p dir="auto">And we might want to see what is on line 3.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/27520/new-feature-allow-additional-line-on-each-search-results</link><generator>RSS for Node</generator><lastBuildDate>Sat, 02 May 2026 16:15:38 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/27520.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Apr 2026 13:46:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to New feature: Allow additional line on each search results on Fri, 01 May 2026 00:49:19 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> said in <a href="/post/105391">New feature: Allow additional line on each search results</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/27184">@Coises</a></p>
<p dir="auto">I can’t tell if you’ve considered this, but one way to do it would be in conjunction with hiding lines.  You could hide lines that don’t meet the criterion of -M through +N, where M would be a user-chosen number of lines <em>before</em> the hit, and N a user-selected count of lines <em>after</em> the search match.</p>
</blockquote>
<p dir="auto">At first thought, I believe that would be significantly easier to implement than doing it in the search results window. As a plus, it (or a close approximation) could even be available after the search with something like an “expand visible blocks” command.</p>
<p dir="auto">The downside is that <strong>Show</strong> commands only work on the current document; you can’t show in all open documents (and it wouldn’t even make sense for find in files, whenever I finally get that done). At present, my use of hidden lines (using Scintilla’s function directly) and Notepad++’s way of doing it (keeping its own internal table, inaccessible to plugins, of what ranges are hidden) are at odds with one another, which causes any changes my plugin has made to hidden lines to be lost when any other tab is switched into the view. Thus far, I have not been able to devise any solution to this.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105392</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105392</guid><dc:creator><![CDATA[Coises]]></dc:creator><pubDate>Fri, 01 May 2026 00:49:19 GMT</pubDate></item><item><title><![CDATA[Reply to New feature: Allow additional line on each search results on Thu, 30 Apr 2026 23:58:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/27184">@Coises</a></p>
<p dir="auto">I can’t tell if you’ve considered this, but one way to do it would be in conjunction with hiding lines.  You could hide lines that don’t meet the criterion of -M through +N, where M would be a user-chosen number of lines <em>before</em> the hit, and N a user-selected count of lines <em>after</em> the search match.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105391</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105391</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 30 Apr 2026 23:58:09 GMT</pubDate></item><item><title><![CDATA[Reply to New feature: Allow additional line on each search results on Thu, 30 Apr 2026 18:04:25 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> said in <a href="/post/105384">New feature: Allow additional line on each search results</a>:</p>
<blockquote>
<p dir="auto">However, it might be a nice suggestion for the Search++ plugin.</p>
</blockquote>
<p dir="auto">Noted. This is certainly the time to consider it, while things are still unstable and I’m not hesitant to make potentially breaking changes. (Not that I expect to get beyond that state for at least a couple of months yet.) It would probably entail redesigning the way I create a search results list, especially if it is to be dynamic (i.e., that you can decide <em>after</em> you’ve done the search that you need to see more context).</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/38992">@Alain-Savard</a>, if you’re interesting in weighing in on this plugin-in-progress (I’m the author), there’s a thread about it <a href="https://community.notepad-plus-plus.org/topic/27473/">here</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105389</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105389</guid><dc:creator><![CDATA[Coises]]></dc:creator><pubDate>Thu, 30 Apr 2026 18:04:25 GMT</pubDate></item><item><title><![CDATA[Reply to New feature: Allow additional line on each search results on Thu, 30 Apr 2026 14:20:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/38992">@Alain-Savard</a></p>
<p dir="auto">Something like this has been proposed before, and I’ll have to assume that the developer and other code contributors, while they recognize the value of the idea, have thought that implementing it might be awkward – not coding it, but rather what the resulting solution looked like. So…I wouldn’t count on seeing it natively in Notepad++.</p>
<p dir="auto">However, it might be a nice suggestion for the Search++ plugin.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105384</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105384</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 30 Apr 2026 14:20:01 GMT</pubDate></item></channel></rss>