Bug 45124 [plan item] Place incremental find status into separate status line item
Incremental find uses the workbench window status line. When having a post selection text listener that tries to find and display the error or warning underlying the current selection, the incremental find status and the error message are wipping out each other. Status line contribution item needs no to be editable but should support tooltips. Enable error updating on post selection event in Java editors.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
* @param offset the region offset
	 * @param length the region length
	 * @param forward <code>true</code> for forwards, <code>false</code> for backward
	 * @param annotationPosition the position of the found annotation
	 * @return the found annotation
	 */
	private Annotation getNextAnnotation(int offset, int length, boolean forward, Position annotationPosition) {
		
		Annotation nextAnnotation= null;
		Position nextAnnotationPosition= null;
		Annotation containingAnnotation= null;
		Position containingAnnotationPosition= null;
		boolean currentAnnotation= false;
		
		IDocument document= getDocumentProvider().getDocument(getEditorInput());
		int endOfDocument= document.getLength(); 
		int distance= 0;
		
		IAnnotationAccess access= getAnnotationAccess();
		
		IAnnotationModel model= getDocumentProvider().getAnnotationModel(getEditorInput());
		Iterator e= new JavaAnnotationIterator(model, true, true);
		while (e.hasNext()) {
			Annotation a= (Annotation) e.next();
			Object type;
			if (a instanceof IJavaAnnotation)
				type= ((IJavaAnnotation) a).getAnnotationType();
			else
				type= access.getType(a);
			boolean isNavigationTarget= isNavigationTargetType(type);