Method

LspCompletionItemset_preselect

Declaration

void
lsp_completion_item_set_preselect (
  LspCompletionItem* self,
  gboolean value
)

Description

Sets the value of preselect.

Select this item when showing.

Note that only one completion item can be selected and that the tool / client decides which item that is. The rule is that the first item of those that match best is selected.

Parameters

value

Type: gboolean

The new value of preselect.