nextDiagnostic

Select the next diagnostic after the selection, wrapping to the first one. Returns false when there is none, or when wrapping would select the range that is already selected.