Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 cursor placement error in vs2010

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
zxf8692 Posted - Oct 04 2011 : 06:13:53 AM
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:


7   L A T E S T    R E P L I E S    (Newest First)
support Posted - Dec 16 2011 : 2:16:34 PM
This is case=61871; fixed in build 1862
accord Posted - Oct 06 2011 : 7:07:34 PM
I got you settings thank you. I have replied by e-mail.
zxf8692 Posted - Oct 05 2011 : 9:43:23 PM
I've sent it. hope your answer.
accord Posted - Oct 05 2011 : 8:33:25 PM
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.
zxf8692 Posted - Oct 05 2011 : 07:46:38 AM
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.
zxf8692 Posted - Oct 04 2011 : 10:30:31 PM
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:







accord Posted - Oct 04 2011 : 6:37:58 PM
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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000