Method

IdeDiagnosticadd_fixit

Declaration

void
ide_diagnostic_add_fixit (
  IdeDiagnostic* self,
  IdeTextEdit* fixit
)

Description

Adds a source fixit to the diagnostic.

Parameters

fixit

Type: IdeTextEdit

An IdeTextEdit.

The data is owned by the caller of the method.