remove getIndentPrefixes(ISourceViewer sourceViewer, String contentType) and use DLTKs default implementation
diff --git a/eclipsecon08/org.eclipse.dltk.examples.python.part3/src/org/eclipse/dltk/examples/python/internal/ui/editor/ExamplePythonSourceViewerConfiguration.java b/eclipsecon08/org.eclipse.dltk.examples.python.part3/src/org/eclipse/dltk/examples/python/internal/ui/editor/ExamplePythonSourceViewerConfiguration.java
index f28f779..9f60c52 100644
--- a/eclipsecon08/org.eclipse.dltk.examples.python.part3/src/org/eclipse/dltk/examples/python/internal/ui/editor/ExamplePythonSourceViewerConfiguration.java
+++ b/eclipsecon08/org.eclipse.dltk.examples.python.part3/src/org/eclipse/dltk/examples/python/internal/ui/editor/ExamplePythonSourceViewerConfiguration.java
@@ -2,6 +2,7 @@
import org.eclipse.dltk.examples.python.internal.ui.editor.text.ExamplePythonCodeScanner;
import org.eclipse.dltk.examples.python.internal.ui.editor.text.IExamplePythonColorConstants;
+import org.eclipse.dltk.internal.ui.editor.ScriptSourceViewer;
import org.eclipse.dltk.ui.text.AbstractScriptScanner;
import org.eclipse.dltk.ui.text.IColorManager;
import org.eclipse.dltk.ui.text.ScriptPresentationReconciler;
@@ -14,6 +15,7 @@
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.contentassist.ContentAssistant;
import org.eclipse.jface.text.contentassist.IContentAssistProcessor;
+import org.eclipse.jface.text.information.IInformationPresenter;
import org.eclipse.jface.text.presentation.IPresentationReconciler;
import org.eclipse.jface.text.presentation.PresentationReconciler;
import org.eclipse.jface.text.rules.DefaultDamagerRepairer;
@@ -42,6 +44,11 @@
return ExamplePythonContentAssistPreference.getDefault();
}
+ public IInformationPresenter getOutlinePresenter(ScriptSourceViewer viewer,
+ boolean doCodeResolve) {
+ return null;
+ }
+
public String[] getConfiguredContentTypes(ISourceViewer sourceViewer) {
return IExamplePythonPartitions.PYTHON_PARITION_TYPES;
}