Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 2.1.0
-
None
-
d68e9e1a4d6b7b72a9ab0cfcfbbd3901e32594c0
Description
After the recent commit 5cd6ebfd (C++: Only reindent on electric characters if indent wasn't user-changed). The code indentation when you write the code in ansi style is wrong.
Consider this simple code:
if(foo)
{
}
With the current version, when I type this code I will get:
if(foo)
{
}
The issue seems to be that the line is not indented any more when '{' is pressed.