Hello, @rargames, @alan-kilborn, @peterjones and All,
BTW, did you know these particularities when you invoke the Ctrl + D shortcut …
Let’s start with this INPUT text :
This is an
simple example
of text to
see the different
resulting texts
when invoking the
Ctrl-D shortcut
Now, do a normal selection of all this text and use the Ctrl + D shortcut. We get the usual new text , below :
This is an
simple example
of text to
see the different
resulting texts
when invoking the
Ctrl-D shortcut
This is an
simple example
of text to
see the different
resulting texts
when invoking the
Ctrl-D shortcut
If, instead of a stream selection, we use a zero-length RECTANGULAR selection, whatever its location, among all allowed ones. Then, after a Ctrl + D operation, we get this text :
This is an
This is an
simple example
simple example
of text to
of text to
see the different
see the different
resulting texts
resulting texts
when invoking the
when invoking the
Ctrl-D shortcut
Ctrl-D shortcut
And, if you hit the Ctrl + D shortcut again, every block of two lines is, itself, duplicated. Just as expected !
However if you do a seven-lines RECTANGULAR selection , at the beginning and, then, hit the End key, now, clicking several times on the Ctrl + D shortcut just add one copy of each line, at a time !
Of course, if we select a non-zero RECTANGULAR selection of these seven INPUT lines, we get, as expected, all text selected being written twice !
For instance, let’s do a four chars RECTANGULAR selection, beginning right before the word an of the first line and ending at string hort of the seventh line
After using the Ctrl + D shortcut, the OUTPUT text becomes :
This is anan
simple exampxample
of text toto
see the diffdifferent
resulting teg texts
when invokinoking the
Ctrl-D shorthortcut
For the record :
If you do a normal selection of one line only, without its like-break, the text of all this line is simply added right after, on the same line
If you do a normal selection of one line only, with its line-break, all the text and its like break is duplicated on the line below
Best Regards,
guy038