#pragma once #include "Basic.h" namespace clice::protocol { struct DidOpenTextDocumentParams { /// The document that was opened. TextDocumentItem textDocument; }; struct TextDocumentContentChangeEvent { /// The new text of the whole document. string text; }; struct DidChangeTextDocumentParams { /// The document that did change. The version number points /// to the version after all provided content changes have /// been applied. VersionedTextDocumentIdentifier textDocument; std::vector contentChanges; }; } // namespace clice::protocol