Multi selection and multi edit
-
I presume OP has this, where the inverted text is the product of “multi-select”:
and then has this in the clipboard:
Peter Guy Claudia Scott Alan Terry Michael
And wants to end up with this text after replacement:
Note that I styled the text in the cyan color myself, just so the replacements could be easier to see.
Of course I could be totally wrong about what the OP has and wants. :-)
-
Oops, it appears I’ve turned Guy into a philandering filmmaker, Scott into an infidel, and Michael into an encourager of adultery. Sorry, all! :-)
-
@Alan-Kilborn
i can install paython plugin if this is not available in NPPEXec script -
@Don-Bhai said in Multi selection and multi edit:
but her in notepad++ every word replaced by the 6 words that in clipboard that makes me crazy
As I understand you comment, I think you missed an important condition to get what you want - in order to distribute replacements over a multiselection, you must copy the replacement strings as a rectangular selection, not a normal one.
Hope this helps.
-
@guy038 you are amazing, thank you very much
i was selecting the 6 word by ctrl+A
thats why it replace every word by the 6 words i have selected and copied in clipboard
thanks @Alan-Kilborn , @guy038 , @astrosofista , and to every one tried to help -
@astrosofista you are right, i selected them as normal one that’s my fault
-
I released a Notepad++ bundle where the multi selection is already installed, so you can simply test it:
https://github.com/bitagoras/PyPadPlusPlus/releases
It’s actually a portable version that includes a Python environment. But you don’t need this for mult selection.Below you can see how this looks like. The only non-standard edit command I used here is
<Strg> + <D>
. -
@bitagoras said in Multi selection and multi edit:
The only non-standard edit command I used here is <Strg> + <D>.
<Strg> + <D>
??
What does that mean? -
@Alan-Kilborn
Sorry, I use a German keyboard. I wanted to write<Ctrl> + <D>
;-) -
FYI: This feature is implemented in Notepad++ core and it’ll be available in the next release.
You may want to check the PR to see if it meets your need:
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/14313