@Override
    public void preferenceChange(PreferenceChangeEvent event) {
        switch (event.getProperty()) {
            case SQLPreferenceConstants.SQLEDITOR_CLOSE_SINGLE_QUOTES:
                sqlSymbolInserter.setCloseSingleQuotesEnabled(CommonUtils.toBoolean(event.getNewValue()));
                return;
            case SQLPreferenceConstants.SQLEDITOR_CLOSE_DOUBLE_QUOTES:
                sqlSymbolInserter.setCloseDoubleQuotesEnabled(CommonUtils.toBoolean(event.getNewValue()));
                return;
            case SQLPreferenceConstants.SQLEDITOR_CLOSE_BRACKETS:
                sqlSymbolInserter.setCloseBracketsEnabled(CommonUtils.toBoolean(event.getNewValue()));
                return;
            case SQLPreferenceConstants.FOLDING_ENABLED: {
                final ProjectionAnnotationModel annotationModel = this.getProjectionAnnotationModel();
                if (annotationModel != null) {
                    annotationModel.removeAllAnnotations();
                    this.reloadSourceViewerConfiguration();
                }
                return;
            }
            case SQLPreferenceConstants.PROBLEM_MARKERS_ENABLED:
                this.clearProblems(null);
                return;
            case SQLPreferenceConstants.MARK_OCCURRENCES_UNDER_CURSOR:
            case SQLPreferenceConstants.MARK_OCCURRENCES_FOR_SELECTION:
                occurrencesHighlighter.updateInput(this.getEditorInput());
            case SQLPreferenceConstants.SQL_FORMAT_BOLD_KEYWORDS:
            case SQLPreferenceConstants.SQL_FORMAT_ACTIVE_QUERY:
            case SQLPreferenceConstants.SQL_FORMAT_EXTRACT_FROM_SOURCE:
            case ModelPreferences.META_DISABLE_EXTRA_READ:
            case SQLPreferenceConstants.READ_METADATA_FOR_SEMANTIC_ANALYSIS:
            case ModelPreferences.SQL_FORMAT_KEYWORD_CASE:
            case ModelPreferences.SQL_FORMAT_LF_BEFORE_COMMA:
            case ModelPreferences.SQL_FORMAT_BREAK_BEFORE_CLOSE_BRACKET:
            case ModelPreferences.SQL_FORMAT_INSERT_DELIMITERS_IN_EMPTY_LINES:
            case AbstractDecoratedTextEditorPreferenceConstants.EDITOR_TAB_WIDTH:
            case AbstractDecoratedTextEditorPreferenceConstants.EDITOR_SPACES_FOR_TABS:
                this.reloadSyntaxRules();
                return;
            case SQLPreferenceConstants.ADVANCED_HIGHLIGHTING_ENABLE:
                this.reloadSourceViewerConfiguration();
                this.reloadSyntaxRules();
                if (this.outlinePage != null) {
                    this.outlinePage.refresh();
                }
                return;
        }
    }
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