forEachDiagnostic

fun forEachDiagnostic(state: EditorState, callback: (Diagnostic) -> Unit)

Iterate over all diagnostics in the given state.