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 Summary
Modifier and TypeMethodDescriptionvoidcheck(IDocument document, IRegion[] regions, SpellingContext context, ISpellingProblemCollector collector, IProgressMonitor monitor) Checks the given regions in the given document.
-
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 checkregions- the regions to checkcontext- the contextcollector- the problem collectormonitor- the progress monitor, can benull
-