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
 BUG: Snippets
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Sres
New Member

5 Posts

Posted - Feb 25 2011 :  05:21:06 AM  Show Profile  Reply with Quote
Hi,

Found a bug, when using a VA Snippet within C#.

Create a snippet with //h as the shortcut

Then paste the following

/*
* ==============================================================================================================================
*
* Application : $end$
*
* Module .... : .cs
* Author .... :
* Purpose ... :
*
* ==============================================================================================================================
*
*/

Open VS2010 Ultimate and create a new .cs file. On line #2, type //h and press enter. The content will be placed correctly.

Delete the content and then on line #1 type //h and press enter. The content is placed but the initial //'s are not removed from the VA Snippet macro.

Regards,

Paul

There are 10 types of people, those who understand binary and those who don't

feline
Whole Tomato Software

United Kingdom
18957 Posts

Posted - Feb 25 2011 :  2:07:10 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=55563

As you have probably found, triggering this on line 2 of the file stops the problem from happening, so I would suggest this as a work around for now.

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

support
Whole Tomato Software

5566 Posts

Posted - Jul 20 2011 :  02:08:08 AM  Show Profile  Reply with Quote
case=55563 is fixed in build 1854

Whole Tomato Software, Inc.
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