"Rename Local Variable" don't work with multibyte comments

Discussion about CodeLite development process and patches
NilC
CodeLite Enthusiast
Posts: 34
Joined: Fri Sep 14, 2012 1:01 pm
Genuine User: Yes
IDE Question: C++
Contact:

"Rename Local Variable" don't work with multibyte comments

Post by NilC »

Simple example

Code: Select all

#include <stdio.h>

int main(int argc, char **argv)
{
	//Я
	int y = 22;
	printf("%d\n", y);
	return 0;
}
"Я" - 2 bytes UTF8 char in russian language. If we trying rename "y" - we got message "No matches were found". Error simce to be somewhere in cppscanner. Sometimes its using UTF8Length of string, sometimes per-bytes length.
NilC
CodeLite Enthusiast
Posts: 34
Joined: Fri Sep 14, 2012 1:01 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: "Rename Local Variable" don't work with multibyte commen

Post by NilC »

Fast and dirty fix
You do not have the required permissions to view the files attached to this post.
Post Reply