Virtual Method
LspServertext_document_did_close_async
Declaration
void
text_document_did_close_async (
LspServer* self,
LspClient* client,
LspTextDocumentIdentifier* text_document,
GAsyncReadyCallback _callback_,
void* _callback__target
)
Description
The document close notification is sent from the client to the server when the document got closed in the client.
The document’s master now exists where the document’s URI points to (e.g. if the document’s URI is a file URI the master now exists on disk). As with the open notification the close notification is about managing the document’s content. Receiving a close notification doesn’t mean that the document was open in an editor before. A close notification requires a previous open notification to be sent. Note that a server’s ability to fulfill requests is independent of whether a text document is open or closed.
Parameters
client-
Type:
LspClientNo description available.
The data is owned by the caller of the method. text_document-
Type:
LspTextDocumentIdentifierThe document that was closed.
The data is owned by the caller of the method. _callback_-
Type:
GAsyncReadyCallbackNo description available.
_callback__target-
Type:
void*No description available.
The argument can be NULL.The data is owned by the caller of the method.