[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 115189] New: The word "set" breaks KDevelop's Code Formatting
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2005-10-27 10:54:04
Message-ID: 20051027125403.115189.thorn () fastmail ! fm
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=115189         
           Summary: The word "set" breaks KDevelop's Code Formatting
           Product: kdevelop
           Version: 3.2.3
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: thorn fastmail fm


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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic