Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Question on VA Snippets

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
Mr11 Posted - Nov 01 2011 : 11:44:18 AM
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.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Nov 01 2011 : 2:43:57 PM
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

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