Strange behaviour when pasting lines of text
-
When pasting full lines of text in the editor, the result is not what I would expect.
Start with a file containing these lines:
Line 1
Line 2
Line 3
Line 4
Line 5
Line 6Steps to reproduce (done with a USB keyboard):
- Position the cursor at the start of line 4.
- Hold SHIFT and press down arrow twice, selecting lines 4 and 5.
- Press CTRL+X to cut the lines.
- Position the cursor at the start of line 2.
- Press CTRL+V to paste the lines.
Expected result:
Line 1
Line 4
Line 5
Line 2
Line 3
Line 6Actual result:
Line 1
Line 4Line 2
Line 5Line 3
Line 6Workaround:
Insert an empty line where the lines are to be pasted, paste into the empty line, then delete the empty line.
-
The issue is the same when using the controller to do copy/paste...
-
Thanks for the report - we already know about this.