Interface ISpellingEngine
-
public interface ISpellingEngineA spelling engine that can be contributed to theorg.eclipse.ui.workbench.texteditor.spellingEngineextension point. TheSpellingContextprovides information about the content type to be checked. In general a spelling engine should at least support the textcontent type.This interface is intended to be implemented by clients.
- Since:
- 3.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheck(IDocument document, IRegion[] regions, SpellingContext context, ISpellingProblemCollector collector, IProgressMonitor monitor)Checks the given regions in the given document.
-
-
-
Method Detail
-
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
-
-