TextDiagnosticsState
constructor(textState: TextEditorState, checker: TextDiagnosticsChecker?, color: Color = DefaultDiagnosticColor, suggestionColor: Color = DefaultSuggestionColor, scanContext: CoroutineContext = Dispatchers.Default, cacheLines: Int = DEFAULT_CACHE_LINES)(source)
Parameters
color
Underlines a DiagnosticSeverity.Error.
suggestionColor
Underlines a DiagnosticSeverity.Suggestion.
scanContext
Where the checker runs. Spans change on the caller's dispatcher.
cacheLines
How many lines' results to keep.