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
 [1837] Snippet Editor does not save empty entries
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Luke1410
Senior Member

32 Posts

Posted - Jan 13 2011 :  11:55:37 AM  Show Profile  Reply with Quote
To reproduce the issue:
1. Open VAX' snippet editor (VAssistX -> Tools -> Edit VA Snippets...)
2. select an entry (for instance C++ -> SuggestionsForType bool)
3. remove all lines in the editbox (in case of SuggestionsForType bool: remove the two lines true and false so that the editbox now only shows one single empty line).

4. Click on Apply and OK
5. Reopen VAX' snippet editor and navigate to the entry u just removed.

Actual result:
The box shows the entries u just removed in the step before.

Expected result:
The box shows an empty entry.

[edit] A workaround would be to add an empty line rather than deleting the entry. However, this then creates (unwanted) empty lines, if used for instance in the CreateFromUsage Method body.

Edited by - Luke1410 on Jan 13 2011 12:01:45 PM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 13 2011 :  7:46:55 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description and the rationale. I have put in an improvement request for this:

case=54124
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jan 13 2011 :  9:15:59 PM  Show Profile  Reply with Quote
quote:
Originally posted by Luke1410
A workaround would be to add an empty line rather than deleting the entry. However, this then creates (unwanted) empty lines, if used for instance in the CreateFromUsage Method body.



Interesting. Still a workaround, but another one is to make the body a space or tab.
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