<?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[Ability to cancel long running search operations]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">When running a lengthy search using “Find in Files” or “Find All in Current Document”,  the search dialog locks up and shows “(Not Responding)” in the title. There doesn’t seem to be any way to cancel or terminate the search. This can happen by accident - for example, by not noticing that the regular expression search mode is ticked as in the following screenshot.</p>
<p dir="auto"><img src="/assets/uploads/files/1630545874743-e62b841c-a208-43fa-80a8-0c289218cd1b-image.png" alt="e62b841c-a208-43fa-80a8-0c289218cd1b-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">According, to <a href="https://community.notepad-plus-plus.org/topic/13728/a-way-to-terminate-long-searches">a reply to a previous post</a>, there used to be a “big fat CANCEL button” but this doesn’t appear to be there on my installation of v8.1.4.</p>
<p dir="auto">Thanks,<br />
Dave</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/21766/ability-to-cancel-long-running-search-operations</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 17:34:38 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/21766.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 02 Sep 2021 01:36:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ability to cancel long running search operations on Fri, 10 Sep 2021 13:03:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/23021">@Dave-Sparks</a> ,</p>
<p dir="auto">As my screenshot indicates, the <strong>Find In Files progress…</strong> reliably shows up on my v8.1.4 edition; the folder I showed an example from had a ~50MB text file (the one shown), a couple of small text files, and a couple of binary files, and it had no problem starting the progress dialog with the cancel button.</p>
<p dir="auto">That said, I guess that this point, you really should file a bug report (making sure you link that video in the report), because even though I cannot replicate your problem, it appears to be a real issue where the existing feature is <em>not</em> working for you, for whatever reason.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69602</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69602</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 10 Sep 2021 13:03:51 GMT</pubDate></item><item><title><![CDATA[Reply to Ability to cancel long running search operations on Fri, 10 Sep 2021 04:55:20 GMT]]></title><description><![CDATA[<p dir="auto">It happens with only one file in the search directory. See <a href="https://davesparks.tinytake.com/msc/NTgxMTA2N18xNzg1NDgyNg" rel="nofollow ugc">https://davesparks.tinytake.com/msc/NTgxMTA2N18xNzg1NDgyNg</a></p>
<p dir="auto">If there is more than one file, then it takes a lot longer. Sometimes the “Find In Files progress…” dialog does appear almost straight away, but more often it does not appear at all.</p>
<p dir="auto">Here’s the debug info:</p>
<pre><code>Notepad++ v8.1.4   (64-bit)
Build time : Aug 21 2021 - 13:04:59
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit) 
OS Version : 2009
OS Build : 19043.1202
Current ANSI codepage : 1252
Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll 

</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/69593</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69593</guid><dc:creator><![CDATA[Dave Sparks]]></dc:creator><pubDate>Fri, 10 Sep 2021 04:55:20 GMT</pubDate></item><item><title><![CDATA[Reply to Ability to cancel long running search operations on Thu, 09 Sep 2021 13:06:52 GMT]]></title><description><![CDATA[<p dir="auto">The delay will also depend on the number of files that there is under the D:\UserLogs, and the number of sub directories and files in those sub directories as well as the In all sub-folders is checked.</p>
<p dir="auto">If you have 500,000 files in that directory tree it is going to be a while before the Find in Files progress box appears.</p>
<p dir="auto">Also note that you have no filter set so that it is going to search every file in that directory tree, if you can set a filter so that only the files you need to search are searched.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69583</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69583</guid><dc:creator><![CDATA[Nick Brown]]></dc:creator><pubDate>Thu, 09 Sep 2021 13:06:52 GMT</pubDate></item><item><title><![CDATA[Reply to Ability to cancel long running search operations on Thu, 09 Sep 2021 12:57:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/23021">@Dave-Sparks</a> said in <a href="/post/69581">Ability to cancel long running search operations</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@PeterJones</a> said in <a href="/post/69481">Ability to cancel long running search operations</a>:</p>
<blockquote>
<p dir="auto">Then you misread or misunderstood that previous post.</p>
</blockquote>
<p dir="auto">No… but I think you may have misread or misunderstood mine 😀</p>
</blockquote>
<p dir="auto">Sorry, it’s easy to get confused when your screenshot says one thing (<strong>FIND</strong> tab shown in screenshot) but your text says another.</p>
<blockquote>
<blockquote>
<p dir="auto">When running a lengthy search using <strong>“Find in Files”</strong> or “Find All in Current Document”</p>
</blockquote>
<p dir="auto">See the following screenshot for an example:</p>
<p dir="auto"><img src="/assets/uploads/files/1631178118999-5f18290a-4657-4f14-8d5f-fba25e3f1fef-image.png" alt="5f18290a-4657-4f14-8d5f-fba25e3f1fef-image.png" class=" img-fluid img-markdown" /></p>
</blockquote>
<p dir="auto">And my screenshot disagrees:</p>
<p dir="auto"><img src="/assets/uploads/files/1631192055913-d8d349be-1211-4f3a-995c-c87fe2cbe706-image.png" alt="d8d349be-1211-4f3a-995c-c87fe2cbe706-image.png" class=" img-fluid img-markdown" /></p>
<blockquote>
<p dir="auto">I’ll make a Feature Request on github as described.</p>
</blockquote>
<p dir="auto">If you do, make sure you share your <strong>?</strong>-menu’s <strong>Debug Info</strong>.  Really, I would suggest sharing that here first, to see if we can replicate your problem.  Because as shown above, I cannot replicate the problem: the progress bar comes up fine on Find in Files.</p>
<pre><code>Notepad++ v8.1.4   (64-bit)
Build time : Aug 21 2021 - 13:04:59
Path : C:\usr\local\apps\notepad++\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit) 
OS Version : 2009
OS Build : 19042.1165
Current ANSI codepage : 1252
Plugins : AutoSave.dll ComparePlugin.dll ExtSettings.dll MarkdownViewerPlusPlus.dll mimeTools.dll NppConsole.dll NppConverter.dll NppEditorConfig.dll NppExec.dll NppExport.dll NppFTP.dll NppUISpy.dll PreviewHTML.dll PythonScript.dll QuickText.dll TagLEET.dll XMLTools.dll 
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/69582</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69582</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 09 Sep 2021 12:57:30 GMT</pubDate></item><item><title><![CDATA[Reply to Ability to cancel long running search operations on Thu, 09 Sep 2021 09:14:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@PeterJones</a> said in <a href="/post/69481">Ability to cancel long running search operations</a>:</p>
<blockquote>
<p dir="auto">Then you misread or misunderstood that previous post.</p>
</blockquote>
<p dir="auto">No… but I think you may have misread or misunderstood mine 😀</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/23021">@dave-sparks</a> said in <a href="/post/21766">Ability to cancel long running search operations</a>:</p>
<blockquote>
<p dir="auto">When running a lengthy search using <strong>“Find in Files”</strong> or “Find All in Current Document”</p>
</blockquote>
<p dir="auto">See the following screenshot for an example:</p>
<p dir="auto"><img src="/assets/uploads/files/1631178118999-5f18290a-4657-4f14-8d5f-fba25e3f1fef-image.png" alt="5f18290a-4657-4f14-8d5f-fba25e3f1fef-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">After waiting at least 5 minutes, a progress bar does appear and that does have a Cancel button, however I’m usually already on the kill button by then.</p>
<p dir="auto">I’ll make a Feature Request on github as described.</p>
<p dir="auto">Thanks.<br />
Dave Sparks</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69581</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69581</guid><dc:creator><![CDATA[Dave Sparks]]></dc:creator><pubDate>Thu, 09 Sep 2021 09:14:33 GMT</pubDate></item><item><title><![CDATA[Reply to Ability to cancel long running search operations on Sat, 04 Sep 2021 17:51:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/23021">@Dave-Sparks</a> said in <a href="/post/69433">Ability to cancel long running search operations</a>:</p>
<blockquote>
<p dir="auto">According, to <a href="https://community.notepad-plus-plus.org/topic/13728/a-way-to-terminate-long-searches">a reply to a previous post</a>, there used to be a “big fat CANCEL button” but this doesn’t appear to be there on my installation of v8.1.4.</p>
</blockquote>
<p dir="auto">Then you misread or misunderstood that previous post.  <strong>Find in Files</strong> (two tabs over in your screenshot) has a big <strong>CANCEL</strong> button while it’s running.  A normal single-file <strong>Find</strong> (even when you click <strong>Find All in Current Document</strong> or <strong>Find All in All Opened Documents</strong>) does <em>not</em> have a Cancel button, and, as far as I know, has no way to cancel/interrupt the search.</p>
<p dir="auto">It might be nice to be able to interrupt/cancel such a search.  Unfortunately, I don’t think there is currently a way.  To get that feature added, you would have to make an official Feature Request, as described in our <a href="https://community.notepad-plus-plus.org/topic/15741/faq-desk-feature-request-or-bug-report">FAQ entry</a></p>
<p dir="auto">And yes, I can confirm that if I have 2M lines of <code>ABCT18C9</code> and search for <code>[T89]</code> in normal mode, it will correctly exit finding none in a few seconds; but if I accidentally search for <code>[T89]</code> in regex mode instead of normal mode, it goes into “Not Responding” for at least 5 minutes, whereupon I killed Notepad++.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69481</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69481</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sat, 04 Sep 2021 17:51:27 GMT</pubDate></item></channel></rss>