Method
IdeDiagnosticsforeach_line_in_range
Declaration
void
ide_diagnostics_foreach_line_in_range (
IdeDiagnostics* self,
GFile* file,
guint begin_line,
guint end_line,
IdeDiagnosticsLineCallback callback,
gpointer user_data
)
Description
This function calls callback for every line with diagnostics between
begin_line and end_line. This is useful when drawing information about
diagnostics in an editor where a known number of lines are visible.
Parameters
file-
Type:
GFileA
GFile.The data is owned by the caller of the method. begin_line-
Type:
guintThe starting line.
end_line-
Type:
guintThe ending line.
callback-
Type:
IdeDiagnosticsLineCallbackA callback to execute for each matching line.
user_data-
Type:
gpointerUser data for
callback.The argument can be NULL.The data is owned by the caller of the method.