Indentation is by four spaces at a time. There should be **no tab characters anywhere** in Rosegarden source code. The indentation should look the same regardless of whether you read it in an IDE, in a terminal window with "​cat"​ or "​vi",​ in Emacs, or quoted in an email. It **must not** depend on having the right settings for tab-to-space conversion in your IDE when you read it. (Emacs and vim users will note that we already start every source file with a meta-comment that sets up the right indentation mode in these editors.)

+

Indentation is by four spaces ​(0x20) ​at a time. There should be **no tab characters ​(0x09) ​anywhere** in Rosegarden source code. The indentation should look the same regardless of whether you read it in an IDE, in a terminal window with "​cat"​ or "​vi",​ in Emacs, or quoted in an email. It **must not** depend on having the right settings for tab-to-space conversion in your IDE when you read it. (Emacs and vim users will note that we already start every source file with a meta-comment that sets up the right indentation mode in these editors.)

+

//NOTE: As of revision 13,509, Rosegarden has 8,691 tab characters in 287 files. ​ Rosegarden 10.02 had 9,598 tab characters in 262 files. ​ The good news is fewer tabs overall, but the bad news is 25 new files have tabs that never had tabs before. ​ New developers are ignoring this rule, apparently.//​