-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiline pasting fails on exactly two lines #80390
Comments
(Experimental duplicate detection) |
Apart from the obvious first one, the other issues appear unrelated to me. |
Let's track in #80624 |
Ok. But remember that, in this case, when the bug occurs, the line count matches the cursor count. |
Starting with tomorrow's build, you can configure |
Strange, I checked in Insiders 1.39 a few days later but that option wasn't available. Now that 1.39 has been released, I can see the option. Also, only now I realized this option works e.g. to copy a single block of 3 lines of text and paste each line on 3 separate cursors. Different from that, I was only interested in copying multiple selections. Speaking of which, multiple selections where the number of selections is different from 2 works the same regardless of the value of As for the number of selections equal to 2, it's bugged as described for So it's finally fixed for me. |
Issue Type: Bug
Hi everyone.
Consider the following piece of text:
Copy the
foo
word from arrow to arrow, in order to include the new line character. Place the caret at the end of the line containing1st
. Place another caret at the end of the line containing2nd
(defaultAlt+click
). Paste. This is the expected result:This is the actual result:
Only one line receives the paste, without the new line character. The same doesn't happen if there is only 1 caret or more than 2 carets. It also works normally if there's no new line character in the clipboard.
Note: this issue was originally opened in Insiders 1.29.0. It was closed when 1.36 was released, despite I still being able to reproduce it in Insiders 1.37.
Now that 1.38 has been released, since I still can reproduce the issue in Insiders 1.39, I'm reopening this issue.
Thanks in advance.
VS Code version: Code - Insiders 1.39.0-insider (7edc8f7, 2019-09-05T05:42:21.072Z)
OS version: Windows_NT x64 10.0.17763
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: