protected boolean isNavigationTarget(Annotation annotation) {
        if (annotation instanceof SpellingAnnotation) {
            // Iterate over spelling problems only if we do not have problems
            for (Iterator<Annotation> i = getAnnotationModel().getAnnotationIterator(); i.hasNext(); ) {
                Annotation anno = i.next();
                if (anno instanceof SQLProblemAnnotation) {
                    return false;
                }
            }
            return true;
        }
        return super.isNavigationTarget(annotation);
    }
Updates the status fields for the given category.

@param category the category
@since 2.0
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditorBase.java