protected void installTabsToSpacesConverter() {
SourceViewerConfiguration config = getSourceViewerConfiguration();
ISourceViewer sourceViewer = getSourceViewer();
if (config != null && sourceViewer instanceof ITextViewerExtension7) {
((ITextViewerExtension7) sourceViewer)
.setTabsToSpacesConverter(new TabAutoEditStrategy());
updateIndentPrefixes();
}
}