Ctrl + Shift keys and Paste (drop down menu and V)

Dec 2, 2008
224
2
Canada
This is in reference to the new functionality in V19:

"Edit / Paste will check to see if the Ctrl + Shift keys are down, and if so it will insert a " & " between lines of a multiline paste"
and "Ctrl+Shift+V will insert a " & " between lines of a multiline paste"

In an editor I copied the following to the clipboard:

dir /s
dir /b /s
dir /Q /T


Now if I do a Ctrl + Shift and Paste from the Edit menu or pop-menu from right click on the mouse, I get:

dir /s & dir /b /s & dir /Q /T

If I do a Ctrl + V, I get:

dir /s

Then if I do Ctrl + Shift + V, I get:

dir /sdir /b /sdir /Q /T & &

-----

Another strange thing is if I do a Ctrl + Paste + V into the "Command Input" Window I get:

Command-Input-Window.png



OS: Windows 7 x64 Enterprise SP1
 
May 20, 2008
11,388
99
Syracuse, NY, USA
dir /s

Then if I do Ctrl + Shift + V, I get:

dir /sdir /b /sdir /Q /T & &

After "echos dir /s^ndir /b /s^ndir /Q /T", Ctrl-Shift-V gives that (above) in a console.

And, still in the console, if I Ctrl-Shift-SystemMenu\Edit\Paste, I get a trailing newline, and the three commands are executed.

In TCMD, it's diggerent. Crl-Shift-V executes the first two and leaves the third ion the command line, while Ctrl-Shift-CintextMenu\Paste gets it right.
 
Similar threads
Thread starter Title Forum Replies Date
vefatica Can I alias @@Ctrl-Shift-Alt-u? Support 4
A How to? Copy+Paste in TCMD tabs with Ctrl-Shift-Ins? Support 5
Charles Dye Ctrl-Shift-Up doesn't update directory history Support 1
Peter Murschall IDE destroys Text on Ctrl-U/Ctrl-Shift-U Support 12
vefatica Ctrl-T and Ctrl-Shift-T Support 6
P Disable global hotkey Ctrl+Shift+T Support 19
dcantor Fixed Ctrl+Shift+Insert repeats last character Support 3
R Emacs-style cmdline editing Ctrl-K Support 0
cgunhouse Ctrl-C from within a library function Support 6
Alpengreis Fixed [v26.00.26] Crash after answering INKEY with <Ctrl>+C Support 1
vefatica Ctrl-F? Support 3
MickeyF expand alias in cmdline with Ctrl-F in TCC Support 21
MickeyF Ctrl-S and Ctrl-Q in TCC Support 6
Peter Murschall IDE: Ctrl-W is a Harakiri Command ! Support 23
samintz TCEDIT Ctrl-S Support 2
vefatica Ctrl-Alt-L (R, Left, Right). Support 8
M Ctrl-C when using command line history does nothing Support 2
V Ctrl-Home/End don't work in Win10 Support 3
vefatica TPIPE.EXE crashes on Ctrl-C Support 9
vefatica Ctrl-Enter in command history window? Support 8
vefatica TPIPE crashes on Ctrl-C Support 1
M View doesn't recognize Ctrl+End and Ctrl+Pos1 Support 2
M Ctrl-End doesn't work. DelToEnd is not executed Support 13
C Output continues after Ctrl-Break Support 8
J How to? Debug Keyboard Shortcuts (Ctrl-A not remapping?) Support 8
Jay Sage Ctrl-C Not Working Reliably to Copy Screen Content Support 4
vefatica Ctrl-x? Support 13
C How to? ctrl-c does not prompt "Terminate batch job" Support 2
vefatica DATEMONITOR + Ctrl-C crashes TCCv15 Support 5
A WAD No newlines in copy with Ctrl-Ins Support 2
A Ctrl-1 and the command history Support 5
vefatica Ctrl-Up/Down? Support 21
E Ctrl-V does not always work in BDEBUGGER Support 4
vefatica Should Ctrl-C interrupt a COPY? Support 2
M Ctrl-C and Java Support 19
K Ctrl-D alias no longer works Support 4
vefatica Ctrl-F1? Support 0
J CTRL-C does not work on Windows 7 64-bit Support 3
dcantor Does variable expansion (ctrl-x) actually work? Support 27
E Ctrl+C not working as expected Support 8
Juanma Barranquero Ctrl-C trouble Support 1
Fross CTRL-C in V10 Support 3
S Ctrl-C handling while piping Support 0
vefatica .PL and Ctrl-C Support 3
vefatica LIST, Ctrl-C leaves visual artifact Support 0
M Can "append to clipboard when shift is held down" be disabled? Support 1
MikeBaas Understanding SHIFT Support 3
W Pressing shift+enter Support 1
D Shift+Enter no longer acts like "Enter" in TCC 24 Support 2
Charles Dye Control-Shift-X Support 3

Similar threads