Bug 107333 - C Code Formater: Wrong indention when using return in methodname
Summary: C Code Formater: Wrong indention when using return in methodname
Status: RESOLVED DUPLICATE of bug 69106
Alias: None
Product: kdevelop
Classification: Applications
Component: Astyle (show other bugs)
Version: 3.2.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-13 15:30 UTC by Emmeran Seehuber
Modified: 2006-10-15 07:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***