Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Exception with Chinese characters
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

qtsleng
New Member

China
3 Posts

Posted - Mar 29 2009 :  10:19:52 AM  Show Profile  Reply with Quote
The auto-complete feature will make mistakes when Chinese characters exist in the code line.

eg.

GetObj("a string contains Chinese characters")->fun();

When -> is typed, the member list can be shown. But the completion will make a wrong action when a member is selected.

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Mar 30 2009 :  11:07:53 AM  Show Profile  Reply with Quote
I do not understand, what do you mean by a wrong action?

Is the wrong item inserted into the code?
Is there some other problem?

zen is the art of being at one with the two'ness
Go to Top of Page

qtsleng
New Member

China
3 Posts

Posted - Mar 31 2009 :  10:18:43 AM  Show Profile  Reply with Quote
Let's see the case below.
class myclass
{
public:
myclass* fun(char* str, int a) { return this;}
};

int _tmain(int argc, _TCHAR* argv[])
{
myclass *p;
p->fun("he", argc);
p->fun("+?+?-?+?", arargc
return 0;
}

When I type "arg", a list pops up and I can see the variable argc in the list. Then I press tab to select argc. But it shows "arargc" with repeated characters. This won't happen if there's no Chinese characters in the line.

I also find another problem:
As the program above. If I write like this:
/* "+?+?-?+?" */ p->
The member list does not pop up.

My environment:
VA 10.5.1711
Visual Studio 2003 English Edition + Windows XP Chinese Edition.

Edited by - qtsleng on Apr 01 2009 12:43:30 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Apr 03 2009 :  12:47:11 PM  Show Profile  Reply with Quote
So far I cannot reproduce this problem. This is what I am seeing with VS2005 and VA 1715:



do you still see the problem if you upgrade to VA 1721:

http://www.wholetomato.com/downloads/default.asp

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000