Skip to content

Replacing selected text with )]} fails to delete old text with backwards-dragged selection #23711

@ad8e

Description

@ad8e
  • VSCode Version: 1.10.2
  • OS Version: Windows 8.1

Steps to Reproduce:

  1. Open a new document, and make its contents:
{
word
}
  1. Select "word" with the mouse by dragging backwards. Alternatively, select "word" with Shift + Left Arrow key. It's important that the selection direction is back-to-front.
  2. Type the key }
  3. Notice how the old text is not removed.

Same behavior for ) and ].

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions