Method

LspCompletionItemset_sort_text

Declaration

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

Description

Sets the value of sort_text.

A string that should be used when comparing this item with other items. When omitted, the label is used as the sort text for this item.

Parameters

value

Type: const gchar*

The new value of sort_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.