Bug 206797 - 'Step into Selection' should also be enabled if editor does
not have focus - disable the handler when there are no editors at all
diff --git a/org.eclipse.jdt.debug.ui/plugin.xml b/org.eclipse.jdt.debug.ui/plugin.xml
index 0b678e8..6a4cb7d 100644
--- a/org.eclipse.jdt.debug.ui/plugin.xml
+++ b/org.eclipse.jdt.debug.ui/plugin.xml
@@ -3676,6 +3676,12 @@
                    property="org.eclipse.jdt.debug.ui.instanceof.IJavaStackFrame"
                    value="true">
              </systemTest>
+             <with
+                   variable="activeEditor">
+                <instanceof
+                      value="org.eclipse.ui.texteditor.ITextEditor">
+                </instanceof>
+             </with>
           </and>
        </enabledWhen>
     </handler>