Signal
LspEditor::publish-diagnostics
Declaration
void
publish_diagnostics (
LspEditor* self,
GUri* uri,
gint64* version,
LspDiagnostic** diagnostics,
gint diagnostics_length1,
gpointer user_data
)
Description
Emitted when we receive a textDocument/publishDiagnostics notification.
| Default handler: |
Parameters
uri-
Type:
GUriThe URI for which diagnostic information is reported.
The data is owned by the caller of the function. version-
Type:
gint64*(optional, since 3.15.0) the version number of the document the diagnostics are published for.
The argument can be NULL.The data is owned by the caller of the function. diagnostics-
Type: An array of
LspDiagnostic*An array of diagnostic information items.
The length of the array is specified in the diagnostics_length1argument.The data is owned by the caller of the function. diagnostics_length1-
Type:
gintNo description available.