Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 dc5b49b499f..031aa0de359 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 instanceof IVerticalRulerInfo)
+ if (fVerticalRuler != null)
return fVerticalRuler;
}

Back to the top