Bug 13617 [navigation] Next problem doesn't always update status line
Build 20020409 - new Java class Test - insert method: public void run() { } - replace void with voyd by replacing i with y (cursor should be positions after y) - save (with autobuild on) - it finds the problem and displays it in the ruler, shows squiggles, and adds it to the task list - however, it is not shown in the status line - hit Ctrl+E - it has no effect - move the cursor outside the squiggle - hit Ctrl+E again - now it works and the status line updates - place the cursor above this line - hit Ctrl+E - it repositions on the error, but the status line is blank The status line should always show the error when Next/Prev Problem is used. Also, it would be good if it showed the error whenever the cursor entered an error range.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
/*
		 * @see org.eclipse.swt.events.FocusListener#focusLost(org.eclipse.swt.events.FocusEvent)
		 */
		public void focusLost(FocusEvent event) {
			deactivate();
		}
		/*
		 * @see org.eclipse.jface.text.IDocumentListener#documentAboutToBeChanged(org.eclipse.jface.text.DocumentEvent)
		 */
		public void documentAboutToBeChanged(DocumentEvent event) {
			if (fActive && fActiveRegion != null) {
				fRememberedPosition= new Position(fActiveRegion.getOffset(), fActiveRegion.getLength());
				try {
					event.getDocument().addPosition(fRememberedPosition);
				} catch (BadLocationException x) {
					fRememberedPosition= null;
		}
			}
		}
		/*
		 * @see org.eclipse.jface.text.IDocumentListener#documentChanged(org.eclipse.jface.text.DocumentEvent)
		 */
		public void documentChanged(DocumentEvent event) {
			if (fRememberedPosition != null && !fRememberedPosition.isDeleted()) {
				event.getDocument().removePosition(fRememberedPosition);
				fActiveRegion= new Region(fRememberedPosition.getOffset(), fRememberedPosition.getLength());
			}
			fRememberedPosition= null;
			ISourceViewer viewer= getSourceViewer();
			if (viewer != null) {