checkSpelling

fun checkSpelling(text: String, startingAt: Long = 0, language: String? = null): NSRange(source)

Find the first misspelling in text. language null = automatic detection.