Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorapanchenk2010-04-23 06:15:24 +0000
committerapanchenk2010-04-23 06:15:24 +0000
commit50e9461ee20ee926076aa6445e3d69550fc16b13 (patch)
treee1a19126699332c6063484a9f17818a86e67379d
parenta4c75f1f379d1a6a37bef6f2bfb34a8f959d87f6 (diff)
downloadorg.eclipse.dltk.examples-R1_0_maintenance.tar.gz
org.eclipse.dltk.examples-R1_0_maintenance.tar.xz
org.eclipse.dltk.examples-R1_0_maintenance.zip
remove getIndentPrefixes(ISourceViewer sourceViewer, String contentType) and use DLTKs default implementationR1_0_maintenance
-rw-r--r--eclipsecon08/org.eclipse.dltk.examples.python.part3/src/org/eclipse/dltk/examples/python/internal/ui/editor/ExamplePythonSourceViewerConfiguration.java7
1 files changed, 7 insertions, 0 deletions
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 @@ package org.eclipse.dltk.examples.python.internal.ui.editor;
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.IAutoEditStrategy;
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 @@ public class ExamplePythonSourceViewerConfiguration extends
return ExamplePythonContentAssistPreference.getDefault();
}
+ public IInformationPresenter getOutlinePresenter(ScriptSourceViewer viewer,
+ boolean doCodeResolve) {
+ return null;
+ }
+
public String[] getConfiguredContentTypes(ISourceViewer sourceViewer) {
return IExamplePythonPartitions.PYTHON_PARITION_TYPES;
}

Back to the top