If a block of code is already highighted, entering Replace text mode will not "see" instances to replace even though they are there. However, selecting "In selection" does in fact make the requested repalcements.
What steps reproduce the problem?
Here, nothing was highlighted in the code, Find text was selected, and the text "scaled_boundary" was typed. The correct items are then highlighted.
The same result is obtained if the block from line 10 to 23 is highlighted before selecting Find text--the text typed in is highlighted and the item i of n is displayed correctly
Here, the block from line 10 to 23 was highlighted in the editor, then Replace text is selected, and the text "scaled_boundary" is typed in. Nothing is highlighted, it says no matches.
However, if you enter a replacement text and choose In selection, the replacements ARE made.
Here, the block from line 10 to 23 was not highlighted before selecting Replace text, then when the text is typed in, the correct texts are highlighted and the item i of n is displayed correctly.
What is the expected output? What do you see instead?
When you select Replace text with a code block highlighted, and you enter a text to find, it should still find them and display item i of n, so that you know what is going to happen next.
Issue Report Checklist
Problem Description
If a block of code is already highighted, entering Replace text mode will not "see" instances to replace even though they are there. However, selecting "In selection" does in fact make the requested repalcements.
What steps reproduce the problem?
Here, nothing was highlighted in the code, Find text was selected, and the text "scaled_boundary" was typed. The correct items are then highlighted. The same result is obtained if the block from line 10 to 23 is highlighted before selecting Find text--the text typed in is highlighted and the item i of n is displayed correctly
Here, the block from line 10 to 23 was highlighted in the editor, then Replace text is selected, and the text "scaled_boundary" is typed in. Nothing is highlighted, it says no matches. However, if you enter a replacement text and choose In selection, the replacements ARE made.
Here, the block from line 10 to 23 was not highlighted before selecting Replace text, then when the text is typed in, the correct texts are highlighted and the item i of n is displayed correctly.
What is the expected output? What do you see instead?
When you select Replace text with a code block highlighted, and you enter a text to find, it should still find them and display item i of n, so that you know what is going to happen next.
Paste Traceback/Error Below (if applicable)
Versions
Dependencies