<?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[Using Find All results]]></title><description><![CDATA[<p dir="auto">I’m using N++ V8.5.6 under Windows 11 on a PC.  I looked at the manual and help text but what I found doesn’t work.  I do a Find All, e.g. for “Comcast” (no quotes) with multiple results.  I want to go to a specific result line.  According to the help, I should be able to double click my target line or press Enter on it in the results to make the cuersor move to the target line.  Neither action works.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/24865/using-find-all-results</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 19:09:18 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/24865.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Aug 2023 13:55:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using Find All results on Wed, 06 Sep 2023 13:15:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/larry-schwartz" aria-label="Profile: Larry-Schwartz">@<bdi>Larry-Schwartz</bdi></a> said in <a href="/post/89101">Using Find All results</a>:</p>
<blockquote>
<p dir="auto">licking on result’s  1 and 2 in the resultant “Line 1” or “Line 2” highlighted the string TV in BOTH lines in the file.</p>
</blockquote>
<p dir="auto">Ah, you are confusing the search’s selection and active line with the “smart highlighting” feature of Notepad++.</p>
<p dir="auto">Go into the editor; double-click on <code>tv</code>.  If you are using default colors, you will see 3 colors involved:<br />
<img src="/assets/uploads/files/1694005171176-e2ea2811-edd8-4dc4-857b-342f8ce45cf3-image.png" alt="e2ea2811-edd8-4dc4-857b-342f8ce45cf3-image.png" class=" img-fluid img-markdown" /></p>
<ul>
<li>Line 1 has the “Current Line Background” (the bluish-gray)</li>
<li>Line 1’s <code>tv</code> is highlighted with both the “Selected Text Colour” background (darker gray) <em>and</em> the “Smart Highlighting” (bright green) background, which combine to make a darker greeen background</li>
<li>Line 2’s <code>tv</code> is highlighted with just the “Smart Highlighting” (bright green) background</li>
</ul>
<p dir="auto">When you use Find All’s <strong>Search Results</strong> window, double-clicking on the result line will (1) set that line active (give it “Current Line Background”) and 2) select the match (<code>tv</code>) with the active editor selection (“Selected Text Colour”), and 3) if you have Smart Highlighting enabled (it is by default; see <a href="https://npp-user-manual.org/docs/preferences/#highlighting" rel="nofollow ugc">Settings &gt; Preferences &gt; Highlighting</a> &gt; <strong>Smart Highlighting</strong>)</p>
<p dir="auto">It is both selecting the active match <em>and</em> doing the Smart Highlighting.  If you don’t like Smart Highlighting, turn it off –  if you do, then it will look more like this new screenshot, and will no longer have the green Smart Highlighting, so you can better tell which match is being selected:<br />
<img src="/assets/uploads/files/1694005867968-0f7e4e70-26e6-4194-8bb8-b4f34db50aed-image.png" alt="0f7e4e70-26e6-4194-8bb8-b4f34db50aed-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Please note that by default, Smart Highlight only works on complete words… so if you had searched for <code>ntr</code> from the <code>entry</code>, or done a regular expression search <code>[nt] tv</code> (which matches <code>n tv</code> from <code>verizon tv</code> <em>and</em> <code>t tv</code> from <code>comcast tv</code>), then it would not have shown the Smart Highlighting (unless you, like I, un-checked the <strong>☐ Match whole word only</strong> setting, in which case it would show smart highlighting for just the ones that are exact matches with the active selection, regardless of whether the regular expression would have selected more)<br />
<img src="/assets/uploads/files/1694006136071-b120d613-1932-4fce-b8df-e0fc8daf0e7f-image.png" alt="b120d613-1932-4fce-b8df-e0fc8daf0e7f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">-–</p>
<p dir="auto"><strong>References</strong></p>
<ul>
<li>User Manual: <a href="https://npp-user-manual.org/docs/preferences/#global-styles" rel="nofollow ugc">Style Configurator &gt; Global Styles</a>: describes the “Current Line Background”, “Selected Text Colour”, and “Smart Highlighting” style definitions</li>
<li>User Manual:  <a href="https://npp-user-manual.org/docs/preferences/#highlighting" rel="nofollow ugc">Settings &gt; Preferences &gt; Highlighting</a>: describes <strong>Smart Highlighting</strong></li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/89109</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/89109</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 06 Sep 2023 13:15:45 GMT</pubDate></item><item><title><![CDATA[Reply to Using Find All results on Wed, 06 Sep 2023 00:24:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/larry-schwartz" aria-label="Profile: Larry-Schwartz">@<bdi>Larry-Schwartz</bdi></a> said in <a href="/post/89101">Using Find All results</a>:</p>
<blockquote>
<p dir="auto">Find All “tv” returned lines 1 and 2.  Clicking on result’s  1 and 2 in the resultant “Line 1” or “Line 2” highlighted the string TV in BOTH lines in the file.  Clicking on the word LINE or the 1 or 2, before and after highlighting them, produced no result.</p>
</blockquote>
<p dir="auto">I’ve read this thread trying to understand the issue.</p>
<p dir="auto">However this last post with the wording I’ve included above seems to indicate double clicking on different portions of the “search result” line either results in the cursor moving to the selected line, OR NOT depending on which area. See the image below, is this what you mean?</p>
<p dir="auto"><img src="/assets/uploads/files/1693959705094-aff983b0-632f-4101-a168-5bd74954c992-clicking.jpg" alt="aff983b0-632f-4101-a168-5bd74954c992-clicking.JPG" class=" img-fluid img-markdown" /></p>
<p dir="auto">If so, that’s very peculiar. In my test, double clicking on ANY portion of a search result line will move the cursor to the correct line in the file.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/89102</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/89102</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 06 Sep 2023 00:24:31 GMT</pubDate></item><item><title><![CDATA[Reply to Using Find All results on Tue, 05 Sep 2023 23:34:46 GMT]]></title><description><![CDATA[<p dir="auto">To avoid the OneDrive (paraphrasing Abou Ben Adhem, may it never rest in peace) possible problem, I created a new file in NP++:<br />
entry 1 verizon tv<br />
entry 2 comcast tv<br />
entry 3 no ISP<br />
Find All “tv” returned lines 1 and 2.  Clicking on result’s  1 and 2 in the resultant “Line 1” or “Line 2” highlighted the string TV in BOTH lines in the file.  Clicking on the word LINE or the 1 or 2, before and after highlighting them, produced no result.<br />
Thanks to all for their interest in my little problem.  I’m working with a 5000+ line file so getting this working can be a big help.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/89101</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/89101</guid><dc:creator><![CDATA[Larry Schwartz]]></dc:creator><pubDate>Tue, 05 Sep 2023 23:34:46 GMT</pubDate></item><item><title><![CDATA[Reply to Using Find All results on Tue, 29 Aug 2023 17:23:19 GMT]]></title><description><![CDATA[<p dir="auto">I think it is my day for missing things, as I missed TWO pieces of data that the OP already provided.  My bad. :(</p>
]]></description><link>https://community.notepad-plus-plus.org/post/88971</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/88971</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 29 Aug 2023 17:23:19 GMT</pubDate></item><item><title><![CDATA[Reply to Using Find All results on Tue, 29 Aug 2023 16:37:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/larry-schwartz" aria-label="Profile: Larry-Schwartz">@<bdi>Larry-Schwartz</bdi></a> said in <a href="/post/88936">Using Find All results</a>:</p>
<blockquote>
<p dir="auto">C:\Users\Owner\OneDrive\Desktop\Scratchpad\Scratch Pad 07-24.txt</p>
</blockquote>
<p dir="auto">That may be a clue. You seem to be using OneDrive.</p>
<p dir="auto">OneDrive tries to keep local copies of files consistent with the copies on the remote OneDrive servers. That process has created issues for Notepad++ in the past though from what I recall, it was spurious “file modified, do you want to reload it?” notifications. It’s possible OneDrive causes unexpected results for Find-All.</p>
<p dir="auto">I have OneDrive disabled on my machine and so don’t have a way to try to replicate your issue. Hopefully someone else on the forums uses OneDrive and can do the Comcast/Verizon test.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/88968</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/88968</guid><dc:creator><![CDATA[mkupper]]></dc:creator><pubDate>Tue, 29 Aug 2023 16:37:59 GMT</pubDate></item><item><title><![CDATA[Reply to Using Find All results on Tue, 29 Aug 2023 10:46:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/larry-schwartz" aria-label="Profile: Larry-Schwartz">@<bdi>Larry-Schwartz</bdi></a> said in <a href="/post/88943">Using Find All results</a>:</p>
<blockquote>
<p dir="auto">I looked at the release note but the problem still exists for me.  What is the “new 1”?</p>
</blockquote>
<p dir="auto">Interesting.<br />
Ah, OK, I see that <code>new 1</code> was the name of the file in someone else’s screenshot, not yours.<br />
What is the filename/path in your case?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/88952</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/88952</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 29 Aug 2023 10:46:47 GMT</pubDate></item><item><title><![CDATA[Reply to Using Find All results on Tue, 29 Aug 2023 07:34:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: Michael-Vincent">@<bdi>Michael-Vincent</bdi></a> said in <a href="/post/88934">Using Find All results</a>:</p>
<blockquote>
<p dir="auto">Comcast is the only option  I do not have Verizon in my area […]</p>
</blockquote>
<p dir="auto">You mean TweedleDumb and TweedleDumber? 🤨  (I’ve had both, and can’t decide which is worse - Vz might be faster when it works, but I think they deliberately withhold technical info from their service people, to force them to call in and get their sales department involved in everything.)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/88950</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/88950</guid><dc:creator><![CDATA[TBugReporter]]></dc:creator><pubDate>Tue, 29 Aug 2023 07:34:17 GMT</pubDate></item><item><title><![CDATA[Reply to Using Find All results on Mon, 28 Aug 2023 21:12:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/larry-schwartz" aria-label="Profile: Larry-Schwartz">@<bdi>Larry-Schwartz</bdi></a> said in <a href="/post/88931">Using Find All results</a>:</p>
<blockquote>
<p dir="auto">N++ V8.5.6 under Windows 11 on a PC.  64 bit version.  I looked at the release note but the problem still exists for me.  What is the “new 1”?</p>
</blockquote>
]]></description><link>https://community.notepad-plus-plus.org/post/88943</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/88943</guid><dc:creator><![CDATA[Larry Schwartz]]></dc:creator><pubDate>Mon, 28 Aug 2023 21:12:30 GMT</pubDate></item><item><title><![CDATA[Reply to Using Find All results on Mon, 28 Aug 2023 19:45:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/larry-schwartz" aria-label="Profile: Larry-Schwartz">@<bdi>Larry-Schwartz</bdi></a></p>
<p dir="auto">What version of Notepad++ are you using?</p>
<p dir="auto">Up until very recently, searching this way in the <code>new 1</code> file did not work correctly.</p>
<p dir="auto">See point number 5 here: <a href="https://community.notepad-plus-plus.org/topic/24825/notepad-v8-5-6-release">https://community.notepad-plus-plus.org/topic/24825/notepad-v8-5-6-release</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/88939</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/88939</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 28 Aug 2023 19:45:58 GMT</pubDate></item><item><title><![CDATA[Reply to Using Find All results on Mon, 28 Aug 2023 17:46:41 GMT]]></title><description><![CDATA[<p dir="auto">I did not change anything after clicking Find All.  I tried again with the search argument PDF.  Same type of results.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/88937</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/88937</guid><dc:creator><![CDATA[Larry Schwartz]]></dc:creator><pubDate>Mon, 28 Aug 2023 17:46:41 GMT</pubDate></item><item><title><![CDATA[Reply to Using Find All results on Mon, 28 Aug 2023 16:24:47 GMT]]></title><description><![CDATA[<p dir="auto">The Find box contains:</p>
<p dir="auto">C:\Users\Owner\OneDrive\Desktop\Scratchpad\Scratch Pad 07-24.txt (1 hit)<br />
Line 1225:  I recommend sticking with Comcast, but …</p>
<p dir="auto">The file name line is green.  The result line is black on white except that the line number and the word Comcast are red/orange.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/88936</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/88936</guid><dc:creator><![CDATA[Larry Schwartz]]></dc:creator><pubDate>Mon, 28 Aug 2023 16:24:47 GMT</pubDate></item><item><title><![CDATA[Reply to Using Find All results on Mon, 28 Aug 2023 15:31:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> said in <a href="/post/88932">Using Find All results</a>:</p>
<blockquote>
<p dir="auto">It works for me.</p>
</blockquote>
<p dir="auto">Works for me too (unfortunately) as Comcast is the only option to click.  I do not have Verizon in my area and thus am stuck with the anti-competitive, exorbitant, internet-only over-pricing for asymmetrical up/down while all communities around me enjoy gigabit FIOS.</p>
<p dir="auto">/sarcasm</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/88934</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/88934</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Mon, 28 Aug 2023 15:31:08 GMT</pubDate></item><item><title><![CDATA[Reply to Using Find All results on Mon, 28 Aug 2023 15:02:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/larry-schwartz" aria-label="Profile: Larry-Schwartz">@<bdi>Larry-Schwartz</bdi></a> I also successfully replicated <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> results though saw one thing when trying to break the finder.</p>
<p dir="auto">I did the find-all using the same text that PeterJones used.  I then replaced the string “Comcast” with the letter “x” and then started double clicking on the find-all results for Comcast. I discovered that although find-all displays line numbers that internally it’s using file’s byte or character offset and the match size’s character count of the original match to set up the selection when jumping to a find result.</p>
<p dir="auto">A similar test is to do the find-all and then to add a new line 1 in the file line with zzzzzzzz…zzzzzzzzzzzzz. Double clicking on the find-all results will jump to line 1 and select the 7-character section of that line that matches where that instance of “Comcast” was at the time the find-all was run.</p>
<p dir="auto">That makes me wonder if Larry-Schwartz did the find-all, edited or modified his text file, and then expected the find-all results to track where the words “Comcast” were in the edited file. That would give the impression of “not working” to some people.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/88933</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/88933</guid><dc:creator><![CDATA[mkupper]]></dc:creator><pubDate>Mon, 28 Aug 2023 15:02:04 GMT</pubDate></item><item><title><![CDATA[Reply to Using Find All results on Mon, 28 Aug 2023 14:22:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/larry-schwartz" aria-label="Profile: Larry-Schwartz">@<bdi>Larry-Schwartz</bdi></a></p>
<p dir="auto">It works for me.  Double clicking on the pink highlighted line in the <strong>Search results</strong> takes me to line 5 in the text I searched</p>
<p dir="auto"><img src="/assets/uploads/files/1693232532787-315d8276-fe3a-409b-bbb3-d25e5414dc0d-image.png" alt="315d8276-fe3a-409b-bbb3-d25e5414dc0d-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/88932</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/88932</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 28 Aug 2023 14:22:49 GMT</pubDate></item></channel></rss>