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
 Incorrect Context while cursor is in comments
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Baga
Tomato Guru

122 Posts

Posted - Apr 15 2005 :  1:11:47 PM  Show Profile
When my cursor is in comments, "Context" is often incorrect. Behavior is different depending on actual text. Looks like VA tries to parse commented out text as if it is code. I was not able to figure out the pattern. Most of the time "Context" just becomes blank, sometimes it shows active file name.

When I do coding, it doesn't bother me a bit, but when i look through somebody's code, it is annoying - to figure out what function i am in, i have to move cursor outside of comments.

VA_X.dll file version 10.1.1299.0
Licensed to:
VA X:
VA 6.0: xxx
VAOpsWin.dll version 1.2.0.4
MSDev.exe version 6.0.8168.2
Devshl.dll version 6.0.8798.0
Devedit.pkg version 6.0.8447.0
Font: Bitstream Vera Sans Mono 11(Pixels)
Comctl32.dll version 5.82.2900.2180
WindowsNT 5.1 Build 2600 Service Pack 2
2 processors

Platform: Win32 (x86)
Stable Includes:
C:\\Program Files\\Microsoft SDK\\include;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;

Library Includes:
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\SRC;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\CRT\\SRC;

Other Includes:

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Apr 15 2005 :  2:52:45 PM  Show Profile
i can get the blank context field quite easily:

case=563

placing the caret at the start of a word (so there is a space to the left of the caret) fixes the context and definition fields. not ideal but this could help.

do you have an example of a comment that confused the context field? so far i have not found one.

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

Baga
Tomato Guru

122 Posts

Posted - Apr 19 2005 :  11:07:03 AM  Show Profile
Thanks for the workaround! If i find example, i'll send it. It's random and doesn't happen often.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Apr 19 2005 :  2:29:44 PM  Show Profile
Just so everyone is clear, our Context and Definition field should NOT describe commented symbols since such symbols no longer have context -- they mght as well be prose.

The blank Content and Definition when on a symbol inside a comment is by design. We don't want to confuse people by suggesting a commented symbol does have a context.

We changed the case so it is a feature request. You want to see the current scope when anywhere inside a comment.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Apr 19 2005 :  4:25:00 PM  Show Profile
that makes sense.

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

Baga
Tomato Guru

122 Posts

Posted - Apr 19 2005 :  9:17:51 PM  Show Profile
You are right - i want to see the scope, regardless of what's commented out
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000