Lsp.DocumentOnTypeFormattingOptions – lsp-glib-3.0 Reference Manual
Packages
lsp-glib-3.0
Lsp
DocumentOnTypeFormattingOptions
first_trigger
more_triggers
DocumentOnTypeFormattingOptions
DocumentOnTypeFormattingOptions.from_variant
@ref
add_trigger
to_variant
unref
DocumentOnTypeFormattingOptions
Object Hierarchy:
Description:
[
Compact
( opaque =
true
) ]
[
CCode
( ref_function =
"lsp_document_on_type_formatting_options_ref"
, unref_function =
"lsp_document_on_type_formatting_options_unref"
) ]
public
class
DocumentOnTypeFormattingOptions
Namespace:
Lsp
Package:
lsp-glib-3.0
Content:
Properties:
public
string
first_trigger
{
get
;
set
; }
The character on which formatting should be triggered, like `}`.
public
string
[]?
more_triggers
{
get
;
set
; }
Creation methods:
public
DocumentOnTypeFormattingOptions
(
string
first_trigger,
string
[]? more_triggers =
null
)
public
DocumentOnTypeFormattingOptions.from_variant
(
Variant
variant)
throws
DeserializeError
Methods:
public
unowned
DocumentOnTypeFormattingOptions
@ref
()
public
void
add_trigger
(
string
trigger)
Appends a trigger character to
more_triggers
.
public
Variant
to_variant
()
public
void
unref
()