Virtual Method

LspServerdocument_highlight_async

Declaration

void
document_highlight_async (
  LspServer* self,
  LspClient* client,
  LspTextDocumentIdentifier* text_document,
  LspPosition* position,
  GAsyncReadyCallback _callback_,
  void* _callback__target
)

Description

The document highlight request is sent from the client to the server to resolve document highlights for a given text document position.

For programming languages, this usually highlights all references to the symbol scoped to this file.

Parameters

client

Type: LspClient

No description available.

The data is owned by the caller of the method.
text_document

Type: LspTextDocumentIdentifier

The document to find highlights in.

The data is owned by the caller of the method.
position

Type: LspPosition

The position inside the document.

The data is owned by the caller of the method.
_callback_

Type: GAsyncReadyCallback

No description available.

_callback__target

Type: void*

No description available.

The argument can be NULL.
The data is owned by the caller of the method.