Virtual Method

LspServerrange_formatting_async

Declaration

void
range_formatting_async (
  LspServer* self,
  LspClient* client,
  LspTextDocumentIdentifier* text_document,
  LspRange* range,
  LspFormattingOptions* options,
  GAsyncReadyCallback _callback_,
  void* _callback__target
)

Description

The document range formatting request is sent from the client to the server to format a given range in a document.

Parameters

client

Type: LspClient

No description available.

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

Type: LspTextDocumentIdentifier

The document to format.

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

Type: LspRange

The range to format.

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

Type: LspFormattingOptions

The formatting options.

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

Type: GAsyncReadyCallback

No description available.

_callback__target

Type: void*

No description available.

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