Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 A suggestion to VAOutline

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
jzq740176597 Posted - Dec 27 2012 : 06:02:16 AM
VAOutline is so wonderful feature.I use it so frequently;

But the Node-level is sometimes unconsistent and really confuse me.

e.g.
They are the some #ifndef-#endif block,But the first #ifndef-#endif is the some level but the second gif show the #endif is sub-level of #ifndef.
(1)


(2)



I think is should be consistent and fullly reflect the code-level in source file.

Regards




3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Dec 28 2012 : 11:22:48 PM
Thank you for the file, the closing } at the end of the file is the trigger for this bug with the #endif. I have put in a bug report for this:

case=71463

VA Outline is showing you a tree view overview of the file. Remember this is also designed to help you drag and drop items to reorder the file. So showing the #ifdef and the #else at the same level makes sense, since they are both possible targets for drag and drop. The end of the block is shown by this node not having any more children in the tree.
jzq740176597 Posted - Dec 27 2012 : 7:10:42 PM


(1)
quote:
How often do you see the #endif at the same level as the #ifndef line?

Te file is a h file.only the top-level #ifndef -#endif is at the same level.



the other is not.

(2)
But especially when the #ifdef-#else-#endif block appear.

like:


I found #ifdef with #else at the same level,in the nature point view,I tend to find the #endif to enclosing the whole block.But on the contrary,#endif is sub-level included in #else clause .I think it may not intuitive for us.

The h file have been sent.
Regards;
feline Posted - Dec 27 2012 : 3:46:10 PM
How often do you see the #endif at the same level as the #ifndef line? At a guess, something is confusing VA Outline when this happens. Are you seeing problems with Alt-M in this file?

Can you post a code sample that shows this problem, or send me a sample file that does this for me to study? If so please submit the files via the form:

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

including this thread ID or URL in the description, so we can match it up.

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