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
 Question on VA Snippets
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mr11
New Member

9 Posts

Posted - Nov 01 2011 :  11:44:18 AM  Show Profile  Reply with Quote
I created a VA snippet for inserting a comment above a code change and in it I have $Comment=ChangeMe$. This gives a dialog where I can type in my comment but I have 2 questions:
1. How can I make the input field multi-line?
2. Is there a way to modify the snippet so that it will not extend the text passed a certain number of characters on the line? I don't want to have to reformat my comments after I insert them.

Thanks in advance.

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Nov 01 2011 :  2:43:57 PM  Show Profile  Reply with Quote
A multi line edit control in a VA Snippet is an interesting idea. Out of interest, why do you want to type such a long comment here, rather than into the editor directly? If you type the comment into the editor you can use VA spell checking feature, and also trigger listboxes as and when required.

We are considering adding a feature to word wrap comments, but currently VA does not do this:

case=3866

For now, if you turn on the Column Indicator this will help you know when your comments have reached, or passed, a given column:

http://www.wholetomato.com/products/features/column.asp

And you can also set VA to auto extend multi line comments:

http://www.wholetomato.com/products/features/autoExtendComments.asp

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