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
IResource[] resources = traversal.getResources();
						for (int j = 0; j < resources.length; j++) {
							IResource resource = resources[j];
							if (isDescendantOfRoots(resource)) {
								return true;
							}
						}
					}
				} catch (CoreException e) {
					IDEWorkbenchPlugin
							.log(
									NLS
											.bind(
													"An internal error occurred while determining the resources for {0}", saveable.getName()), e); 
				}
			} else {
				
				IFile file = ResourceUtil.getFile(saveable);
				if (file != null) {
					return isDescendantOfRoots(file);
				}
			}
			return false;
		}
		/**
		 * Return whether the given resource is either equal to or a descendant of
		 * one of the given roots.
		 * 
		 * @param resource the resource to be tested
		 * @return whether the given resource is either equal to or a descendant of