Package-level declarations

The backend contract: EditorSpellChecker and its value types (Correction, Suggestion). Implement this interface to plug in any spell-checking engine.

Types

Link copied to clipboard
data class Correction(val range: TextEditorRange, val originalText: String, val suggestions: List<Suggestion>)

Represents a correction for a portion of text within a sentence.

Link copied to clipboard

A platform-agnostic spell checker interface used by the editor.

Link copied to clipboard
data class Suggestion(val term: String)

Minimal suggestion model to avoid leaking any library types.