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
 Cursor Positioning
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

David Drake
New Member

2 Posts

Posted - Jan 12 2008 :  8:24:34 PM  Show Profile  Reply with Quote
Hello,
I have a problem with some of my snippets i used to have working in older versions of VA.
I would have something like this:

LOG("Message: %s, %s, L%d -> -?\\n", __FILE__, __FUNCTION__, __LINE__);

bound to typing "msg" for example.
And it expanded correctly and positioned the cursor automatically in the comment on the position designated by -? so i can type some specific for the message text there or add more parameters to the default message.
Now it seems that nothing that is inside a comment is parsed at all and i can't find a way to position the cursor wherever i want.
Hope you can help with this.
Thank you in advance.

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Jan 14 2008 :  08:07:53 AM  Show Profile  Reply with Quote
Change it to read:

LOG("Message: %s, %s, L%d -> $end$\\n", __FILE__, __FUNCTION__, __LINE__);

newer versions of VA added some specific tokens, wrapped in $ at each end, to snippets (autotext):

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

zen is the art of being at one with the two'ness
Go to Top of Page

David Drake
New Member

2 Posts

Posted - Jan 14 2008 :  5:41:19 PM  Show Profile  Reply with Quote
That works!
Thank you very much for the help :)
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