Bug 40074 [navigation] Selection reset to previous item when arrowing in outline
build I20030710 - open a Java editor on a class with several methods - in the outline, select the first method - use the arrow key to go down one item - as soon as the delay passes and the new text range is selected, use the arrow key to go down another item - after the delay, the selection is reset back to the previous item
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
}
	
	/**
	 * Returns the default quick diff reference provider. It is determined by first trying to 
	 * enable the preferred provider as specified by the preferences; if this is unsuccessful, the
	 * default provider as specified by the extension point mechanism is installed. If that fails
	 * as well, <code>null</code> is returned.
	 * 
	 * @return the default reference provider
	 * @since R3.0
	 */
	private IQuickDiffProviderImplementation getDefaultReferenceProvider() {
		String defaultID= getPreferenceStore().getString(PreferenceConstants.QUICK_DIFF_DEFAULT_PROVIDER);
		EditorsPlugin editorPlugin= EditorsPlugin.getDefault();
		ReferenceProviderDescriptor[] descs= editorPlugin.getExtensions();
		IQuickDiffProviderImplementation provider= null;
		
		for (int i= 0; i < descs.length; i++) {
			if (descs[i].getId().equals(defaultID)) {
				provider= descs[i].createProvider();
				if (provider != null) {
					provider.setActiveEditor(this);
					if (provider.isEnabled())
						break;
					provider.dispose();
					provider= null;
				}
			}
		}