Skip to content

Bug: Pasting doesn't remove selection #247

@ScreamingHawk

Description

@ScreamingHawk

Environment:

  • VS Code Version: 1.39.2
  • Extension Version: 0.8.0
  • JDK Type & Version: Java 9+181
  • OS Type & Version: Windows_NT x64 10.0.15063

Step to Reproduce:

  1. Highlight text (click and drag)
  2. Copy text (Ctrl + C)
  3. Paste text (Ctrl + V)

Expected Behavior:
Text selection has not changed

Actual Behavior:
Paste overwrites the selected (identical) text. Text becomes unselected. Cursor moves to the end of the pasted section

Related Issues:
N/A

I have a common pattern where I like to duplicate a couple of lines. To do this I highlight the text, copy, paste and paste again. Now, pasting does not remove the text selection, so the second paste overwrites the first paste, leaving me exactly where I started.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions