Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Maetzel2004-04-07 19:03:14 +0000
committerKai Maetzel2004-04-07 19:03:14 +0000
commite332298a59a028f16c4d6d72e1c43e45b33f5ce1 (patch)
tree55d98476bcc29dc282f467db17cc431877ff2218
parent25e418d254d416b777d6352ede25dc7aeb3c668e (diff)
downloadeclipse.platform.text-e332298a59a028f16c4d6d72e1c43e45b33f5ce1.tar.gz
eclipse.platform.text-e332298a59a028f16c4d6d72e1c43e45b33f5ce1.tar.xz
eclipse.platform.text-e332298a59a028f16c4d6d72e1c43e45b33f5ce1.zip
fixed bug in getAdapter
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
index 031aa0de3..dc5b49b49 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
@@ -4190,7 +4190,7 @@ public abstract class AbstractTextEditor extends EditorPart implements ITextEdit
}
if (IVerticalRulerInfo.class.equals(required)) {
- if (fVerticalRuler != null)
+ if (fVerticalRuler instanceof IVerticalRulerInfo)
return fVerticalRuler;
}

Back to the top