@Override
public IAutoEditStrategy[] getAutoEditStrategies(final ISourceViewer sourceViewer,
final String contentType) {
if (contentType.equals(IDocument.DEFAULT_CONTENT_TYPE)) {
return new IAutoEditStrategy[] { new AutoIndentStrategy(editor) };
}
return NO_AUTOEDIT;
}