Page 1 of 1

Broken code refactoring

Posted: Tue Apr 28, 2009 11:33 am
by marfi
Hi, It seems a code refactoring (symbols' renaming) is broken (at least) in SVN 2823. During renaming of code symbols wrong text parts are replaced with new text as can be seen from an attached screenshot. Observed on Ubuntu 9.04, CL SVN 2823.

Regards
Michal

Re: Broken code refactoring

Posted: Tue Apr 28, 2009 12:45 pm
by eranif
The code refactoring is not broken, the find and replace *is*

Your code probably contains some non-ascii characters which breaks the find and selection - try to avoid them in your code.
This is an old and known issue with the code refactoring.

Also, I suspect that if you'd use the 'find in files' you will see the same problem.

EDIT: Btw, it would be great if you could provide me a sample workspace/project/file for reproduction
Eran

Re: Broken code refactoring

Posted: Tue Apr 28, 2009 2:27 pm
by marfi
I tried to use "Find in files" dialog and everything forks fine there. You can see my workspace/project files in an attachment and a full source code (including premake and bakefiles build scripts) of the project can be obtained from here: https://wxsf.svn.sourceforge.net/svnroot/wxsf/trunk

Thank you for the effort!

Regards
Michal

Re: Broken code refactoring

Posted: Tue Apr 28, 2009 2:44 pm
by eranif
marfi wrote:I tried to use "Find in files" dialog and everything forks fine there.
Thats a good news, since it means I have something to compare with.

Eran