<?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[Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed]]></title><description><![CDATA[<p dir="auto">I should start by outlining this as a continuation of a problem presented on how to insert newline characters into a single line file at predefined points. It quickly evolved into a discussion about what the “Wrap Around” button actually means with respect to the use of “Replace” and “Replace All” buttons.</p>
<p dir="auto">the link is <a href="https://community.notepad-plus-plus.org/topic/20916/new-line-every-n-characters/7">here</a> for those who wish to see the entire conversation.</p>
<p dir="auto">Currently we have that:</p>
<ol>
<li>If the “Replace” button is pressed the search commences at the current position of the caret (cursor).<br />
a. If “Wrap Around” is ticked, once the end of the document is reached the next press of “Replace” will continue searching from the start of the document.<br />
b. If “Wrap Around” is unticked, once the end of the document is reached, the next press of “Replace” button will elicit a sound and a message stating “no occurences found”.</li>
<li>If the “Replace All” button is pressed then the “Wrap Around” selection determines the starting point for a search/replace.<br />
a. If “Wrap Around” ticked the search commences at the start of the file regardless of where the caret is currently located.<br />
b. If “Wrap Around” is unticked then the search commences at the current position and will finish at “end-of-file”.</li>
</ol>
<p dir="auto">There have been 2 examples presented by <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> and <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a> confirming (proving) the “Replace All” with “Wrap Around” ticked description provided above (2a). There has now been a GitHub issue raised with respect to the online manual description being deficit in this description.</p>
<p dir="auto">I actually want to raise this a step further as I find it a rather confusing setup. For me, “Wrap Around” describes a situation where regardless the position of the caret within a file, proceeding forwards (or backwards) along the characters one finishes up back exactly where one started (actually 1 character before/after depending on direction. So EVERY character is looked at at least once).</p>
<p dir="auto">So with respect to “Replace All” I find the words “Wrap Around” to be misleading. There is no <em>wrap around</em>, instead there is a reset of caret to start of file, the process (search/replace) starts and then the process finishes at the end of the file.<br />
If the “Wrap Around” button is not selected then the search (“Replace All”) commences wherever the caret is currently located and finishes at the end of the file.<br />
In respect to the “Replace” button each time it is pressed the search proceeds to the next “find”. It will stop if “Wrap Around” not ticked at the end of the file. If “Wrap Around” is ticked it is allowed to (re)start at the start of a file and continue through, effectively completing 1 whole circuit through the file’s contents.</p>
<p dir="auto">So if my statements above and my synopsis are correct we really have 2 different processes at work. The words “Wrap Around” relate ONLY to the “Replace” button in that it is allowed to process the entire file regardless of start position.<br />
If we use the “Replace All” button I think there needs to be a “different” button stating whether the process commences at the start of the file or not. But it is NOT a “Wrap Around”!</p>
<p dir="auto">I don’t wish to create a discord in the community, nor with the developers but I feel I need to voice my opinion in this matter. I do however welcome further discussions on this matter, and if someone feels they can explain it logically why this is OK I am prepared to listen and possibly change my current stance.</p>
<p dir="auto">Terry</p>
<p dir="auto">edited as I had a word art created table included, but formatting of it was useless so removed.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20918/use-of-wrap-around-changing-start-position-of-search-if-replace-all-button-pressed</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 16:24:36 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20918.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 20 Mar 2021 02:20:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Mon, 22 Mar 2021 20:04:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said in <a href="/post/64207">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">Is THIS your ver 0.3 proposal? :-)</p>
</blockquote>
<p dir="auto">Hell NO! Without the smiley face I was thinking you’re serious. Hopefully you don’t think of me capable of doing THAT! That’s way too many options on 1 window. Interfaces need to be kept simple and unconfusing.<br />
My version 0.3 is this:</p>
<p dir="auto"><img src="/assets/uploads/files/1616442908458-768fc25b-fc69-417e-a095-91af57ec71ad-image.png" alt="768fc25b-fc69-417e-a095-91af57ec71ad-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">where I looked at combining both “Replace All…” buttons like a jigsaw. So it would be purely a visual change. All 3 of these concepts were just intended to reduce confusion as we have talked about. Not that I’m confused anymore, I know exactly what “Replace All” and “Wrap around” selected do now.</p>
<p dir="auto">However with a seemingly lackluster response to my ideas I don’t know that I’ll bother presenting it on github. I presume to catch the eyes of the developers that’s the next step. I haven’t even got a github account.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64237</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64237</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Mon, 22 Mar 2021 20:04:36 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Mon, 22 Mar 2021 12:03:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@Terry-R</a> said in <a href="/post/64201">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">I grouped the “Match case” and “Match whole word only” as selections that alter the regex behaviour</p>
</blockquote>
<p dir="auto">Still not sure I understand this as I don’t see them “grouped”, well, except that they are adjacent.  And while “match case” affects regex, “whole word” does not, so…hmmm.</p>
<blockquote>
<p dir="auto">I actually have a ver 0.3 waiting in the wings but it might be a step too far.</p>
</blockquote>
<p dir="auto">Is <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9627" rel="nofollow ugc">THIS</a> your ver 0.3 proposal? :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64207</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64207</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 22 Mar 2021 12:03:54 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Mon, 22 Mar 2021 01:08:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said in <a href="/post/64199">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">I’m not sure I know what this means.</p>
</blockquote>
<p dir="auto">Well I grouped the “Match case” and “Match whole word only” as selections that alter the regex behaviour in what it finds to match the expression.<br />
And the “Backward direction” and “Wrap around” are selections that alter the “width” or “environment” within which the regex works. It’s not an exact analogy in this group but at least I’ve grouped them together and “ring fenced” them as being of a similar function.<br />
More particular is that by moving the selections around and “ring fencing” them it is easy to see the purpose of the “Backward direction” and “Wrap around” as being for the “Single” and “Multi” Replace functions, not for the “All” function.</p>
<p dir="auto">In terms of “tidying up another aspect”, what I mean is trying to “logically” group the 4 selection boxes as described above (swapping “Wrap around” and “Match whole word only”).</p>
<p dir="auto">Speech bubbles could also work. I actually have a ver 0.3 waiting in the wings but it might be a step too far.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64201</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64201</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Mon, 22 Mar 2021 01:08:55 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Mon, 22 Mar 2021 01:03:06 GMT]]></title><description><![CDATA[<p dir="auto">I wonder if judicious use of “speech bubbles” could be used to clarify the UI in certain aspects; here’s one usage we already have, as an example:</p>
<p dir="auto"><img src="/assets/uploads/files/1616374953250-396e0693-4991-45a6-8980-e6fc48b7f6dd-image.png" alt="396e0693-4991-45a6-8980-e6fc48b7f6dd-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Or would that be too annoying to have more of those “fluttering” as one pans their mouse across the window?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64200</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64200</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 22 Mar 2021 01:03:06 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Mon, 22 Mar 2021 00:57:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@Terry-R</a> said in <a href="/post/64198">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">And the “Match case” and “Match whole word only” selections are also grouped together as they as both “regex” string functions.</p>
</blockquote>
<p dir="auto">I’m not sure I know what this means.</p>
<blockquote>
<p dir="auto">Have I also tidied up another issue which no-one had seen until now?</p>
</blockquote>
<p dir="auto">I know I don’t know what this means.</p>
<p dir="auto">But it seems to be a noble effort, Terry.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64199</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64199</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 22 Mar 2021 00:57:42 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sun, 21 Mar 2021 23:46:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@Terry-R</a> said in <a href="/post/64194">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">So straight away the user has to acknowledge there is a difference between the “multi” and “all” buttons, even if they don’t know exactly what they mean initially</p>
</blockquote>
<p dir="auto">Sorry to do it again, so soon, BUT…<br />
I realised from the above statement that it would not be initially clear about the difference but the user must know there had to be one. Rather than make them go looking for it here is version 0.2 which shows them the difference.</p>
<p dir="auto"><img src="/assets/uploads/files/1616369800396-40d64225-ba17-493f-b677-87037ca00d2a-image.png" alt="40d64225-ba17-493f-b677-87037ca00d2a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">So here I moved the “Wrap around” up to be with the “Backward direction” selection. Then surrounded them with a “ghost line” and titled that area. Now it’s obvious those 2 selections are for the “Replace (Single)” and “Replace (Multi)” buttons. Thus they aren’t available for the “Replace All” or “Replace All in All Opened Documents” buttons.</p>
<p dir="auto">So now the “Backward direction” and “Wrap around” are grouped together as they are direction based selections. And the “Match case” and “Match whole word only” selections are also grouped together as they as both “regex” string functions. Have I also tidied up another issue which no-one had seen until now? These 2 groups could also be moved further apart signifying their different type of functions.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64198</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64198</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Sun, 21 Mar 2021 23:46:34 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sun, 21 Mar 2021 21:34:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@Terry-R</a> said in <a href="/post/64194">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">“Replace (Multi)” will make multiple replacements complying with the “backward direction” and “wrap around” selections. It commences at the current caret position.<br />
“Replace All” ignores ALL other settings and completes a “top to bottom” run.</p>
</blockquote>
<p dir="auto">I should have said:<br />
2. “Replace (Multi)” will make multiple replacements complying with the “backward direction”, “wrap around” selections and <em><strong>any “in selection” area</strong></em>. It commences at the current caret position.<br />
3/ “Replace All” <em><strong>ignores caret position, “Backward direction” and “Wrap around”  selections</strong></em> and completes a “top to bottom” run.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64195</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64195</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Sun, 21 Mar 2021 21:34:17 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sun, 21 Mar 2021 21:22:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@Terry-R</a> said in <a href="/post/64193">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">So I seem to find myself back at the current 4 option but with the UI and</p>
</blockquote>
<p dir="auto">How about:</p>
<p dir="auto"><img src="/assets/uploads/files/1616360418160-55565a76-3bfb-4a27-bf59-86e17b9a5d03-image.png" alt="55565a76-3bfb-4a27-bf59-86e17b9a5d03-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">as a potential candidate?</p>
<p dir="auto">So</p>
<ol>
<li>“Replace (Single)” is a single replacement with the next find positioned next to caret. If text is not currently highlighted it instead “Finds” (starting at current caret position) and awaits a second press for the replacement to proceed and then continues to “Find” the next potential replacement text. It complies with “backward direction” and “wrap around” selections.</li>
<li>“Replace (Multi)” will make multiple replacements complying with the “backward direction” and “wrap around” selections. It commences at the current caret position.</li>
<li>“Replace All” ignores ALL other settings and completes a “top to bottom” run.</li>
<li>“Replace All in All Opened Documents” is the same as #3 with all opened documents.</li>
</ol>
<p dir="auto">So straight away the user has to acknowledge there is a difference between the “multi” and “all” buttons, even if they don’t know exactly what they mean initially. It also still allows the “Replace All” button to be associated with it’s sibling, the “Replace All in All Opened Documents” button.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64194</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64194</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Sun, 21 Mar 2021 21:22:39 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sun, 21 Mar 2021 19:47:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said in <a href="/post/64191">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">If so, then No, it can’t be bottom to top, it is always top to bottom.</p>
</blockquote>
<p dir="auto">That would imply that the “full file” search/replace also ignores “backward direction”. Since some users seem to have that need, does that mean they can never really complete a full file search/replace in their selected mode (backwards) unless the cursor IS in last position in the file? (this bit of logic escapes me currently so I might have it totally wrong)</p>
<p dir="auto">I terms of my 4th (current) option, yes it was referring to “Replace All” with “wrap Around” ticked.</p>
<p dir="auto">My words “I’d hazard a guess” were a bit tongue in cheek, since it had been proved (you and <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a> little tests in other discussion).</p>
<p dir="auto">If we did have 5 options, where the first 4 were the current ones, but ALL commencing at current position and proceeding according to the “backwards direction” and “wrap around” selections and also complying with any selection area. Would anyone actually consider using the 4th, being starting at current position and proceeding in direction selected with wrap around so that the whole file was processed. Or would they just elect to select the 5th (new) option such that they KNEW beyond doubt (over where their caret was) that the file would be processed logically from start to finish, whole file!</p>
<p dir="auto">Because if the 4th option would be very unlikely to be used, then maybe that’s what the developers decided also, and then elected to slot the 5th option into where the 4th option currently is. And now we find ourselves in this logical confusion where the UI wording is a bit misleading.</p>
<p dir="auto">So I seem to find myself back at the current 4 option but with the UI and manual needing a bit of tweaking.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64193</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64193</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Sun, 21 Mar 2021 19:47:08 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sun, 21 Mar 2021 19:26:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@Terry-R</a> said in <a href="/post/64188">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">The 4th option discards that idea and completes a logical top to bottom (or can it also be bottom to top?) Search/Replace.</p>
</blockquote>
<p dir="auto">I think 4th option = Replace All with Wrap around ticked ?<br />
If so, then No, it can’t be bottom to top, it is always top to bottom.</p>
<blockquote>
<p dir="auto">I’d hazard a guess at yes as suggested by a few examples already provided.</p>
</blockquote>
<p dir="auto">It is a most definitely a Yes.</p>
<blockquote>
<p dir="auto">my idea means we lobby the developers to re-think the UI</p>
</blockquote>
<p dir="auto">I think you’d have to approach them with a definite idea.<br />
But even then it would be a hard sell, I think.<br />
UI is very subjective.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64191</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64191</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 21 Mar 2021 19:26:44 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sun, 21 Mar 2021 19:22:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a> said in <a href="/post/64187">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">Finally, I think that :</p>
<p dir="auto">The Find All in Current Document should be called  Find All in Current Doc / Selection</p>
<p dir="auto">The Replace button should be called Replace Once</p>
<p dir="auto">The Replace All button should be called Global Replace ( or even just Replace )</p>
<p dir="auto">The Mark All button  should simply be called Mark</p>
</blockquote>
<p dir="auto">Not to be disagreeable, but I think current labeling is better than <em>all</em> of these.  :-)<br />
It could be because I’m used to the current labeling.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64190</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64190</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 21 Mar 2021 19:22:07 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sun, 21 Mar 2021 19:17:15 GMT]]></title><description><![CDATA[<blockquote>
<blockquote>
<p dir="auto">Without that checkbox ticked, it’s what? “Replace partial”?</p>
</blockquote>
</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/64186">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">Technically, that button always performs “Replace All matches in a specific region”</p>
</blockquote>
<p dir="auto">Well, <em>we</em> know that.<br />
But not-so-power-users are going to have a different interpretation of “All”.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64189</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64189</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 21 Mar 2021 19:17:15 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sun, 21 Mar 2021 18:56:23 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/64186">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">and see if we’re doing a good job at more-accurately describing the situation for Replace All.</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a> I think the “real” issue we have here is that currently the options aren’t logical. As I stated earlier 3 of the 4 possibilities relate to commencing a Search/Replace from current position (in the direction requested) to either top/bottom of file (or other end of selected search area) or the same position through use of wrap around.</p>
<p dir="auto">The 4th option discards that idea and completes a logical top to bottom (or can it also be bottom to top?) Search/Replace.</p>
<p dir="auto">It almost appears that there should really be 5 options where the current 4 ALL commence from current position. The new 5th option would be a logical end to end file search/replace.</p>
<p dir="auto">So then the next question is, can a “Replace All” starting from current position and finishing at the same place (wrap around) make different changes to one processing the whole file logically top to bottom (or bottom to top). I’d hazard a guess at yes as suggested by a few examples already provided.</p>
<p dir="auto">Of course my idea means we lobby the developers to re-think the UI (and add the 5th option), whereas currently we are ONLY looking at re-thinking the manual. So maybe do both, manual update in short/medium term as that is what we DO have. Long term consider whether the UI actually needs altering.</p>
<p dir="auto">Food for thought?</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64188</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64188</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Sun, 21 Mar 2021 18:56:23 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sun, 21 Mar 2021 18:52:00 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@terry-r</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@alan-kilborn</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@peterjones</a> and <strong>All</strong>,</p>
<p dir="auto">Finally, I think that :</p>
<ul>
<li>
<p dir="auto">The <strong><code>Find All in Current Document</code></strong> should be <strong>called</strong>  <strong><code>Find All in Current Doc / Selection</code></strong></p>
</li>
<li>
<p dir="auto">The <strong><code>Replace</code></strong> button should be <strong>called</strong> <strong><code>Replace Once</code></strong></p>
</li>
<li>
<p dir="auto">The <strong><code>Replace All</code></strong> button should be <strong>called</strong> <strong><code>Global Replace</code></strong> ( or even just <strong><code>Replace</code></strong> )</p>
</li>
<li>
<p dir="auto">The <strong><code>Mark All</code></strong> button  should simply be <strong>called</strong> <strong><code>Mark</code></strong></p>
</li>
</ul>
<hr />
<p dir="auto">So, in the <strong>Replace</strong> dialog :</p>
<ul>
<li>
<p dir="auto">If the <strong><code>Wrap around</code></strong> option is <strong>On</strong>, <strong><code>Global Replace </code></strong> acts on <strong>entire</strong> doc, from <strong>beginning</strong> of file to <strong>end</strong> of file</p>
</li>
<li>
<p dir="auto">If the <strong><code>In selection</code></strong> option is <strong>On</strong>, <strong><code>Global Replace </code></strong> acts on current <strong>selection</strong>, from its <strong>beginning</strong> to its <strong>end</strong></p>
</li>
<li>
<p dir="auto">If <strong>none</strong> of these options are <strong>On</strong> and the <strong><code>Backward direction</code></strong> is <strong>On</strong>, <strong><code>Global Replace </code></strong> acts from <strong>beginning</strong> of file to <strong>caret</strong> location</p>
</li>
<li>
<p dir="auto">If <strong>none</strong> of these options are <strong>On</strong> and the <strong><code>Backward direction</code></strong> is <strong>Off</strong>, <strong><code>Global Replace </code></strong> acts from <strong>caret</strong> location to <strong>end</strong> of file</p>
</li>
</ul>
<hr />
<p dir="auto">Remark that these <strong>four</strong> rules, above, also <strong>apply</strong> to the <strong><code>Count</code></strong> and <strong><code>Mark</code></strong> buttons ;-))</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
<p dir="auto"><strong>P.S.</strong> :</p>
<p dir="auto">In the end, all these <strong>possible</strong> changes seem rather “<strong>cosmetic</strong>” ! The <strong>only</strong> thing that matters and that should be kept in <strong>mind</strong>, is the <strong>extent</strong> to which a <strong>given</strong> button acts ;-))</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64187</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64187</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sun, 21 Mar 2021 18:52:00 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sun, 21 Mar 2021 18:29:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said in <a href="/post/64184">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">Without that checkbox ticked, it’s what? “Replace partial”?</p>
</blockquote>
<p dir="auto">Technically, that button always performs “<strong>Replace All</strong> matches in a specific region”, where that region is influenced by the settings of <strong>Wrap Around</strong> and <strong>Backward Direction</strong>.</p>
<p dir="auto">You might want to look at the changes in <a href="https://github.com/notepad-plus-plus/npp-usermanual/pull/179" rel="nofollow ugc">PR#179</a> and see if we’re doing a good job at more-accurately describing the situation for <strong>Replace All</strong>.  (Scott and I have gone through a couple of back-and-forth, trying to get the description as good as we can.)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64186</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64186</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sun, 21 Mar 2021 18:29:27 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sun, 21 Mar 2021 10:25:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@Terry-R</a></p>
<p dir="auto">Dangit, Terry, you’ve got me really considering this now!</p>
<p dir="auto">So <em>Replace All</em> really isn’t replace-all, anyway.<br />
It’s only replace-all if <em>Wrap around</em> is ticked.<br />
Without that checkbox ticked, it’s what? “Replace partial”?</p>
<p dir="auto">Maybe just a testament to the statement “Good UI design is difficult”.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64184</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64184</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 21 Mar 2021 10:25:35 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sun, 21 Mar 2021 01:28:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@Terry-R</a> said in <a href="/post/64181">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">What hope is there for me to suggest a change better than what you just offered in the 5 minutes since I became aware of this</p>
</blockquote>
<p dir="auto">Haha, well, you’ve been considering it for more than 5 minutes, I’m sure.  This one seems to have “motivated” you.  :-)</p>
<blockquote>
<p dir="auto">Scott’s own UI had been customized in a similar fashion…</p>
</blockquote>
<p dir="auto">Well, I certainly have pulled a lot of my “good” ideas from others on this forum and other places.  I didn’t claim to have invented the solution of hand-customizing the UI.  :-)</p>
<blockquote>
<p dir="auto">seasoned users who are aware of it … customize the UI to remind them (so what does that say!).</p>
</blockquote>
<p dir="auto">Really, though, customizing the UI text is somewhat of a joke, and here’s why:  If I know about the behavior, I no longer would be in need of such prompting.  I just modified my UI text because I saw someone else do it, and it is possible to do so.  I do so in other areas as well, where the default English text is a bit “rough”.</p>
<blockquote>
<p dir="auto">no longer will I insist of those who supply solutions to include "must have cursor (caret) in first position before pressing “Replace All” in those circumstances where it’s warranted, just so long as you ALSO mention “Wrap Around” must be ticked</p>
</blockquote>
<p dir="auto">Ha.  This latter part is what I’ve been doing all along, you just haven’t noticed, because you weren’t aware.  :-)</p>
<p dir="auto">Seriously, though, if you have a better UI solution, or a non-UI solution to make this situation “better”, please share it.<br />
Maybe the code <em>should</em> be changed to do TWO searches in such a case, to implement true wrap-around behavior.<br />
Would this reduce potential confusion?<br />
I don’t know…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64182</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64182</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 21 Mar 2021 01:28:47 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sun, 21 Mar 2021 01:11:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said in <a href="/post/64177">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">this checkbox being changed to “Wrap around / entire document”</p>
</blockquote>
<p dir="auto">What hope is there for me to suggest a change better than what you just offered in the 5 minutes since I became aware of this. It will need some consideration. Interestingly the github article <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@PeterJones</a> mentioned earlier when he asked seasoned user (now on development team) Scott, Scott’s own UI had been customized in a similar fashion.</p>
<p dir="auto">So I think seasoned users who are aware of it (and have been for some time) customize the UI to remind them (so what does that say!). The rest of us; now that we are also aware; will have to consider our options. Newbie’s are probably none the wiser from all this, and possibly don’t really care as long as their data is edited as they expect from our solutions.</p>
<p dir="auto">So going forward, now that I’m aware, no longer will I insist of those who supply solutions to include "must have cursor (caret) in first position before pressing “Replace All” in those circumstances where it’s warranted, just so long as you ALSO mention “Wrap Around” must be ticked.     :-))</p>
<p dir="auto">Cheers<br />
Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64181</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64181</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Sun, 21 Mar 2021 01:11:52 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sat, 20 Mar 2021 20:09:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@Terry-R</a> said in <a href="/post/64175">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">Further to bolster my claim that it’s not logical is that yourself and possibly <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a> have customized the UI so that it reminds you that the process is something else entirely.</p>
</blockquote>
<p dir="auto">Well I certainly would not be opposed to the UI for this checkbox being changed to “Wrap around / entire document”, as that would make it unnecessary for me to customize my copy of Notepad++.  :-)</p>
<p dir="auto">But then it is potentially more confusing, as the “wrap around” part would apply only to Find Next / Find Previous / Replace and the “entire document” part would apply only to Replace All / Count.</p>
<p dir="auto">But, aside from reading the user’s mind about what button they  are about to press, this split nature can’t be made better.</p>
<p dir="auto">But really, “wrap around” does in a sense convey the “entire document” is to be covered, doesn’t it?  So in truth I think it is okay the way it exists currently.</p>
<p dir="auto">Or perhaps you have another idea for how the UI might be made better in this regard?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64177</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64177</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 20 Mar 2021 20:09:35 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sat, 20 Mar 2021 19:42:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@Terry-R</a> said in <a href="/post/64158">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">There has now been a GitHub issue raised with respect to the online manual description being deficit in this description.</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@PeterJones</a> I gather your are the POC for the online manual. I just tried the link under FAQ section for the manual and didn’t get anything loaded, instead got a “… took too long to respond”. Has the edits of the manual (I saw the updated github issue) caused a problem?</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64176</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64176</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Sat, 20 Mar 2021 19:42:27 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sat, 20 Mar 2021 19:07:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said in <a href="/post/64174">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">Given that there are not a large amount of user complaints about this, IMO this is not a “problem”.</p>
</blockquote>
<p dir="auto">I disagree with your statement. IMO users have not complained for 2 reasons:</p>
<ol>
<li>They didn’t associate that change in logic when using that combo (Replace All with Wrap Around selected). The result still turns out the same as if one assumed the search started at current position.</li>
<li>The User Manual outlines the logical explanation, which now appears to be wrong.</li>
</ol>
<p dir="auto">Further to bolster my claim that it’s not logical is that yourself and possibly <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a> have customized the UI so that it reminds you that the process is something else entirely.</p>
<p dir="auto">I asked for someone to help me change my stance as to why it should be this way, so far I only have evidence that suggests it’s wrong or at least confusing.</p>
<p dir="auto">Now I will admit to seeing the logic of a Replace All with Wrap Around (not my choice of words for this combo) selected starting a search from the beginning. And to be fair I presume most of our solutions do make that assumption or at least we understand our solution is not conditional on the placement of the caret.</p>
<p dir="auto">As to getting the UI changed, possibly not, but I feel raising it as a confusing situation might lead the developers to reconsider and if maybe some other changed need in the future opens the door to also consider this change I will feel I’ve done my bit by raising the matter now.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64175</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64175</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Sat, 20 Mar 2021 19:07:56 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sat, 20 Mar 2021 12:11:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@Terry-R</a> said in <a href="/post/64158">Use of "Wrap Around" changing start position of search if "Replace All" button pressed</a>:</p>
<blockquote>
<p dir="auto">If we use the “Replace All” button I think there needs to be a “different” button stating whether the process commences at the start of the file or not. But it is NOT a “Wrap Around”!</p>
</blockquote>
<p dir="auto">If this bothers you that much, a possible solution is shown in the thread Guy linked to.  And that solution is to change the text on your <em>Replace</em> window.  Here’s how I have customized mine, as a reminder of how this works:</p>
<p dir="auto"><img src="https://camo.nodebb.org/f64adb6d4332848a6782e237b61250c37be8ec78?url=https%3A%2F%2Fi.imgur.com%2Fmx9SpGE.png" alt="Imgur" class=" img-fluid img-markdown" /></p>
<blockquote>
<p dir="auto">I think there needs to be a “different” button</p>
</blockquote>
<p dir="auto">Good luck with your campaign to get the UI changed. Hint: You very probably won’t succeed. :-)</p>
<p dir="auto">Given that there are not a large amount of user complaints about this, IMO this is not a “problem”.  Meaning that it isn’t “getting in anyone’s way”.  It can still be thought of as a “wrap around” by the majority of users, to no detriment.  Again, my opinions only.</p>
<p dir="auto">But, it was surprising the number of “power users” that didn’t understand this behavior until I pointed it out in that other thread.</p>
<blockquote>
<p dir="auto">If the “Wrap Around” button is not selected then the search (“Replace All”) commences wherever the caret is currently located and finishes <strong>at the end of the file.</strong></p>
</blockquote>
<p dir="auto">Or the beginning of the file if <em>Backward direction</em> is ticked.</p>
<p dir="auto">But…  even a <em>Replace All</em> of this type may work differently than you think.  I believe that here it actually does a “forward” search from position 0 to the position of the caret.  Contrast this with a single-step <em>Replace</em> in the backward direction, which definitely starts at the caret position and keeps looking backward for the match.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64174</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64174</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 20 Mar 2021 12:11:06 GMT</pubDate></item><item><title><![CDATA[Reply to Use of &quot;Wrap Around&quot; changing start position of search if &quot;Replace All&quot; button pressed on Sat, 20 Mar 2021 11:42:45 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12335">@terry-r</a> and <strong>All</strong>,</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-kilborn</a> said  in <a href="https://community.notepad-plus-plus.org/post/64152">this</a> post :</p>
<blockquote>
<p dir="auto">BTW, a posting somewhere here long ago (I think) said to think about Wrap around ticked as meaning “Entire document” in this (Replace All) circumstance, and I’ve always remembered that, as it seems to be appropriate</p>
</blockquote>
<p dir="auto">So, in theory, I think that the <strong><code>Wrap-around</code></strong> option should be rewritten as :</p>
<p dir="auto"><strong><code>☐ Wrap-around / Entire file (Count / Rep. All / Mark)</code></strong></p>
<p dir="auto">Besides, when the <strong><code>Wrap-around</code></strong> option is <strong>ticked</strong>, note that the <strong>message</strong>, displayed in dialogs, <strong>ends</strong> all with the string <strong><code>in entire file</code></strong> !</p>
<p dir="auto">Refer also to my <strong>old</strong> table below :</p>
<p dir="auto"><a href="https://community.notepad-plus-plus.org/post/27946">https://community.notepad-plus-plus.org/post/27946</a></p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/64162</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/64162</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sat, 20 Mar 2021 11:42:45 GMT</pubDate></item></channel></rss>