Method

LspDocumentFormattingParamsset_text_document

Declaration

void
lsp_document_formatting_params_set_text_document (
  LspDocumentFormattingParams* self,
  LspTextDocumentIdentifier* value
)

Description

Sets the value of text_document.

The document to format.

Parameters

value

Type: LspTextDocumentIdentifier

The new value of text_document.

The data is owned by the caller of the method.