<?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[BUG: Replace &quot;In selection&quot; greyed out]]></title><description><![CDATA[<p dir="auto">Steps to reproduce:<br />
Put cursor in line which doesn’t contain text, press CTRL+H, “In Selection” check box is greyed out (you may need to repeat this until check box is greyed out).<br />
Select text, press CTRL+H, “In Selection” check box is still greyed out. Change to “Find” tab in dialog window, change back to “Replace” tab, “In Selection” check box isn’t greyed out anymore.</p>
<p dir="auto">If this isn’t the place to report bug, please move this message to appropriate section.</p>
<p dir="auto">Regards,<br />
Petar</p>
<p dir="auto">Debug info:<br />
Notepad++ v7.9.1   (64-bit)<br />
Build time : Nov  2 2020 - 01:07:46<br />
Path : C:\Program Files\Notepad++\notepad++.exe<br />
Admin mode : OFF<br />
Local Conf mode : OFF<br />
OS Name : Windows 10 Pro (64-bit)<br />
OS Version : 1903<br />
OS Build : 18362.1256<br />
Current ANSI codepage : 1250<br />
Plugins : ComparePlugin.dll mimeTools.dll NppConverter.dll NppExport.dll NPPJSONViewer.dll XMLTools.dll</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20506/bug-replace-in-selection-greyed-out</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 14:27:21 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20506.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 23 Dec 2020 09:54:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to BUG: Replace &quot;In selection&quot; greyed out on Tue, 12 Jan 2021 22:29:57 GMT]]></title><description><![CDATA[<p dir="auto">Here are some more comments that may help with understanding and debugging what’s happening.</p>
<p dir="auto">The updating of the ‘In selection’ area seems to happen well after the Find/replace dialog box is painted.</p>
<p dir="auto">In step one where the cursor is in a blank area of the file and no text is selected do Ctrl-H and watch the ‘In selection’ area. If it shows a black box and ‘In selection’ in black then press Esc and then Ctrl-H again while continuing to watch the ‘In selection’ area. Eventually you will see black box and ‘In selection’ in black pop up and then quickly change to gray. It looks like the words ‘In selection’ go gray first and then the box.</p>
<p dir="auto">Once you have a gray box and ‘In selection’ then press Esc to close the dialog box and select some text. The size of the selected area does not matter. It can be one character or the entire file. The method of selection does not seem to matter. You can use the mouse or keyboard. Now do Ctrl-H. You will see that ‘In selection’ and its box are grayed out.  This is the random grayness people have been seeing.  Press Esc to close the dialog box and Ctrl-H again while watching where ‘In selection’ will be painted.  You should see the ‘In selection’ box being painted in black shortly after the dialog box has been opened.  It’s possible both the box and the words ‘In selection’ were in gray but on my machine the repainting to black is too fast for me to confirm it’s all gray and then repainted. I am seeing the black box painted after the dialog box is up.</p>
<p dir="auto">Also, while I have been switching to the ‘Find’ tab and back to ‘Replace’ to fix an undesired grayed out ‘In selection’ I found that it does not matter which tab of the dialog box you use.  You can switch to ‘Find in Files’, which does not have an ‘In selection’ field and back or you can switch to ‘Mark’ and back.  When switching to ‘Find’ and ‘Mark’ you’ll see that ‘In selection’ is in black.</p>
<p dir="auto">This issue can also be reproduced using Ctrl-F for Find or Ctrl-M for Mark.  The buggy behavior with the grayed ‘In selection’ is the same as with using Ctrl-H for Replace.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/61736</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/61736</guid><dc:creator><![CDATA[mkupper]]></dc:creator><pubDate>Tue, 12 Jan 2021 22:29:57 GMT</pubDate></item><item><title><![CDATA[Reply to BUG: Replace &quot;In selection&quot; greyed out on Wed, 23 Dec 2020 15:09:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/18057">@astrosofista</a> said in <a href="/post/61035">BUG: Replace "In selection" greyed out</a>:</p>
<blockquote>
<p dir="auto">can reproduce it if and only if I close the search window in between the mentioned step</p>
</blockquote>
<p dir="auto">Ah, yes, that’s the key step to reproduction; thanks <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/18057">@astrosofista</a> !</p>
<p dir="auto">So, it is a bug, but hardly an “end-of-the-world-can-never-enable-<em>In selection</em>-type” bug…because there is an easy workaround.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/61039</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/61039</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 23 Dec 2020 15:09:34 GMT</pubDate></item><item><title><![CDATA[Reply to BUG: Replace &quot;In selection&quot; greyed out on Wed, 23 Dec 2020 15:05:35 GMT]]></title><description><![CDATA[<p dir="auto">All,</p>
<p dir="auto"><a href="https://community.notepad-plus-plus.org/post/59605">In the recent similar topic</a>, I had tried <em>without</em> closing the dialog in between, so I had weighed in on saying “works for me” and didn’t confirm the bug.<br />
<img src="https://camo.nodebb.org/854c493c136642b5bc03eeb677540ba59704e770?url=https%3A%2F%2Fi.imgur.com%2F6LBWfzl.gif" alt="" class=" img-fluid img-markdown" /></p>
<ul>
<li><code>![](https://i.imgur.com/6LBWfzl.gif)</code></li>
</ul>
<p dir="auto">However, with this new sequence, closing the dialog between, I do agree that the behavior doesn’t make sense.<br />
<img src="https://camo.nodebb.org/76df29e5dce85c9883e469787a22c2b26ca9f014?url=https%3A%2F%2Fi.imgur.com%2FGnecstv.gif" alt="" class=" img-fluid img-markdown" /></p>
<ul>
<li><code>![](https://i.imgur.com/Gnecstv.gif)</code></li>
</ul>
<p dir="auto">If someone wants to post a <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues" rel="nofollow ugc">github issue</a> on this one, feel free to use the latter or both my animations.</p>
<p dir="auto">Since Alan and I had previously convinced ourselves here (and I think Scott may have convinced himself previously in the issues tracker) that there <em>wasn’t</em> a bug, make sure to be explicit with comparing the sequence that <em>does</em> work as expected (leaving the dialog open) vs the sequence that fails (closing the dialog in between).  Post a link to this thread (<code>[see Community Forum "Bug: Replace ''in Selection'' greyed out"](https://community.notepad-plus-plus.org/topic/20506/)</code>) in the bug report, because seeing this conversation will help give credence to the report.  I think the animation(s) might help (embedding markdown shown below each image).</p>
<p dir="auto">If someone does create that issue, make sure to paste a link to the issue here.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/61037</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/61037</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 23 Dec 2020 15:05:35 GMT</pubDate></item><item><title><![CDATA[Reply to BUG: Replace &quot;In selection&quot; greyed out on Wed, 23 Dec 2020 14:40:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/18057">@astrosofista</a></p>
<p dir="auto">Agree - same here.  I removed all my plugins to test as well.</p>
<p dir="auto">Notepad++ v7.9.1   (64-bit)<br />
Build time : Dec 21 2020 - 18:26:49<br />
Path : C:\usr\bin\npp64\notepad++.exe<br />
Admin mode : OFF<br />
Local Conf mode : ON<br />
OS Name : Windows 10 Enterprise (64-bit)<br />
OS Version : 1909<br />
OS Build : 18363.1256<br />
Current ANSI codepage : 1252<br />
Plugins : none</p>
]]></description><link>https://community.notepad-plus-plus.org/post/61036</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/61036</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Wed, 23 Dec 2020 14:40:31 GMT</pubDate></item><item><title><![CDATA[Reply to BUG: Replace &quot;In selection&quot; greyed out on Wed, 23 Dec 2020 14:32:28 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/20745">@Petar-Lazović</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> :</p>
<p dir="auto">I can reproduce it if and only if I close the search window in between the mentioned steps. So:</p>
<p dir="auto"><strong>Steps to reproduce:</strong></p>
<ol>
<li>Put cursor in line which doesn’t contain text, press CTRL+H, “In Selection” check box is greyed out (you may need to repeat this until check box is greyed out).</li>
<li><code>Close the Search window</code></li>
<li>Select text, press CTRL+H, “In Selection” check box is still greyed out. Change to “Find” tab in dialog window, change back to “Replace” tab, “In Selection” check box isn’t greyed out anymore.</li>
</ol>
<p dir="auto">Tested in the following portable version:</p>
<p dir="auto">Notepad++ v7.9.1   (64-bit)<br />
Build time : Nov  2 2020 - 01:07:46<br />
Path : D:\Aplicaciones\npp.7.9.1.portable.x64\notepad++.exe<br />
Admin mode : ON<br />
Local Conf mode : ON<br />
OS Name : Windows 7 Professional (64-bit)<br />
OS Build : 7601.24546<br />
Current ANSI codepage : 1252<br />
Plugins : BetterMultiSelection.dll mimeTools.dll NppConverter.dll NppExport.dll PythonScript.dll</p>
]]></description><link>https://community.notepad-plus-plus.org/post/61035</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/61035</guid><dc:creator><![CDATA[astrosofista]]></dc:creator><pubDate>Wed, 23 Dec 2020 14:32:28 GMT</pubDate></item><item><title><![CDATA[Reply to BUG: Replace &quot;In selection&quot; greyed out on Wed, 23 Dec 2020 14:00:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/20745">@Petar-Lazović</a></p>
<blockquote>
<p dir="auto">Put cursor in line which doesn’t contain text, press CTRL+H, “In Selection” check box is greyed out</p>
</blockquote>
<p dir="auto">Yes (caret on line 26 when Ctrl+h pressed):</p>
<p dir="auto"><img src="https://camo.nodebb.org/2738a71e3c2b0a14fb325bfd743f746ed9be5339?url=https%3A%2F%2Fi.imgur.com%2Fz3tLeRd.png" alt="Imgur" class=" img-fluid img-markdown" /></p>
<blockquote>
<p dir="auto">Select text, press CTRL+H, “In Selection” check box is still greyed out.</p>
</blockquote>
<p dir="auto">No, not for me:</p>
<p dir="auto"><img src="https://camo.nodebb.org/136c84ede3fad5f41edee599dc285dc93ef50014?url=https%3A%2F%2Fi.imgur.com%2Fff6oPQH.png" alt="Imgur" class=" img-fluid img-markdown" /></p>
<p dir="auto">with:</p>
<p dir="auto">Notepad++ v7.9.1   (64-bit)<br />
Build time : Nov  2 2020 - 01:07:46<br />
Path : …\npp.7.9.1.portable.x64\notepad++.exe<br />
Admin mode : OFF<br />
Local Conf mode : ON<br />
OS Name : Windows 10 Enterprise (64-bit)<br />
OS Version : 1809<br />
OS Build : 17763.1577<br />
Current ANSI codepage : 1252<br />
Plugins : mimeTools.dll NppConverter.dll NppExport.dll</p>
<p dir="auto">Try removing all but the default plugins (as shown in my debug info) and see if you can still replicate the problem?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/61032</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/61032</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 23 Dec 2020 14:00:31 GMT</pubDate></item></channel></rss>