Bug 115189 - The word "set" breaks KDevelop's Code Formatting
Summary: The word "set" breaks KDevelop's Code Formatting
Status: RESOLVED DUPLICATE of bug 89543
Alias: None
Product: kdevelop
Classification: Applications
Component: Astyle (other bugs)
Version First Reported In: 3.2.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-27 12:54 UTC by Tassilo Horn
Modified: 2005-10-28 13:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tassilo Horn 2005-10-27 12:54:04 UTC
Version:           3.2.3 (using KDE 3.4.3, Gentoo)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.13-ckpp4

Here an example snipped of my code:

    case CustomGxlValueType_PR_set:
        for ( int i = 0; i < value->set->list.count; i++ )
        {
            writeValue( value->set->list.array[i] );
        }
        break;

When I click "Reformat Source" I get:

    case CustomGxlValueType_PR_set:
        for ( int i = 0; i < value->set
                ->list.count; i++ )
        {
            writeValue( value->set
                        ->list.array[i] );
        }
        break;

There's always an '\n' after value's member "set". I tried all predefined formatting styles, all with the same result. 

If I rename value's member "set" to "xset" or "Set" formatting works as expected.
Comment 1 Jens Dagerbo 2005-10-28 13:42:02 UTC
Dupe


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