Hi, @thomas-knoefel and All,
Finally, this strange behavior, which I had observed before, is not as strange as it seems. Indeed, it was your statement that helped me understand that, when you said :
That’s on purpose: in the editor, F4 and Shift+F4 belong to the Search results of Notepad++ itself.
So, for tests, I’ve included the same text file, below :
Notepad++ is a text editor and source code editor for use under Microsoft Windows. It support around 80 progamming languages with syntax highlighting and code folding. It allows working with multiple open files in a single window, thanks to its tabbed editing interface. Notepad++ is available under GPL and distributed as free software.
Notepad++ is a text editor and source code editor for use under Microsoft Windows.
bla
bla blah
It support around 80 progamming languages with syntax highlighting and code folding.
It allows working with multiple open files in a single window, thanks to its tabbed editing interface.
Notepad++ is available under GPL and distributed as free software.
With your same searches within the MultiReplace plugin, as shown in this snapshot :
[image: 1796294918780-29199c80-f3b1-4fd1-be72-2596dd4894ce-image.jpeg]
Then, I searched the string Notepad++ in Normal mode with the option Wrap whole word only against the test file and I got this snapshot :
[image: 1796294937579-34635b93-6e1b-47d3-b96f-457db4af3f50-image.jpeg]
So far, here is what I’ve found out about the simultaneous use of the Find All command within native N++ and the MultiReplace plugin, where current document repesents the text file above :
•======================================================================•===============================================================•
| When FOCUS => ON When NO focus => OFF | ACTION when pressing |
•----------------------------------------------------------------------• |
| N++ Search Results | MultiReplace Search Results | Current Document | The 'F4' key or the 'Shift + F4' shorcut |
•=====================•=============================•==================•===============================================================•
| OFF | ON | OFF | Track occurrences in the 'MultiReplace Search Results' window |
•---------------------•-----------------------------•------------------•---------------------------------------------------------------•
| OFF | OFF | ON | Track occurrences in the 'Notepad++ Search Results' window |
•=====================•=============================•==================•===============================================================•
| ON | OFF | OFF | Track occurrences in the 'Notepad++ Search Results' window |
•---------------------•-----------------------------•------------------•---------------------------------------------------------------•
| ON | OFF | ON | Track occurrences in the 'Notepad++ Search Results' window |
•=====================•=============================•==================•===============================================================•
As you can see, when the MultiReplace - Search results windows is visible but the focus is on the current document, a hit on the F4 or Shift + F4 shortcut goes through the N++ Search results hits ( and NOT through the MultiReplace Search results hits ) !
This fact seems coherent with your statement :
That’s on purpose: in the editor, F4 and Shift+F4 belong to the Search results of Notepad++ itself.
Best Regards,
guy038