checkText

open suspend fun checkText(lines: List<String>): List<List<LineDiagnostic>>?(source)

The issues that depend on more than their own line, such as a word used again a line later: one list per line of lines, the whole text. Called with every line, blank ones included, each time the text is checked, so it should be quick. Null, as by default, when the checker has no such issues to find. It must not throw either.