Bug 148993 [Workbench] Wrong Javadoc for IDE.getEditorDescriptor
3.2 and latest 3.3 build The Javadoc of IDE.getEditorDescriptor(...) does not mention that as a very last resort it tries to find the editor descriptor for the default text editor i.e. IDEWorkbenchPlugin.DEFAULT_TEXT_EDITOR_ID (org.eclipse.ui.DefaultTextEditor)
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/IDE.java
*         one of the given roots
		 */
		private boolean isDescendantOfRoots(IResource resource) {
			for (int l = 0; l < roots.length; l++) {
				IResource root = roots[l];
				if (root.getFullPath().isPrefixOf(resource.getFullPath())) {
					return true;
				}
			}
			return false;
		}
		
		/**
		 * Return whether the given dirty editor part is editing resources that are
		 * descendants of the given roots.
		 * 
		 * @param part the dirty editor part
		 * @return whether the given dirty editor part is editing resources that are
		 *         descendants of the given roots
		 */
		private boolean isEditingDescendantOf(IEditorPart part) {
			IFile file = ResourceUtil.getFile(part.getEditorInput());
			if (file != null) {
				return isDescendantOfRoots(file);
			}
			return false;
		}
		
	}