Lsp.DocumentRangeFormattingParams – lsp-glib-3.0 Reference Manual
Packages
lsp-glib-3.0
Lsp
DocumentRangeFormattingParams
options
range
text_document
DocumentRangeFormattingParams
DocumentRangeFormattingParams.from_variant
to_variant
DocumentRangeFormattingParams
Object Hierarchy:
Description:
public
class
DocumentRangeFormattingParams
The parameters of a `textDocument/rangeFormatting` request.
Namespace:
Lsp
Package:
lsp-glib-3.0
Content:
Properties:
public
FormattingOptions
options
{
get
;
set
; }
The formatting options.
public
Range
range
{
get
;
set
; }
The range to format.
public
TextDocumentIdentifier
text_document
{
get
;
set
; }
The document to format.
Creation methods:
public
DocumentRangeFormattingParams
(
TextDocumentIdentifier
text_document,
Range
range,
FormattingOptions
options)
public
DocumentRangeFormattingParams.from_variant
(
Variant
dict)
throws
DeserializeError
,
UriError
Methods:
public
Variant
to_variant
()