Version: git master (using KDE 4.6.1) OS: Linux Go to settings, select "Source Formatter"->C++->"Custom Script Formatter"->anything. Open a file with code int main(void) { int i; } select the code, open right-click menu and select "Reformat source". The code is deleted instead of being reformatted. Reproducible: Always
yeah, seems to be completely broken - the preview also only shows empty text...
Git commit fb77c2121434cb4024d250e881a04a56c7148d5e by Dmitry Risenberg. Committed on 05/04/2011 at 00:06. Pushed by risenberg into branch 'master'. Recognize predefined styles in indent plugin. BUG: 269726 M +37 -14 formatters/indent/indent_plugin.cpp M +1 -0 formatters/indent/indent_plugin.h http://commits.kde.org/kdevelop/fb77c2121434cb4024d250e881a04a56c7148d5e