mirror of
https://github.com/microsoft/language-server-protocol.git
synced 2025-12-23 08:48:16 +00:00
Clarify content change event order
This commit is contained in:
parent
9f12127a21
commit
47eb9cad24
1 changed files with 4 additions and 2 deletions
|
|
@ -2645,8 +2645,10 @@ interface DidChangeTextDocumentParams {
|
|||
|
||||
/**
|
||||
* The actual content changes. The content changes describe single state changes
|
||||
* to the document. So if there are two content changes c1 and c2 for a document
|
||||
* in state S then c1 move the document to S' and c2 to S''.
|
||||
* to the document. So if there are two content changes c1 (at array index 0) and
|
||||
* c2 (at array index 1) for a document in state S then c1 moves the document from
|
||||
* S to S' and c2 from S' to S''. So c1 is computed on the state S and c2 is computed
|
||||
* on the state S'.
|
||||
*/
|
||||
contentChanges: TextDocumentContentChangeEvent[];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue