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
 VA X 1208: the line before...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Dec 18 2003 :  8:07:10 PM  Show Profile
Not sure if its a bug or feature...
VA X always shows the definition of the context where the caret is located, right?
So when I am somewhere in a function, in a scope but not on a symbol, it shows the context like:
functionname.if.do.{.if

and in the definition field I can see the definition of the context:
if(something < x) {
which would be the definition of the if for the context.

Now, when you have for example a comment line in front of the current context, like here:
if(something < x)
//here is some comment
{

then you will see only the comment line instead of the if(). But if there is nothing related in front, you see only the bracket.

Funny detail: when you place the caret right after the curly bracket, the comment is shown with the curly bracket appended, move away and the comment is without it.
  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