<?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[Suggestion: Problems with &quot;Find selected text&quot; via Ctrl F3]]></title><description><![CDATA[<p dir="auto">Figured out that find selected text via Ctrl+F3 takes into account if “Extended mode” was enabled once formerly in the past for absolute different search. So it’s interpret “\n” in selected as escape character! I thing it’s misleading and should be disabled.</p>
<p dir="auto">Here is another thing. Searched text is limited to 2047 letters length.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/22500/suggestion-problems-with-find-selected-text-via-ctrl-f3</link><generator>RSS for Node</generator><lastBuildDate>Mon, 15 Jun 2026 01:40:03 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/22500.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 05 Feb 2022 11:34:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Suggestion: Problems with &quot;Find selected text&quot; via Ctrl F3 on Mon, 07 Feb 2022 15:15:48 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></p>
<h1>FEATURE trumps BUG !</h1>
]]></description><link>https://community.notepad-plus-plus.org/post/73833</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73833</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 07 Feb 2022 15:15:48 GMT</pubDate></item><item><title><![CDATA[Reply to Suggestion: Problems with &quot;Find selected text&quot; via Ctrl F3 on Mon, 07 Feb 2022 15:13:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ultrafeel" aria-label="Profile: ultrafeel">@<bdi>ultrafeel</bdi></a> ,</p>
<p dir="auto">Interesting.</p>
<pre><code>free\tsoftware
free	software
free\tsoftware
free	software
free\tsoftware
free	software
free\tsoftware
free	software
</code></pre>
<p dir="auto">If I select <code>free\tsoftware</code> and do Ctrl+F3 when the last FIND mode was Regular Text, the Ctrl+F3 will go between the lines that are literally <code>free\tsoftware</code>.  If I change the FIND mode to Extended mode, and select that same first row then hit Ctrl+F3, it finds <code>free	software</code> from then on out.  The same happens if I have Regular Expression mode as the last selected.</p>
<p dir="auto">(The same thing happened in v8.2 and v8.3)</p>
<p dir="auto">So yes, it does appear that Ctrl+F3 is paying attention to the search-mode setting from the Find dialog, and that if you are in Extended or Regular expression mode, select text which includes a plain-text backslash-then-character, that term will be treated as its Extended or Regex meaning when doing the Ctrl+F3 search.</p>
<p dir="auto">(Like Alan, I typically only use Ctrl+F3 with caret-based rather than selection based, so had never run across this situation before)</p>
<p dir="auto">My guess is that there is at lease one someone out there who had already found that out years ago, and would consider that a necessary feature, instead of a bug to be fixed, and would be very upset if that behavior was changed in a future release.  Because I can see the extreme usefulness of being able to type your regex in the Notepad++ editor window, rather than in the tiny FIND dialog box, and then select the regex, and use Ctrl+F3 to start the regex search.  Now that I know that exists, I might start using it … ooh, yes, it even works for <code>(?x)</code>-multi-line regex with comments.  I can now use a full commented regular expression!</p>
<p dir="auto">if I put the</p>
<pre><code>(?x)
free    # comment
\h+
\w+
(?!!)

free\tsoftware
free	software
free\tsoftware
free	software
free\tsoftware
free	software
free\tsoftware
free	software!
free	food!
free	food
</code></pre>
<p dir="auto">and select the first block, then Ctrl+F3, I can find all the lines that are <code>free</code> followed by space(s) followed by a word, not followed by an exclamation point.</p>
<p dir="auto">Thanks for pointing me to this feature!  That’s awesome!  I think I will start using it when helping other people in the forum, and especially when developing FunctionList regular expressions, which I like having comments for.  (I know, you wanted this bug fixed, but this is a feature that I think is awesome!  I now would be quite disappointed if this feature went away.)</p>
<p dir="auto">If you do put in a bug report, please let us know where, so that I can lobby that it be kept as-is, and instead that you be given an <em>option</em> as to whether it treats Ctrl+F3-searches as regular-mode searches, or whether it follows the FIND dialog settings.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73832</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73832</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 07 Feb 2022 15:13:24 GMT</pubDate></item><item><title><![CDATA[Reply to Suggestion: Problems with &quot;Find selected text&quot; via Ctrl F3 on Mon, 07 Feb 2022 15:05:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ultrafeel" aria-label="Profile: ultrafeel">@<bdi>ultrafeel</bdi></a></p>
<p dir="auto">Ah.  I’ve actually never considered searching this way – having something preselected and not depend upon the “Select” part of the Ctrl+F3 command (<em>Select and Find Next</em>) not doing the selection of the word at the caret.  But the usual case works and it is faster than opening up a closed Find window (or switching to it)…</p>
<p dir="auto">So, your point is valid.  It doesn’t lessen the validity of your point but how often is a user going to be affected by this?  I’d guess rarely.</p>
<p dir="auto">Much more often one might encounter the following similar thing:</p>
<ul>
<li>
<p dir="auto">select <code>test</code> wanting to find all matches</p>
</li>
<li>
<p dir="auto">press Ctrl+F3 repeatedly; software finds many occurrences of <code>test</code></p>
</li>
<li>
<p dir="auto">you find out later that software did not find <code>tester</code>, <code>tested</code>, <code>testing</code> because the <em>Match whole word only</em> checkbox in a closed Find window was ticked</p>
</li>
</ul>
<p dir="auto">Admittedly different, but perhaps another unintended result…</p>
<p dir="auto">If you want to put in a bug report I encourage you to do so.  See the advice on doing that <a href="https://community.notepad-plus-plus.org/topic/15741/faq-desk-feature-request-or-bug-report/">HERE</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73828</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73828</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 07 Feb 2022 15:05:28 GMT</pubDate></item><item><title><![CDATA[Reply to Suggestion: Problems with &quot;Find selected text&quot; via Ctrl F3 on Mon, 07 Feb 2022 14:48:46 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/73740">Suggestion: Problems with "Find selected text" via Ctrl F3</a>:</p>
<blockquote>
<p dir="auto">Put your caret in the first free (before the ) and press Ctrl+F3.</p>
</blockquote>
<p dir="auto">I’m talking aboult pressing Ctrl+F3. I mean you should</p>
<ol>
<li>set extended mode</li>
<li>Select text with escaped character , which occurs multiple times in the opened file. Not just put the caret.</li>
<li>Press Ctrl+F3</li>
<li>Error: Next occurance wouln’t be selected, as character was treated as special escaped character!<br />
So next <code>free\n software</code> wouldn’t be selected but</li>
</ol>
<pre><code>free
software
</code></pre>
<p dir="auto">(if it exists) would.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73823</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73823</guid><dc:creator><![CDATA[Ultrafeel]]></dc:creator><pubDate>Mon, 07 Feb 2022 14:48:46 GMT</pubDate></item><item><title><![CDATA[Reply to Suggestion: Problems with &quot;Find selected text&quot; via Ctrl F3 on Sat, 05 Feb 2022 12:54:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ultrafeel" aria-label="Profile: ultrafeel">@<bdi>ultrafeel</bdi></a> said in <a href="/post/73738">Suggestion: Problems with "Find selected text" via Ctrl F3</a>:</p>
<blockquote>
<p dir="auto">Figured out that find selected text via Ctrl+F3 takes into account if “Extended mode” was enabled once formerly in the past for absolute different search. So it’s interpret “\n” in selected as escape character!</p>
</blockquote>
<p dir="auto">I’m not sure how this comes into play, as the <code>\</code> in <code>\n</code> is not a word character and would not be added into the search text.</p>
<p dir="auto">Example:</p>
<p dir="auto"><code>this is a free\n software but what is the meaning of free really</code></p>
<p dir="auto">Put your caret in the first <code>free</code> (before the <code>\</code>) and press Ctrl+F3.</p>
<p dir="auto">The software moves the caret to the second and final free.</p>
<p dir="auto">So how is this impacted by Extended mode?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ultrafeel" aria-label="Profile: ultrafeel">@<bdi>ultrafeel</bdi></a> said in <a href="/post/73738">Suggestion: Problems with "Find selected text" via Ctrl F3</a>:</p>
<blockquote>
<p dir="auto">Searched text is limited to 2047 letters length.</p>
</blockquote>
<p dir="auto">Yes, a design decision for a limit.  If you think it is unreasonable you can open a feature request to  have it changed.  That doesn’t guarantee that it will be though.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73740</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73740</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 05 Feb 2022 12:54:35 GMT</pubDate></item></channel></rss>