novident_editor_spell_check_interface 1.0.0 copy "novident_editor_spell_check_interface: ^1.0.0" to clipboard
novident_editor_spell_check_interface: ^1.0.0 copied to clipboard

Pure-Dart contract for spell-check integration in the Novident suite. Defines NovidentSpellChecker, SpellCheckIssue and proof-segment helpers. Independent of Flutter and of the editor.

Changelog #

1.0.0 #

  • Initial release: the spell-check engine contract for Novident Editor.
  • NovidentSpellCheckerisValid (synchronous hot path, expected O(1)), check (misspelled ranges of a text), suggest (lazy), suggestAsync (defaults to suggest; heavy engines override it to answer from a worker isolate), addWord/forgetWord (runtime personal dictionary, no-op by default), and language.
  • SpellCheckIssuestartOffset/endOffset (UTF-16, relative to the checked text) plus the offending word.
  • proofStateError / proofStateGrammarError — the attribute values stored under RichTextKeys.proofState in a delta to mark misspelled ranges. Only the error value is ever written, and only by the spell-check engine; the base editor ignores the key entirely.
0
likes
140
points
134
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pure-Dart contract for spell-check integration in the Novident suite. Defines NovidentSpellChecker, SpellCheckIssue and proof-segment helpers. Independent of Flutter and of the editor.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MPL-2.0 (license)

More

Packages that depend on novident_editor_spell_check_interface