From 47eb9cad24aa145b05cf3b019bd8255a7eb6ed35 Mon Sep 17 00:00:00 2001 From: Dirk Baeumer Date: Tue, 14 Jan 2020 10:19:17 +0100 Subject: [PATCH] Clarify content change event order --- _specifications/specification-3-15.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_specifications/specification-3-15.md b/_specifications/specification-3-15.md index 836b09c..9cd557e 100644 --- a/_specifications/specification-3-15.md +++ b/_specifications/specification-3-15.md @@ -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[]; }