Function

LspTextDocumentItemnew

Declaration

LspTextDocumentItem*
lsp_text_document_item_new (
  GUri* uri,
  LspLanguageId language_id,
  gint version,
  const gchar* text
)

Description

No description available.

Parameters

uri

Type: GUri

No description available.

The data is owned by the caller of the function.
language_id

Type: LspLanguageId

No description available.

version

Type: gint

No description available.

text

Type: const gchar*

No description available.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: LspTextDocumentItem

No description available.

The caller of the function takes ownership of the data, and is responsible for freeing it.