Bug 107333

Summary: C Code Formater: Wrong indention when using return in methodname
Product: [Applications] kdevelop Reporter: Emmeran Seehuber <rototor>
Component: AstyleAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 3.2.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Emmeran Seehuber 2005-06-13 15:30:04 UTC
Version:           3.2.1 (using KDE 3.4.1, Kubuntu Package 4:3.4.1-0ubuntu0hoary1 ())
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2)
OS:                Linux (i686) release 2.6.10

Just take this Sourcecode:

---

class TestClass
{
        void method1()
        {}
        void method2()
        {}
        void returnMethod3()
        {}
        void returnMethod4()
        {}
}
---

Paste this into an empty CPP file, press SHIFT-STRG-F to format the source file and watch the (funny?) indention. Changing returnMethod  into doReturnMethod fixes this problem.
Comment 1 Matt Rogers 2006-10-15 07:03:49 UTC

*** This bug has been marked as a duplicate of 69106 ***