<?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[Jump back to relevant section after prompted find&#x2F;replace overshoots?]]></title><description><![CDATA[<p dir="auto">I’d be interested to hear if others have a solution to this “problem”:</p>
<p dir="auto">Say you are doing a prompted Replace operation on many matches that you are needing to change.<br />
Replace-and-find-next, replace-and-find-next, …<br />
Ooops, now you have found the first one BEYOND where you need to change (wow, now my caret is way far away in a totally unrelated section of the file).<br />
It would be nice to easily get back to the last one that you DID change with the replace operation so you can continue working – but how to painlessly achieve this?</p>
<p dir="auto">Sure, I could:</p>
<ul>
<li>set a bookmark at each point N++ finds a match that I want to replace</li>
<li>block the whole range beforehand (and use the “in selection” option in the replace dialog)</li>
<li>mentally note the most recent line number where I Replaced, so that I could Goto the remembered line later</li>
</ul>
<p dir="auto">…but these solutions are “burdensome”.</p>
<p dir="auto">Anybody have any other ideas that are maybe better for achieving this?  Or am I alone in this bothering me?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/13086/jump-back-to-relevant-section-after-prompted-find-replace-overshoots</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 00:43:06 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/13086.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Jan 2017 14:33:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Jump back to relevant section after prompted find&#x2F;replace overshoots? on Mon, 23 Jan 2017 02:46:38 GMT]]></title><description><![CDATA[<p dir="auto">This (PARTIAL lines selection -&gt; Tab -&gt; Shift+Tab -&gt; FULL lines selection) may not be such a great thing after all.  After using it in an editing session, and sometimes much later, when doing an unrelated Delete Line operation (via the Delete Line shortcut key, with no selection active), some odd behavior occurs:  the wrong line is deleted, I get TWO carets in odd places (I have Multi-Editing enabled)…  If I narrow down further what is actually going on, I’ll post here again, but for now:  beware of this tip!     : (</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21148</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21148</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Mon, 23 Jan 2017 02:46:38 GMT</pubDate></item><item><title><![CDATA[Reply to Jump back to relevant section after prompted find&#x2F;replace overshoots? on Sat, 21 Jan 2017 18:40:31 GMT]]></title><description><![CDATA[<p dir="auto">Nice trick - indeed.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21127</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21127</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Sat, 21 Jan 2017 18:40:31 GMT</pubDate></item><item><title><![CDATA[Reply to Jump back to relevant section after prompted find&#x2F;replace overshoots? on Sat, 21 Jan 2017 03:18:08 GMT]]></title><description><![CDATA[<p dir="auto">Okay, so this new thing (to me, at least) that I discovered is unrelated, but I think it may fall into the same category of handy tips just like the above-discussed UNDO+REDO thing…and it is sort of similar (do an action, then reverse it).</p>
<p dir="auto">Often I want to make a selection of whole lines with the mouse.  More often than not, my code is indented quite a bit, making it uncertain that I am beginning my selection on the correct line when I click and drag on the line numbers in the margin (far away horizontally from the non-whitespace code).  Sometimes I miss the correct line and have to start the selection over again.  A minor frustration.</p>
<p dir="auto">I found that if I make a selection that includes a <em>PARTIAL</em> first line (convenient because I can start the selection AT my indented code), any number of full lines, and then a <em>PARTIAL</em> last line…then press Tab, then Shift+Tab (this part reminded me of the UNDO+REDO thing)…I get a selection of complete lines which includes the WHOLE first and last lines (remember that these started out as partial lines).</p>
<p dir="auto">Perhaps this technique will be useful to someone else…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21115</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21115</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Sat, 21 Jan 2017 03:18:08 GMT</pubDate></item><item><title><![CDATA[Reply to Jump back to relevant section after prompted find&#x2F;replace overshoots? on Wed, 11 Jan 2017 15:13:25 GMT]]></title><description><![CDATA[<p dir="auto">I always use it to go back to the last place I edited after browsing around the file.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20825</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20825</guid><dc:creator><![CDATA[gstavi]]></dc:creator><pubDate>Wed, 11 Jan 2017 15:13:25 GMT</pubDate></item><item><title><![CDATA[Reply to Jump back to relevant section after prompted find&#x2F;replace overshoots? on Wed, 11 Jan 2017 15:09:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scott-sumner" aria-label="Profile: Scott-Sumner">@<bdi>Scott-Sumner</bdi></a> - me too :-D</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20823</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20823</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Wed, 11 Jan 2017 15:09:11 GMT</pubDate></item><item><title><![CDATA[Reply to Jump back to relevant section after prompted find&#x2F;replace overshoots? on Wed, 11 Jan 2017 15:08:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a></p>
<p dir="auto">Regardless, I see <a class="plugin-mentions-user plugin-mentions-a" href="/user/gstavi" aria-label="Profile: gstavi">@<bdi>gstavi</bdi></a> has a solution that I didn’t think of – I upvoted!  :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20822</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20822</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Wed, 11 Jan 2017 15:08:33 GMT</pubDate></item><item><title><![CDATA[Reply to Jump back to relevant section after prompted find&#x2F;replace overshoots? on Wed, 11 Jan 2017 15:06:44 GMT]]></title><description><![CDATA[<p dir="auto">Scott, yes, makes sense to me ;-)</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20821</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20821</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Wed, 11 Jan 2017 15:06:44 GMT</pubDate></item><item><title><![CDATA[Reply to Jump back to relevant section after prompted find&#x2F;replace overshoots? on Wed, 11 Jan 2017 14:59:48 GMT]]></title><description><![CDATA[<p dir="auto">UNDO (Ctrl-Z)<br />
Then REDO (CTRL-Y) the replace and the caret stays there.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20819</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20819</guid><dc:creator><![CDATA[gstavi]]></dc:creator><pubDate>Wed, 11 Jan 2017 14:59:48 GMT</pubDate></item><item><title><![CDATA[Reply to Jump back to relevant section after prompted find&#x2F;replace overshoots? on Wed, 11 Jan 2017 14:55:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a></p>
<p dir="auto">I think the OP meant “replace”, not “find/replace”.  because shift+f3 (find previous) works for the “find” case.  But if you replace the find text with something else, doing a find-previous moves you to a different place, not where I think the OP is trying to “jump back to” (nearby to the last replacement made).  Does this make sense?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20817</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20817</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Wed, 11 Jan 2017 14:55:13 GMT</pubDate></item><item><title><![CDATA[Reply to Jump back to relevant section after prompted find&#x2F;replace overshoots? on Wed, 11 Jan 2017 14:41:27 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></p>
<p dir="auto">if I understand correctly, than SHIFT+F3.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20816</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20816</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Wed, 11 Jan 2017 14:41:27 GMT</pubDate></item></channel></rss>