Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2005-06-22 15:41:33 +0000
committerDani Megert2005-06-22 15:41:33 +0000
commite32eaad8b8fabfeac54c68b15571c75d38ebc01b (patch)
treeb714e7dfac500d6937055cf50773d577dfc567d0 /org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui
parent5a2bcf5053275a7f3a8161beabb961746daed189 (diff)
downloadeclipse.platform.text-e32eaad8b8fabfeac54c68b15571c75d38ebc01b.tar.gz
eclipse.platform.text-e32eaad8b8fabfeac54c68b15571c75d38ebc01b.tar.xz
eclipse.platform.text-e32eaad8b8fabfeac54c68b15571c75d38ebc01b.zip
Fixed bug 100825: [misc] Example Java editor JavaDoc keywords not colored
Reviewed by Tom
Diffstat (limited to 'org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui')
-rw-r--r--org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaSourceViewerConfiguration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaSourceViewerConfiguration.java b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaSourceViewerConfiguration.java
index bdafaa3c7..4110ffee6 100644
--- a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaSourceViewerConfiguration.java
+++ b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaSourceViewerConfiguration.java
@@ -140,7 +140,7 @@ public class JavaSourceViewerConfiguration extends SourceViewerConfiguration {
reconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE);
reconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE);
- dr= new DefaultDamagerRepairer(new SingleTokenScanner(new TextAttribute(provider.getColor(JavaColorProvider.JAVADOC_DEFAULT))));
+ dr= new DefaultDamagerRepairer(JavaEditorExamplePlugin.getDefault().getJavaDocScanner());
reconciler.setDamager(dr, JavaPartitionScanner.JAVA_DOC);
reconciler.setRepairer(dr, JavaPartitionScanner.JAVA_DOC);

Back to the top