Method

LspDocumentSymbolset_range

Declaration

void
lsp_document_symbol_set_range (
  LspDocumentSymbol* self,
  LspRange* value
)

Description

Sets the value of range.

The range enclosing this symbol not including leading/trailing whitespace but everything else like comments. This information is typically used to determine if the user’s cursor is inside the symbol to reveal in the symbol sidebar or breadcrumb.

Parameters

value

Type: LspRange

The new value of range.

The data is owned by the caller of the method.