Method

LspCompletionItemset_filter_text

Declaration

void
lsp_completion_item_set_filter_text (
  LspCompletionItem* self,
  const gchar* value
)

Description

Sets the value of filter_text.

A string that should be used when filtering a set of completion items. When omitted, the label is used as the filter text for this item.

Parameters

value

Type: const gchar*

The new value of filter_text.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.