Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ExtensionBasedTextViewerConfiguration.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ExtensionBasedTextViewerConfiguration.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ExtensionBasedTextViewerConfiguration.java
index 5d21e4fd7..d24f71fc9 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ExtensionBasedTextViewerConfiguration.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/ExtensionBasedTextViewerConfiguration.java
@@ -33,6 +33,7 @@ import org.eclipse.jface.text.contentassist.IContentAssistant;
import org.eclipse.jface.text.presentation.IPresentationReconciler;
import org.eclipse.jface.text.quickassist.IQuickAssistAssistant;
import org.eclipse.jface.text.quickassist.QuickAssistAssistant;
+import org.eclipse.jface.text.reconciler.IReconciler;
import org.eclipse.jface.text.source.ISourceViewer;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IEditorPart;
@@ -46,7 +47,7 @@ import org.eclipse.ui.texteditor.ITextEditor;
* The configuration of the {@link ExtensionBasedTextEditor}. It registers the proxy composite
* for hover, completion, syntax highlighting, and then those proxy take care of resolving to
* the right extensions on-demand.
- *
+ *
* @since 1.0
*/
@SuppressWarnings("restriction")
@@ -60,7 +61,7 @@ public final class ExtensionBasedTextViewerConfiguration extends TextSourceViewe
private List<IContentAssistProcessor> processors;
/**
- *
+ *
* @param editor the editor we're creating.
* @param preferenceStore the preference store.
*/
@@ -174,4 +175,9 @@ public final class ExtensionBasedTextViewerConfiguration extends TextSourceViewe
});
return quickAssistAssistant;
}
+
+ @Override
+ public IReconciler getReconciler(ISourceViewer sourceViewer) {
+ return null; // to disable spell-checker
+ }
}

Back to the top