Automatic detection of indentation settings. Plugin for KTextEditor.