Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaeumer authored and vladdu committed Jan 26, 2021
1 parent 439698e commit 1c55740
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm-debug.log
2 changes: 1 addition & 1 deletion protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ If multiple `TextEdit`s are applied to a text document, all text edits describe

>#### New: TextDocumentEdit
Describes textual changes on a single text document. The text document is referred to as a `VersionedTextDocumentIdentifier` to allow clients to check the text document version before an edit is applied.
Describes textual changes on a single text document. The text document is referred to as a `VersionedTextDocumentIdentifier` to allow clients to check the text document version before an edit is applied. A `TextDocumentEdit` describes all changes on a version Si and after they are applied move the document to version Si+1. So the creator of a `TextDocumentEdit` doesn't need to sort the array or do any kind of ordering. However the edits must be non overlapping.

```typescript
export interface TextDocumentEdit {
Expand Down

0 comments on commit 1c55740

Please sign in to comment.