<?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[Find All result with lines count in the summary line?]]></title><description><![CDATA[<p dir="auto">I have got a suggestion, please (if it isn’t already possible):<br />
I have searched for “Options” with <strong>Find All</strong> and get:<br />
<code>Search "Options" (86 hits in 1 file of 1 searched)</code><br />
…</p>
<p dir="auto">It would be nice if I could see additionaly  to the <em>hits count</em> the <em>lines count</em> “<strong>in 82 lines</strong>”:<br />
<code>Search "Options" (86 hits in 82 lines in 1 file of 1 searched)</code></p>
]]></description><link>https://community.notepad-plus-plus.org/topic/23679/find-all-result-with-lines-count-in-the-summary-line</link><generator>RSS for Node</generator><lastBuildDate>Wed, 18 Nov 2026 02:02:45 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/23679.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Oct 2022 16:21:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Find All result with lines count in the summary line? on Fri, 28 Oct 2022 19:36:33 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a>,<br />
I use this “<code>Search Result window: show only one entry per found line</code>” setting and like it very much because all these duplicate superfluous lines which bothered me are gone :-). I think this setting was introduced only a few months ago. I haven’t encountered any issues yet but of course this does not mean there aren’t any.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/80973</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/80973</guid><dc:creator><![CDATA[datatraveller1]]></dc:creator><pubDate>Fri, 28 Oct 2022 19:36:33 GMT</pubDate></item><item><title><![CDATA[Reply to Find All result with lines count in the summary line? on Fri, 28 Oct 2022 18:15:11 GMT]]></title><description><![CDATA[<p dir="auto">By the by, I prefer the technique shown above (with <code>.*</code>) to using this Notepad++ setting:</p>
<p dir="auto"><img src="/assets/uploads/files/1666980794882-984fa2c0-3ba4-4c22-ae67-f38e01b6e2d7-image.png" alt="984fa2c0-3ba4-4c22-ae67-f38e01b6e2d7-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Why?</p>
<ul>
<li>I feel that setting choice still has some bugs in it :-(</li>
<li>It is easier to switch between what I want to do at any given time if I can just do it right in the <em>Find</em> window, without having to slog over to <em>Preferences</em> in the UI.</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/80969</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/80969</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 28 Oct 2022 18:15:11 GMT</pubDate></item><item><title><![CDATA[Reply to Find All result with lines count in the summary line? on Fri, 28 Oct 2022 17:26:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> said in <a href="/post/80959">Find All result with lines count in the summary line?</a>:</p>
<blockquote>
<p dir="auto">a.*</p>
</blockquote>
<p dir="auto">By the way, the reason appending <code>.*</code> to a bit of search text works is because it says to the search engine to match the search text specified, then match zero or more occurrences of <em>any character</em> on the line.</p>
<p dir="auto">Since such a match extends from the match of the first bit of search text specified on the line out to the end of the line, a maximum of ONE match per line can occur, no matter how many times the original search text is duplicated on that line.</p>
<p dir="auto">Thus, you end up with “hit count” = “lines (with matches) count”.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/80964</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/80964</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 28 Oct 2022 17:26:55 GMT</pubDate></item><item><title><![CDATA[Reply to Find All result with lines count in the summary line? on Fri, 28 Oct 2022 17:22:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> No problem, I have just noticed that you posted additional comments, which I hadn’t seen before my suggestion to delete this thread. These are all useful workarounds - so thank you for that!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/80963</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/80963</guid><dc:creator><![CDATA[datatraveller1]]></dc:creator><pubDate>Fri, 28 Oct 2022 17:22:23 GMT</pubDate></item><item><title><![CDATA[Reply to Find All result with lines count in the summary line? on Fri, 28 Oct 2022 17:21:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/datatraveller1" aria-label="Profile: datatraveller1">@<bdi>datatraveller1</bdi></a> said in <a href="/post/80961">Find All result with lines count in the summary line?</a>:</p>
<blockquote>
<p dir="auto">I have opened a new issue.</p>
</blockquote>
<p dir="auto">Traditionally you link it here (if it was discussed here first before a real “issue” is made), but I will do that since you didn’t:  <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12415" rel="nofollow ugc">LINK</a>.</p>
<blockquote>
<p dir="auto">If you like you can delete this post here.</p>
</blockquote>
<p dir="auto">No sense in that, even if I could do that. :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/80962</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/80962</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 28 Oct 2022 17:21:51 GMT</pubDate></item><item><title><![CDATA[Reply to Find All result with lines count in the summary line? on Fri, 28 Oct 2022 17:13:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> ok, I have opened a new issue. If you like you can delete this post here.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/80961</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/80961</guid><dc:creator><![CDATA[datatraveller1]]></dc:creator><pubDate>Fri, 28 Oct 2022 17:13:35 GMT</pubDate></item><item><title><![CDATA[Reply to Find All result with lines count in the summary line? on Fri, 28 Oct 2022 17:22:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/datatraveller1" aria-label="Profile: datatraveller1">@<bdi>datatraveller1</bdi></a> said in <a href="/post/80958">Find All result with lines count in the summary line?</a>:</p>
<blockquote>
<p dir="auto">I have got a suggestion</p>
</blockquote>
<p dir="auto">No one that can have an impact will see your suggestion here.  Properly, suggestions are made following the advice <a href="https://community.notepad-plus-plus.org/topic/15741/faq-desk-feature-request-or-bug-report/1">HERE</a>.</p>
<hr />
<p dir="auto">You are seeking, it seems, the number of <em>lines</em> that have one or more search hits.  You can get this information by doing a second search in Regular expression mode with <code>.*</code> appended to your search text.</p>
<p dir="auto">Example:</p>
<pre><code class="language-txt">aa
a
bbbb
aaaaaaaaaa
</code></pre>
<p dir="auto">Search (using <em>Find All in Current Document</em>) for <code>a</code> and obtain: <code>Search "a" (13 hits in 1 file of 1 searched)</code></p>
<p dir="auto">Search (using <em>Find All in Current Document</em>) for <code>a.*</code> and obtain: <code> Search "a.*" (3 hits in 1 file of 1 searched)</code></p>
<p dir="auto">The second search’s 3 hits means that 3 <em>lines</em> had hits.</p>
<p dir="auto">Note that doing two searches is not a requirement, you can dispense with the first search and only search for <code>a.*</code> if you like.</p>
<p dir="auto">You could also use the <em>Count</em> function to obtain the same data (on the status bar of the <em>Find</em> window), but that would additionally require checking of the <em>Wrap around</em> checkbox in order to operate over the entire file.</p>
<p dir="auto">(Of course, the <em>. matches newline</em> checkbox needs to be unchecked for the aforementioned regular expression searches to work)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/80959</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/80959</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 28 Oct 2022 17:22:53 GMT</pubDate></item></channel></rss>