Method

LspServertext_document_did_save_async

Declaration

void
lsp_server_text_document_did_save_async (
  LspServer* self,
  LspClient* client,
  LspTextDocumentIdentifier* text_document,
  const gchar* text,
  GAsyncReadyCallback _callback_,
  void* _callback__target
)

Description

The document save notification is sent from the client to the server when the document was saved in the client.

Parameters

client

Type: LspClient

No description available.

The data is owned by the caller of the method.
text_document

Type: LspTextDocumentIdentifier

The document that was saved.

The data is owned by the caller of the method.
text

Type: const gchar*

The content when saved. Depends on whether the server has opted to receive this.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
_callback_

Type: GAsyncReadyCallback

No description available.

The argument can be NULL.
_callback__target

Type: void*

No description available.

The argument can be NULL.
The data is owned by the caller of the method.