if (CODE_FORMATTER_TAB_SIZE.equals(p) || CODE_FORMATTER_TAB_CHAR.equals(p)) { SourceViewerConfiguration configuration= getSourceViewerConfiguration(); String[] types= configuration.getConfiguredContentTypes(asv); for (int i= 0; i < types.length; i++) asv.setIndentPrefixes(configuration.getIndentPrefixes(asv, types[i]), types[i]);  if (fTabConverter != null) fTabConverter.setNumberOfSpacesPerTab(getPreferenceStore().getInt(CODE_FORMATTER_TAB_SIZE)); }
	protected void handlePreferenceStoreChanged(PropertyChangeEvent event) {				try {						AdaptedSourceViewer asv= (AdaptedSourceViewer) getSourceViewer();			if (asv != null) {									String p= event.getProperty();						if (CODE_FORMATTER_TAB_SIZE.equals(p) || CODE_FORMATTER_TAB_CHAR.equals(p)) {				    SourceViewerConfiguration configuration= getSourceViewerConfiguration();					String[] types= configuration.getConfiguredContentTypes(asv);										for (int i= 0; i < types.length; i++)					    asv.setIndentPrefixes(configuration.getIndentPrefixes(asv, types[i]), types[i]);					    					if (fTabConverter != null)						fTabConverter.setNumberOfSpacesPerTab(getPreferenceStore().getInt(CODE_FORMATTER_TAB_SIZE));				}								if (SPACES_FOR_TABS.equals(p)) {					if (isTabConversionEnabled())						startTabConversion();					else						stopTabConversion();					return;				}								if (MATCHING_BRACKETS.equals(p)) {					if (isBracketHighlightingEnabled())						startBracketHighlighting();					else						stopBracketHighlighting();					return;				}								if (MATCHING_BRACKETS_COLOR.equals(p)) {					if (fBracketPainter != null)						fBracketPainter.setHighlightColor(getColor(MATCHING_BRACKETS_COLOR));					return;				}								if (CURRENT_LINE.equals(p)) {					if (isLineHighlightingEnabled())						startLineHighlighting();					else						stopLineHighlighting();					return;				}								if (CURRENT_LINE_COLOR.equals(p)) {					if (fLinePainter != null) {						stopLineHighlighting();						startLineHighlighting();					}										return;				}								if (PRINT_MARGIN.equals(p)) {					if (isPrintMarginVisible())						showPrintMargin();					else						hidePrintMargin();					return;				}								if (PRINT_MARGIN_COLOR.equals(p)) {					if (fPrintMarginPainter != null)						fPrintMarginPainter.setMarginRulerColor(getColor(PRINT_MARGIN_COLOR));					return;				}								if (PRINT_MARGIN_COLUMN.equals(p)) {					if (fPrintMarginPainter != null)						fPrintMarginPainter.setMarginRulerColumn(getPreferenceStore().getInt(PRINT_MARGIN_COLUMN));					return;				}								if (PROBLEM_INDICATION.equals(p)) {					if (isProblemIndicationEnabled())						startProblemIndication();					else						stopProblemIndication();					return;				}								if (PROBLEM_INDICATION_COLOR.equals(p)) {					if (fProblemPainter != null)						fProblemPainter.setHighlightColor(getColor(PROBLEM_INDICATION_COLOR));					return;				}								if (OVERVIEW_RULER.equals(p))  {					if (isOverviewRulerVisible())						showOverviewRuler();					else						hideOverviewRuler();					return;				}								IContentAssistant c= asv.getContentAssistant();				if (c instanceof ContentAssistant)					ContentAssistPreference.changeConfiguration((ContentAssistant) c, getPreferenceStore(), event);			}						} finally {			super.handlePreferenceStoreChanged(event);		}	}