https://bugs.kde.org/show_bug.cgi?id=370715

--- Comment #7 from Janek Bevendorff <jbev_kdebugs...@refining-linux.org> ---
Actually, what I said is not quite correct. Not the enter key unindents the
braces, but the completion of the closing brace. As soon as I type "{", the
line gets unindented:

class Foo
{
public:
    void foo()
    |
};

entering "{" leads to

class Foo
{
public:
    void foo()
 {|}
};

and then enter behaves correctly, but the line is already unindented:

class Foo
{
public:
    void foo()
 {
    |
}
};

If the braces are already there and I just hit enter, they stay in place:

class Foo
{
public:
    void foo()
     {|}
};

now enter results in the desired

class Foo
{
public:
    void foo()
     {
         |
    }
};

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to