Page 1 of 1
Rename Symbol bug
Posted: Wed Apr 25, 2012 4:45 pm
by frank_frl
Hi Eran,
when I use the 'Rename Symbol' feature CL is selecting all symbols to change with an offset of -1. See attached image.
RenameBug.png
CL v4.0.5472 Windows7 64bit
Regards
Frank
Re: Rename Symbol bug
Posted: Thu Apr 26, 2012 12:16 pm
by eranif
Hi Frank,
This is probably due to wrong file encoding detection when parsing the file.
Can you please prepare a sample workspace that reproduce this problem? (You will probably need to create file with some non-english characters)
My guess is that fader.h contains some non ASCII characters in the comments which cause this bug
Eran
Re: Rename Symbol bug
Posted: Thu Apr 26, 2012 12:48 pm
by frank_frl
eranif wrote:My guess is that fader.h contains some non ASCII characters in the comments which cause this bug
Your guess was 100% right! I had the German word 'Büro' , what means office in English, in the copyright comment. File encoding is set to UTF-8.
So just adding this word to a comment should be enough to reproduce it.
Frank
Re: Rename Symbol bug
Posted: Thu Apr 26, 2012 1:31 pm
by eranif
This should be fixed in latest trunk
There was an extra conversion in the way, removing it fixed the problem
Eran