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
 cursor placement error in vs2010
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

zxf8692
New Member

6 Posts

Posted - Oct 04 2011 :  06:13:53 AM  Show Profile  Reply with Quote
OS : WINDOWS XP SP3
IDE : VS 2010 SP1
VAX : 10.6.1856

Occur Condition:
there is one line // or /**/ comment with english and chinese characters.

just like this :

1 int main(int argc, char** argv) {
2 int numA = 10;
3 int numB = 20;
4
5 /*//numA = numA + numB +?+?+?+?+?+?-+++*/
6 numA = numA +numB;
7 }

when I place cursor upon numA or numB in line 2&3, the tooltips are right.
but when I place cursor upon numB in line 6, the tooltip give me the numA's definition.

this bug gaves me a lot of problem , so I have to use vs2008.

eg:


accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Oct 04 2011 :  6:37:58 PM  Show Profile  Reply with Quote
I wasn't able to reproduce this using Windows XP, VS2010 and VA1859:



Do you have ticked the following checkbox in Windows XP control panel?

Regional and Language Options -> Languages -> Install files for East Asian languages

What languages do you have selected in Regional Options tab?

Do you have the following VA options checked?

VA Options -> Display -> Enable automatic Quick Info ToolTips

Does it make any difference if you disable VA temporarily?

VAssistX -> Enabled/Disabled Visual Assist X
Go to Top of Page

zxf8692
New Member

6 Posts

Posted - Oct 04 2011 :  10:30:31 PM  Show Profile  Reply with Quote
The right tooltips should be "int numB = 20", not "int numB".

I select Chinese in Regional Options tab. My Main Language is Chinese.

Tomorow I don't open the VS intellisense. Now I have opened it and installed vax 1859, it seems no difference.

Now:
Place cursor right the numB.


Place cursor upon numB.


I do know how to pick the rectangular image under the var, so I draw it to present the scene. it seems like VAX consider I select numA.

if numA is a object of class A and numB is a object of class B.
Place cursor upon numB in line 6, it where give me the class A in VA View Windows.

All my VAX options:







Go to Top of Page

zxf8692
New Member

6 Posts

Posted - Oct 05 2011 :  07:46:38 AM  Show Profile  Reply with Quote
When I close the VS Intellisense, the problem is still in there.

May be you should increase the number of Chinese/Multi-Bytes character to reproduce this bug, 4...8...16, the more the bug is more clear.

My OS and VS are both Chinese Language version.

I hope you and you team can find and figure out this problem soon.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Oct 05 2011 :  8:33:25 PM  Show Profile  Reply with Quote
I've done some more tests. I managed to reproduce the "int numA = 10" format here. It seems you have disabled default intellisense, so you get standard Visual Assist style tooltip. Also switched everything to Chinese, but so far I wasn't able to reproduce the problem.



Which font and font size are you using for the editor font? It may make a difference.

Can you please export your Visual Studio settings and send them in, so I can import them here to see if it helps reproducing the problem.

Tools -> Import and Export settings...

You can use the following form to send the file:

http://www.wholetomato.com/support/contact.asp

Please paste the URL of this topic to the description field so we can match it up.
Go to Top of Page

zxf8692
New Member

6 Posts

Posted - Oct 05 2011 :  9:43:23 PM  Show Profile  Reply with Quote
I've sent it. hope your answer.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Oct 06 2011 :  7:07:34 PM  Show Profile  Reply with Quote
I got you settings thank you. I have replied by e-mail.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Dec 16 2011 :  2:16:34 PM  Show Profile  Reply with Quote
This is case=61871; fixed in build 1862
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