TextDiagnosticsState

constructor(textState: TextEditorState, checker: TextDiagnosticsChecker?, color: Color = DefaultDiagnosticColor, suggestionColor: Color = DefaultSuggestionColor, scanContext: CoroutineContext = Dispatchers.Default, cacheLines: Int = DEFAULT_CACHE_LINES)(source)

Parameters

color
suggestionColor
scanContext

Where the checker runs. Spans change on the caller's dispatcher.

cacheLines

How many lines' results to keep.