Parentheses or brackets confuse the indenting engine.
Each time I type an opening parenthesis, the
indentation of the next line is one level deeper. Even
if the parenthesis is in a comment! So, if I type
// aaaa (
, and press enter, the next line will be like
// aaaa (
// bbb
, until a closing parenthesis is found. Same for brackets.
If I use the auto-indentation (ctrl + I by default),
the comment
// aaa (
// bbb
// ) ddd
will become
// aaa (
// bbb
// ) ddd
, which is very stupid (my comments are also very
stupid, and not following coding standards, but that is
not important here :) ).
If I remember correctly, 4.2 was even worse, the next
line was indented to begin exacly below the
parenthesis... brrr. This is a bit better, but still
needs some work.
Logged In: YES
user_id=1483238
Originator: NO
Fixed in r9524 (Patch #1711827).