Method

IdeDiagnostictake_fixit

Declaration

void
ide_diagnostic_take_fixit (
  IdeDiagnostic* self,
  IdeTextEdit* fixit
)

Description

Adds a source fixit to the diagnostic, but does not increment the reference count of fixit.

Parameters

fixit

Type: IdeTextEdit

An IdeTextEdit.

The instance takes ownership of the data, and is responsible for freeing it.