Bug 16181 Tab key doesn't work in editor when 'Insert spaces for tabs' enabled
Using integration build 0515, pressing Tab in an editor window doesn't do anything when 'Insert spaces for tabs' is selected. The editor is marked as unsaved, but no spaces appear.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
*/
	protected void setStatusLineErrorMessage(String msg) {
		
		getStatusLineManager().setErrorMessage(msg);
		
		if (msg == null || msg.trim().length() == 0) {
			if (fStatusLineClearer != null) {
				getSelectionProvider().removeSelectionChangedListener(fStatusLineClearer);
				fStatusLineClearer= null;
			}
		} else if (fStatusLineClearer == null) {
			fStatusLineClearer= new ISelectionChangedListener() {
				public void selectionChanged(SelectionChangedEvent event) {
					getSelectionProvider().removeSelectionChangedListener(fStatusLineClearer);
					fStatusLineClearer= null;
					getStatusLineManager().setErrorMessage(null);
				}
			};
			getSelectionProvider().addSelectionChangedListener(fStatusLineClearer);
		}
	}
	
	private IProblemAnnotation getNextError(int offset, boolean forward, Position errorPosition) {
		
		IProblemAnnotation nextError= null;
		Position nextErrorPosition= null;
		
		IDocument document= getDocumentProvider().getDocument(getEditorInput());
		int endOfDocument= document.getLength(); 
		int distance= 0;