Author Topic: Auto-indentation problem with class access specifiers  (Read 965 times)

Nullu

  • Guest
Auto-indentation problem with class access specifiers
« on: January 18, 2015, 05:32:45 pm »
I have searched everywhere for the answer to this, and it's driving me absolutely crazy.

Code::Blocks very own wiki states:

Quote
In class declarations, the keywords public:, protected:, and private: should be indented. The same goes for all the class members.

This is the style I happen to follow with my own coding. Yet when I type an access specifier in my class in the editor, such as
Code: [Select]
public:, then hit enter, it automatically removes the indentation. I have no idea why it's doing this, or why Code::Blocks doesn't even conform to its own formatting standards, but if anyone can help me fix this, it would be much appreciated.

Using version 12:11, 32-bit on Windows 7.
« Last Edit: January 18, 2015, 05:34:27 pm by Nullu »