Interface ISpellingEngine


public interface ISpellingEngine
A spelling engine that can be contributed to the org.eclipse.ui.workbench.texteditor.spellingEngine extension point. The SpellingContext provides information about the content type to be checked. In general a spelling engine should at least support the text content type.

This interface is intended to be implemented by clients.

Since:
3.1
  • Method Details

    • check

      void check(IDocument document, IRegion[] regions, SpellingContext context, ISpellingProblemCollector collector, IProgressMonitor monitor)
      Checks the given regions in the given document. Reports all found spelling problems to the collector.
      Parameters:
      document - the document to check
      regions - the regions to check
      context - the context
      collector - the problem collector
      monitor - the progress monitor, can be null