Method
LspEditorrange_formatting_async
Declaration
void
lsp_editor_range_formatting_async (
LspEditor* self,
GUri* uri,
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
uri-
Type:
GUriThe URI of the document to format.
The data is owned by the caller of the method. range-
Type:
LspRangeThe range to format.
The data is owned by the caller of the method. options-
Type:
LspFormattingOptionsThe formatting options.
The data is owned by the caller of the method. _callback_-
Type:
GAsyncReadyCallbackNo 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.