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
 insert comment boxes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

slymz
Junior Member

USA
18 Posts

Posted - Jan 23 2011 :  9:09:02 PM  Show Profile  Reply with Quote
Hi!

Is there a way in VA for inserting comment boxes, such as:


//  +-----------------+
//  |     TITLE       |
//  +-----------------+


Obviously, one can define a simple snippet of the likes:


//  +-----------------+
//  | $end$ |
//  +-----------------+


I could live with this.. Yet, this isn't ideal in that the box width is fixed, TITLE is not centered, and right frame (|) isn't positioned correctly. What would be awesome is to have VA snippet or something that, e.g. on selection of the following:


// title


turns it into the boxed version above.

Cheers!

slymz






feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jan 24 2011 :  11:17:28 AM  Show Profile  Reply with Quote
It is most unlikely that VA is ever going to try and do this. However it should be quite easy to write an IDE macro to do this. This macro should give you some idea's, since it also takes several lines in the editor, and inserts text at the start and end of each line:

http://support.wholetomato.com?W445

zen is the art of being at one with the two'ness
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