Method

LspEditorclose_text_document_async

Declaration

void
lsp_editor_close_text_document_async (
  LspEditor* self,
  GUri* uri,
  GAsyncReadyCallback _callback_,
  void* _callback__target
)

Description

Closes a file, sending the textDocument/didClose message to the language server. If the file is not open, this does nothing.

Parameters

uri

Type: GUri

No description available.

The data is owned by the caller of the method.
_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.