Bug#2341: "Delete Method" command unaware of coding style

Petur Runolfsson peturr at rhi.hi.is
Thu Nov 25 19:13:54 UTC 1999

Package: kdevelop
Version: 1.0beta4.1
Severity: normal

Bugreport ID : 12:06,25.11.99

Originator	: Pétur Runólfsson
E-Mail		: peturr at hi.is

Subject : "Delete Method" command unaware of coding style

Error Class	: software bug
Error Location	: class tree
Priority	: medium
Bug Description ---------------------------

The "Delete Method" command from the popup menu in class tree
does not correctly handle coding style such as the following



namely, it does not remove the first line (the return type).

How to repeat the error -------------------

Write a class and a member function thereof with the return type
above the name of the function as in



Due to another bug in the "Delete Method" command it is then 
neccessary to close the source file with the function and reopen it.
Right click on the functions name in class tree and select
"Delete Method". KDevelop will comment out the function except
the line with the return type.

Bugfix or Workaround ----------------------

System Information ------------------------

KDevelop version	: 1.0beta4.1
KDE version		: 1.1.2
QT version		: 1.44
OS/Distribution		: Linux (kernel 2.2.5)/RedHat 6.0
Compiler		: egcs-2.91.66

misc :

More information about the KDevelop-devel mailing list