sublime_merge icon indicating copy to clipboard operation
sublime_merge copied to clipboard

Added/removed lines are added to clipboard as newlines.

Open VulumeCode opened this issue 3 years ago • 0 comments

Version info

  • OS: Windows 10
  • Build: 2077

Description

When selecting multiple lines in the diff view for copypasting (eg to apply the same change to another file), the empty space to account for added/removed lines is added to the clipboard as newlines.

Steps to reproduce

Steps to reproduce the behavior: Make a change and remove some nearby lines, then commit. Open the commit in the diff view. Select the changed block and copy.

image

Paste the code. A bunch of useless newlines appear.

image

Expected behavior

Empty space isn't added to the clipboard. It would just be like copying from the actual file.

VulumeCode avatar Sep 05 '22 13:09 VulumeCode