Bug 6700 Code assist should not just beep
suggest to show a status message: Could not complete due to syntax errors. This is also better for accessability reasons.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
if (pair.getOffset() != fBracketPosition.getOffset() || 
							pair.getLength() != fBracketPosition.getLength() || 
							fMatcher.getAnchor() != fAnchor) {
						
						
						handleDrawRequest(null);
						
						fBracketPosition.isDeleted= false;
						fBracketPosition.offset= pair.getOffset();
						fBracketPosition.length= pair.getLength();
						fAnchor= fMatcher.getAnchor();
						
						handleDrawRequest(null);
					
					}
				} else {
					
					fIsActive= true;
					
					fBracketPosition.isDeleted= false;
					fBracketPosition.offset= pair.getOffset();
					fBracketPosition.length= pair.getLength();
					fAnchor= fMatcher.getAnchor();
					
					fTextWidget.addPaintListener(this);
					fManager.manage(fBracketPosition);
					handleDrawRequest(null);
				}
			}