https://bugs.kde.org/show_bug.cgi?id=370715
--- Comment #13 from Janek Bevendorff <jbev_kdebugs...@refining-linux.org> --- I downloaded a KDE Neon ISO to test this in KWrite and make sure it's reproducible on other systems. I can indeed reproduce both issues: C++/boost inserting {; instead of {} and C unindenting the line. BTW C indenter also indents incorrectly in if statements when you want the brace to be in its own line. When I have this code class X { private: void foo() { if (true) | } }; and press enter, I get class X { private: void foo() { if (true) | } }; which is okay. But when I type an opening brace, I get class X { private: void foo() { if (true) {|} } }; This can't even be corrected by pressing Ctrl+Z. The unindentation for the method foo() can be corrected this way, but when I press Ctrl+Z here, I end up with class X { private: void foo() { if (true) {|} } }; When I have the opening braces on the same line as the method or if condition header, indentation works as expected. -- You are receiving this mail because: You are watching all bug changes.