org.eclipse.xtext.ui.editor.reconciler
Class XtextSpellingReconcileStrategy
java.lang.Object
org.eclipse.ui.texteditor.spelling.SpellingReconcileStrategy
org.eclipse.xtext.ui.editor.reconciler.XtextSpellingReconcileStrategy
- All Implemented Interfaces:
- org.eclipse.jface.text.reconciler.IReconcilingStrategy, org.eclipse.jface.text.reconciler.IReconcilingStrategyExtension
public class XtextSpellingReconcileStrategy
- extends org.eclipse.ui.texteditor.spelling.SpellingReconcileStrategy
- Since:
- 2.3
- Author:
- Michael Clay - Initial contribution and API
Method Summary |
protected org.eclipse.jface.text.ITypedRegion[] |
computePartitioning(int offset,
int length,
java.lang.String partitionType)
|
protected boolean |
isSpellingEnabled()
|
void |
reconcile(org.eclipse.jface.text.IRegion region)
|
void |
setDocument(org.eclipse.jface.text.IDocument document)
|
protected boolean |
shouldProcess(org.eclipse.jface.text.ITypedRegion typedRegion)
|
Methods inherited from class org.eclipse.ui.texteditor.spelling.SpellingReconcileStrategy |
createSpellingProblemCollector, getAnnotationModel, getContentType, getDocument, initialReconcile, reconcile, setProgressMonitor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XtextSpellingReconcileStrategy
protected XtextSpellingReconcileStrategy(org.eclipse.jface.text.source.ISourceViewer viewer)
setDocument
public void setDocument(org.eclipse.jface.text.IDocument document)
- Specified by:
setDocument
in interface org.eclipse.jface.text.reconciler.IReconcilingStrategy
- Overrides:
setDocument
in class org.eclipse.ui.texteditor.spelling.SpellingReconcileStrategy
reconcile
public void reconcile(org.eclipse.jface.text.IRegion region)
- Specified by:
reconcile
in interface org.eclipse.jface.text.reconciler.IReconcilingStrategy
- Overrides:
reconcile
in class org.eclipse.ui.texteditor.spelling.SpellingReconcileStrategy
computePartitioning
protected org.eclipse.jface.text.ITypedRegion[] computePartitioning(int offset,
int length,
java.lang.String partitionType)
shouldProcess
protected boolean shouldProcess(org.eclipse.jface.text.ITypedRegion typedRegion)
isSpellingEnabled
protected boolean isSpellingEnabled()