@Override public void run() throws Exception { engine.check(document, regions, context, collector, monitor); } @Override
@Override public void run() throws Exception { engine.check(document, regions, context, collector, monitor); } @Override
public void run() throws Exception { engine.check(document, regions, context, collector, monitor); } public void handleException(Throwable x) {
public void check(IDocument document, IRegion[] regions, SpellingContext context, ISpellingProblemCollector collector, IProgressMonitor monitor) { ISpellingEngine engine= getEngine(context.getContentType()); if (engine == null) engine= getEngine(TEXT_CONTENT_TYPE); if (engine != null) engine.check(document, regions, context, collector, monitor); }
@Override public void check(IDocument document, IRegion[] regions, SpellingContext context, ISpellingProblemCollector collector, IProgressMonitor monitor) { ISpellingEngine engine= getEngine(context.getContentType()); if (engine == null) engine= getEngine(TEXT_CONTENT_TYPE); if (engine != null) engine.check(document, regions, context, collector, monitor); }
@Override public void check(IDocument document, IRegion[] regions, SpellingContext context, ISpellingProblemCollector collector, IProgressMonitor monitor) { ISpellingEngine engine= getEngine(context.getContentType()); if (engine == null) engine= getEngine(TEXT_CONTENT_TYPE); if (engine != null) engine.check(document, regions, context, collector, monitor); }