Hi, @thomas-knoefel and All,
First of all, I’d like to apologize for not congratulating you for this important release, in my previous post !
I confirm that, with your new build, the search does go though all the matches and not only to the first hit of the lines. Nice !
You said in your last post ::
A double-click jumps to the hit you click on, and F4 / Shift+F4 go on from there. After a new search, F4 starts with its hits.
And in your documentation, you also said :
Additionally, three navigation commands are available from the Plugins > MultiReplace menu and can be assigned to custom keyboard shortcuts via Settings > Shortcut Mapper > Plugin Commands:
But adding the F4 and Shift + F4 shortcuts for your two commands, Next Search Results and Previous Search Results, via the Shortcut Mapper has the drawback of triggering the message CONFLICT FOUND
Could you, like @coises, to insert these shortcuts within your code ? For example, with the Search++ plugin :
After you ran the Plugins > Search++ > Search... option, then the Ctrl + F shortcut opens the Search in Files window of the plugin
But if you switch to the current document, the Ctrl + F shortcut opens the usual Find dialog
Using this way allows simultaneous shortcuts in both plugin and native N++. No need to use the Shortcut Mapper !
You said :
The option is now called “Find All, Replace All, Mark: start at cursor”. A (?) next to it says when it applies …
In this new build, I did see the (?) indication which shows the calltip Only when 'Wrap around' is off and not for runs over open documents of files.
However, I did not see the new mane of the option Find All, Replace All, Mark: start at cursor but still the old name Find: Search from cursor position
Note that I downloaded the MultiReplace-Release-x64.zip archive. I don’t know if this matters !
To my mind, the best is to always check this option in MultiReplace > Settings... > Search and Replace dialog. In this case :
When the Wrap around option is not checked, process goes from cursor position to end of file
When the Wrap around option is checked, process goes from the beginning of current file to its end
You can verify this assumption, using the regex (?s)^xyz.+|^abc.+ against this text :
This is
a test
abc
with some text
to see
xyz
if everything
works properly
Place the caret at beginning of the 5th line to see
When the Wrap around option is OFF, a Replace All action, with Notepad++ or MultiReplace, deletes the third last lines ONLY
When the Wrap around option is ON, a Replace All action, with Notepad++ or MultiReplace, deletes everything from string abc in 1 replacement
This clearly shows that the process goes from the very start of file when the Wrap around option is checked !
If the process would have started from current position, then started again from beginning of file, once the end reached, we shoud have gotten the N++ message : Replace All: 2 occurrences were replaced in entire file ( first, using the (?s)^xyz.+ regex and then, using the (?s)^abc.+ regex )
Best Regards,
guy038