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

List:       kdevelop-bugs
Subject:    [Bug 91906] New: source formatter inserts unexpected linefeed
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2004-10-22 14:44:42
Message-ID: 20041022164440.91906.rutger () artibit ! com
[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=91906        
           Summary: source formatter inserts unexpected linefeed
           Product: kdevelop
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: rutger artibit com


Version:           3.1.0 (using KDE KDE 3.3.0)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, \
                pie-8.7.6)
OS:                Linux

When I use the option "Reformat source", an expected indentation occurs. 
I am using the "Kernighan & Ritchie" style of C++ reformatting.

The following input case

ublas::vector<Type> one_vector( K.size1() );
atlas::set( 1.0, one_vector );

will become after formatting:

ublas::vector<Type> one_vector( K.size1() );
atlas::set
   ( 1.0, one_vector );

The expected behaviour is that the atlas::set remains on the same line. 
It is reproducable at all times. After experimenting I noticed that "set(a,b)" gets \
an additional line feed as well.


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

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