Bug #12564 2007-11-28 15:41

wobien

insert class methods inserts wrong methods

Strange behavior of Insert All class methods without implementation

It behaves fine if I realy want to insert all new methods of my class.

If I want to leave out some for the time being I uncheck the methods I don't want.

However, if I uncheck for instance 2 methods it dosn't leave out the 2 methods I unchecked, but the 2 last methods in the box.

I am using build 4639 and Windows XP

Reproduction of error:

start new console project

add 2 new files: test.h and test.cpp and add to project.

in test.h type:

#ifndef TEST_H_INCLUDED

#define TEST_H_INCLUDED

class test

{

void method1();

void method2();

void method3();

void method4();

void method5();

void method6();

}

#endif // TEST_H_INCLUDED

In test.cpp type:

#include "test.h"

right click and choose: Insert / All class members without implementation

In dialbox are all 6 methods, all checked.

Uncheck method 2 and method 4, click OK

method6 ...method3 are implemented

wobien

Category
Plugin::CodeCompletion
Group
 
Status
Closed
Close date
2007-11-28 19:17
Assigned to
biplab
biplab 2007-11-28 19:17

This bug is now fixed in HEAD.

Thank you for reporting it.