T O P I C R E V I E W |
David Drake |
Posted - Jan 12 2008 : 8:24:34 PM 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.
|
2 L A T E S T R E P L I E S (Newest First) |
David Drake |
Posted - Jan 14 2008 : 5:41:19 PM That works! Thank you very much for the help :) |
feline |
Posted - Jan 14 2008 : 08:07:53 AM 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 |
|
|