Fix range when copying empty selection (#182227)

This fixes the range extensions get when copying an empty selection. As part of this, I've also:

- Added tests for this change
- Made the paste parts of the api optional. This is useful when a test provider only wants to add data on copy
This commit is contained in:
Matt Bierner
2023-05-11 17:31:11 -07:00
committed by GitHub
parent 068cbf3133
commit 9b6b547d2d
9 changed files with 241 additions and 30 deletions

View File

@@ -10,6 +10,7 @@
"customEditorMove",
"diffCommand",
"documentFiltersExclusive",
"documentPaste",
"editorInsets",
"extensionRuntime",
"extensionsAny",